Map links on a page
Scrape a web page and return all discovered links, with optional filtering by substring search or regex pattern. Costs 1 credit.
Scrape a web page and return all discovered links, with optional filtering by substring search or regex pattern. Costs 1 credit.
Authorization
bearerAuth Secret API key (sr_ prefix). Pass as Authorization: Bearer sr_...
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.parsew.com/v1/map" \ -H "Content-Type: application/json" \ -d '{ "url": "https://example.com" }'{
"links": [
"string"
]
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}Extract structured data POST
Scrape a web page and extract structured data using an LLM. Define a JSON Schema for the output shape and provide a natural-language prompt. Costs 5 credits.
Scrape a URL POST
Scrape a web page and return its content as Markdown, raw HTML, and extracted links. Handles anti-bot bypass and JavaScript rendering automatically. Costs 1 credit.