The Extract API allows you to extract structured data from web pages. In this quickstart guide, you will find a few examples to showcase how you can extract any unstructured web data into structured formats.
How it works
1
Submit a Request
Start by submitting a POST request with the URL of the page you wish to extract data from, along with the specific query and columns you need. This will initiate the extraction process.
2
Spin Up a Remote Browser
Upon receiving your request, the API spins up a remote browser instance. This browser navigates to the URL you provided, creating a new session for your extraction task.
3
Navigate and Understand the Webpage
The remote browser navigates to the requested URL and performs an intelligent analysis of the webpage, identifying the data that matches your extraction query.
4
Extract the Information
Using the details specified in your
columns parameter as a schema, the API extracts the relevant information, structuring it according to your needs. If the columns is not defined, the agent automatically evaluates what should be the interface5
Respond with Desired Output
After the data is extracted and structured, the API responds back to your request with the desired output, which you can then use for your applications.