Scrape

Extract Website Data

Submit a URL to scrape. Returns a job ID — poll GET /url-scraper/{jobId} (with a delay in between) to fetch the completed markdown/JSON.

post/url-scraper

Request

  • Base URL: https://api.anakin.io/v1
  • URL: https://api.anakin.io/v1/url-scraper
  • Auth: API key in header X-API-Key

Request body

urlstring uri required

The full URL of the website to extract data from.

countrystring

Proxy country code, e.g. us, gb, de.

useBrowserboolean

Use a headless browser — best for JS-heavy sites.

generateJsonboolean

AI-extract structured JSON from the page content.

forceFreshboolean

Bypass the cache and force a fresh extraction.

sessionIdstring

Reuse an existing authenticated browser session (see Browser Sessions) instead of an anonymous request.

sessionNamestring

Human-readable name of a saved browser session — alternative to sessionId.

Example request

{
  "url": "https://example.com"
}

Response

Job accepted

jobIdstring

The job ID — pass to Get Scrape Result to poll for completion.

status'pending' | 'processing'

Changes

No recorded changes to this operation across all 1 revision of this API.