Extract
Extract structured data from URLs
Pull schema-shaped JSON out of one or many pages in a single call. An LLM maps each page onto your schema and/or prompt. Point at a single page, a list, or a crawl scope with a trailing /* wildcard; optionally let web search find extra source pages, return per-field confidence with the source passage behind each value, and merge everything into one deduplicated collection of entities. Charged per page that returns data.
post/v1/web/extract
Request
- Base URL: https://api.hydrafetch.com
- URL: https://api.hydrafetch.com/v1/web/extract
- Auth: API key in header X-API-Key
Request body
Example request
{
"urls": [
"https://example.com/products/widget",
"https://example.com/products/*"
],
"prompt": "Pull the product name, price in USD, and whether it is in stock.",
"location": {
"country": "us",
"languages": [
"en-US",
"en"
]
},
"headers": {
"Cookie": "store_id=1234"
}
}Response
The extracted data.
Example response
{
"data": {
"results": [
{
"url": "https://example.com/products/widget"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.