Endpoints
| Endpoint | Method | Description |
|---|---|---|
/v1/extract/ | POST | Extract structured data from any website using AI-powered extraction with custom JSON schemas. |
Data Extraction Endpoint
POST /v1/extract/
Extract specific information from any web page and receive it in a structured JSON format that matches your requirements.
Request Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
link | String | Yes | The URL of the website to extract data from |
prompt | String | Yes | Instructions describing what data to extract |
json_schema | Array | No | The structure defining your desired output format. If not provided, returns plain text |
delay | Integer | No | Delay in seconds before extraction (useful for dynamic content). Default: 0 |
| Field | Type | Description |
|---|---|---|
response | Array or String | Extracted data matching your JSON schema (array) or plain text (string) if no schema provided |
success | Boolean | Indicates whether the extraction was successful |
200 OK- Request successful400 Bad Request- Invalid parameters or malformed JSON schema401 Unauthorized- Invalid or missing API key404 Not Found- URL not accessible