Prepare your key
Create or select an API key in your dashboard. Store it in your environment:Start an extraction
Handle either response
HTTP200 returns status: "completed" and media in data. HTTP 202 returns a jobId, statusUrl and resultUrl. The following queued response is illustrative:
Retry-After when returned. Stop on completed, failed or expired, or when your local deadline is reached. A local timeout does not cancel the job. Do not submit another charged extraction just to check progress.
Once the status is completed, fetch the result:
data.media, counts from data.counts and limitations from data.warnings. Retrieving the same owned job result does not charge another media credit. See runnable examples for bounded Node, Python and Go clients.