Endpoint
Authentication
This endpoint requires authentication using a Bearer token. Include your API key in the Authorization header:Request Body
array
required
The URLs to extract data from. URLs should be in glob format.
string
Prompt to guide the extraction process
object
Schema to define the structure of the extracted data. Must conform to JSON Schema.
boolean
default:false
When true, the extraction will use web search to find additional data
boolean
default:false
When true, sitemap.xml files will be ignored during website scanning
boolean
default:true
When true, subdomains of the provided URLs will also be scanned
boolean
default:false
When true, the sources used to extract the data will be included in the response as
sources keyobject
Additional scraping options to apply. See the scrape endpoint for available options.
boolean
default:false
If invalid URLs are specified in the urls array, they will be ignored. Instead of them failing the entire request, an extract using the remaining valid URLs will be performed, and the invalid URLs will be returned in the invalidURLs field of the response.
Response
boolean
Indicates whether the extract job was successfully started
string
The unique identifier of the extract job. Use this to check the status.
array
If ignoreInvalidURLs is true, this is an array containing the invalid URLs that were specified in the request. If there were no invalid URLs, this will be an empty array. If ignoreInvalidURLs is false, this field will be undefined.
Examples
Error Responses
object
Invalid Request - Invalid input data.
object
Server Error - An unexpected error occurred on the server.