Browser Scrape
$0.01per callbrowser.scrapeExtract specific elements using named CSS selectors
Endpoint
POST /v1/tools/browser.scrape/tasksInput
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | yes | URL to scrape |
| select | object | yes | Named selectors: {"title": "h1", "prices": ".price"} |
| wait | string | no |
Output
| Field | Type | Description |
|---|
Example
Request
{
"url": "https://example.com",
"select": {
"title": "h1",
"links": "a"
}
}Response
{
"title": "Example Domain",
"links": [
"More information..."
]
}