Crawl structured extraction
POST/crawl/extract
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "scrapfly",
"path": "/crawl/extract",
"method": "POST",
"body": {
"prompt": "",
"schema": {
"type": "",
"properties": {
"products": {
"type": "",
"items": {
"type": ""
}
}
}
},
"crawl_ids": [
""
],
"search": {
"limit":
}
}
}'
{
"success": true,
"data": {
"data": { … },
"prompt": "List the product names.",
"search": { … },
"sources": [ 1 item ],
"truncated": false,
"sources_used": [],
"sources_dropped": 0
}
}
A real response, recorded when Orthogonal checked this endpoint.
Free
Calls cost nothing.
About this endpoint
The same retrieval as /crawl/prompt with a structured answer: supply a JSON Schema and get back an object that conforms to it.
Body parameters
promptrequiredstringWhat to extract. Also drives retrieval.schemarequiredobjectJSON Schema for the result.crawl_idsrequiredarrayIdentical to /crawl/prompt.searchobjectIdentical to /crawl/prompt.More from Scrapfly
- Crawl cancelPOST/crawl/{crawler_uuid}/cancelFree
- Crawl searchGET/crawl/{crawler_uuid}/search$0.000164 per callFixed
- Web scrape headers onlyHEAD/scrapeUp to $0.1635 per callResponse-based
- Crawl archive downloadGET/crawl/{crawler_uuid}/artifactFree
- Web scrape OPTIONS requestOPTIONS/scrapeUp to $0.1635 per callResponse-based
- Crawled page contentGET/crawl/{crawler_uuid}/contentsFree
- Website crawlPOST/crawlFrom $0.000164 per callRequest-based · up to $5.7225
- Crawl statusGET/crawl/{crawler_uuid}/statusFree
- Multi-crawl searchPOST/crawl/search$0.000164 per callFixed
- Crawled URL listGET/crawl/{crawler_uuid}/urlsFree
- Multi-crawl question answeringPOST/crawl/prompt$0.000491 per callFixed
- Web scrape with POST bodyPOST/scrapeUp to $0.1635 per callResponse-based
Similar endpoints
- Search1API · Structured data extractionPOST/extract$0.0109 per callFixed
- ScrapeGraphAI · Extract Structured JSONPOST/api/extractFrom $0.025 per callRequest-based
- Context.dev · Extract Structured Website DataPOST/web/extract$0.03 per callFixed
- ZenRows · Page fetchGET/Up to $0.00046 per callResponse-based
- Notte · Scrape WebpagePOST/scrape$0.01 per callFixed
- Litescrape · Web page fetchGET/api/web/fetch$0.000164 per callFixed