Parsew
API Reference

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.

POST
/map

Scrape a web page and return all discovered links, with optional filtering by substring search or regex pattern. Costs 1 credit.

Authorization

bearerAuth
AuthorizationBearer <token>

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"
}