Crawl structured extraction

POST/crawl/extract

Listed by OrthogonalPublished by ScrapflyPublisher docs
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

More from Scrapfly

  1. Crawl cancelPOST/crawl/{crawler_uuid}/cancelFree
  2. Crawl searchGET/crawl/{crawler_uuid}/search$0.000164 per callFixed
  3. Web scrape headers onlyHEAD/scrapeUp to $0.1635 per callResponse-based
  4. Crawl archive downloadGET/crawl/{crawler_uuid}/artifactFree
  5. Web scrape OPTIONS requestOPTIONS/scrapeUp to $0.1635 per callResponse-based
  6. Crawled page contentGET/crawl/{crawler_uuid}/contentsFree
  7. Website crawlPOST/crawlFrom $0.000164 per callRequest-based · up to $5.7225
  8. Crawl statusGET/crawl/{crawler_uuid}/statusFree
  9. Multi-crawl searchPOST/crawl/search$0.000164 per callFixed
  10. Crawled URL listGET/crawl/{crawler_uuid}/urlsFree
  11. Multi-crawl question answeringPOST/crawl/prompt$0.000491 per callFixed
  12. Web scrape with POST bodyPOST/scrapeUp to $0.1635 per callResponse-based
All 20 Scrapfly endpoints

Similar endpoints

  1. Search1API · Structured data extractionPOST/extract$0.0109 per callFixed
  2. ScrapeGraphAI · Extract Structured JSONPOST/api/extractFrom $0.025 per callRequest-based
  3. Context.dev · Extract Structured Website DataPOST/web/extract$0.03 per callFixed
  4. ZenRows · Page fetchGET/Up to $0.00046 per callResponse-based
  5. Notte · Scrape WebpagePOST/scrape$0.01 per callFixed
  6. Litescrape · Web page fetchGET/api/web/fetch$0.000164 per callFixed