Skip to documentation content

Scraping API

Run validated extraction jobs through one stable endpoint.

In this guide
  1. 1Create a job
  2. 2Choose output formats
  3. 3Poll or receive a webhook
In this guide
  1. 1Create a job
  2. 2Choose output formats
  3. 3Poll or receive a webhook

Create a scraping job

POST a public URL and the desired output formats to /scrape. Synchronous waiting is useful for small jobs; asynchronous delivery is safer for production workloads.

cURL
curl -X POST https://api.nordicdevhouse.com/v1/scrape \
  -H "Authorization: Bearer ndh_live_••••••••" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/products",
    "formats": ["json"]
  }'

Job states

StateMeaning
queuedAccepted and waiting for capacity
runningFetching and validating
completedValidated output is available
failedA permanent error stopped the job

Output contract

Responses include a job ID, stable status, record count, normalized data, and timing metadata. Treat unknown fields as forward-compatible additions.

Was this page helpful?