Run Link Extraction on up to 600 pages in one background job, then read each page's result as soon as it is ready.

POSThttps://rankfield.dev/v1/html/link-extraction/jobs

Parameters

Headers

NameTypeRequiredDefaultDescription
AuthorizationstringYes–Bearer followed by your API key. See Authentication.
Idempotency-KeystringNo–Up to 100 letters, digits, ., _ or -. Sending the same key with the same body again returns the same job instead of a new one.

Body

NameTypeRequiredDefaultDescription
urlsstring[]Yes–1–600 page URLs, with the same rules as url on the single-page request.
viewstringNouniqueunique or occurrences. Choose occurrences to be able to read either view later.
deliverystringNostandardstandard: every page within 330 seconds. priority: within 90 seconds. See Delivery.
maxAgeintegerNo60Seconds, 0–3,600. A page fetched at most this long ago may be reused.

Delivery

The deadline is fixed per job, whatever its size: priority 90 seconds, standard 330 seconds (deadlineAt in the answer). By then every page is answered, as a result or as failed. Pages from one website are fetched at up to 5 a second, so about 400 pages of one site fit a priority job and about 1,500 a standard one; a job spread over many sites fits easily. For many pages of one site, use standard.

Response

202 with the job:

FieldTypeDescription
idstringThe job id.
statusstringqueued at first.
totalintegerHow many URLs the job holds.
deliverystringThe deadline you chose.
deadlineAtstringWhen every page should be done.
expiresAtstringWhen the job and its results are deleted: 24 hours after it was created.
statusUrlstringFollow it with Get a Link Extraction job.
resultsUrlstringRead pages with Get Link Extraction results.
replayedbooleanPresent and true when this is an earlier job returned again for the same Idempotency-Key.

Errors

StatusWhen
400urls is missing or holds an invalid URL, another field is invalid, or the Idempotency-Key is malformed.
401No valid API key.
413More than 600 URLs.
429The service is busy. Wait for Retry-After.

Limits

No per-key limits. A job holds up to 600 URLs (a single-page request is a one-URL job). When the service is busy you get 429 or 503 with Retry-After.

MCP

On the MCP server, the tool for this is start_link_extraction_job.