API · v1
Quickstart
One cURL call to your first structured row.
1. Get a sandbox key#
Send a two-field request on /samples and ask for API access. Sandbox keys return sample rows only, and never cost anything.
2. Make the call#
Every dataset exposes one query endpoint. Filters and field selection are in the body, never the URL.
curl -X POST https://api.scrapefall.com/v1/datasets/companies-house-uk/query \
-H "Authorization: Bearer $SCRAPEFALL_KEY" \
-H "Content-Type: application/json" \
-d '{"fields":["company_number","name","status"],"filters":{"status":"active"},"limit":100}'3. Read the response#
Rows plus a cursor. Pass the cursor back to page; cursors expire after 15 minutes.
{
"data": [{"company_number":"00000001","name":"…","status":"active"}],
"next_cursor": "eyJvZmZzZXQiOjEwMH0",
"meta": {"dataset":"companies-house-uk","rows_returned":100,"last_verified":"2026-11-25"}
}4. Do not hardcode the schema#
Fetch /v1/datasets/{slug} at build time. Fields are additive; a new field never breaks a client that selects explicitly.
Missing something? Ask for API access and we answer in writing within 24 hours.