Extract structured data from pages using LLMs
/extract
endpoint allows you to:
/extract
endpoint provides flexible data extraction with customizable schemas. Results can be improved through prompt tuning. It is currently in beta and we welcome your feedback.
/*
to the URL to extract information from the entire website path rather than just a single page.
For example, https://firecrawl.dev/*
will attempt to extract data from all pages on the firecrawl.dev domain. The /*
is still in under testing so please let us know if you have any issues by emailing help@firecrawl.com.
/extract/ID
endpoint to check the status of an extract job.
completed
: The extract job has finished successfully.processing
: The extract job is still in progress.failed
: The extract job encountered an error and did not complete.cancelled
: The extract job was cancelled by the user.prompt
to the endpoint. The LLM chooses the structure of the data.
enableWebSearch
parameter to the endpoint. This will allow it to attempt to find the data from external links - outside the scope of the provided URLs.
/extract
is in beta, we are charging 5 credits per URL scraped used to form the final response. This is to prevent abuse. This will be changed in the future.