Web

Extract schema-conforming JSON from a URL

Reads a public URL as clean Markdown, then returns data that strictly conforms to the supplied bounded JSON Schema. The response includes truncated, which is true when the page was too long and only its first part was used.

post/extract

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/extract
  • Auth: API key in header x-api-key

Headers

x-api-keystring required

API key required

Request body

instructionsstring
render'auto' | 'http' | 'browser'
schemaobject required
urlstring required

Example request

{
  "instructions": "Extract the product name and current price.",
  "render": "auto",
  "url": "https://example.com/product"
}

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.