Extract
JSON
Fetches a URL and extracts structured data according to a provided JSON schema
post/extract/json
Request body
Example request
{
"effort": "standard",
"geo_target": {
"country": "US"
},
"json_schema": {
"properties": {
"stories": {
"items": {
"properties": {
"author": {
"description": "Author username",
"type": "string"
},
"points": {
"description": "Story points",
"type": "number"
},
"title": {
"description": "Story title",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"url": "https://news.ycombinator.com"
}Response
OK
V1ExtractJSONResponse required