---
title: "Web Scraper API: Map | Perceptlayer"
description: "Map from Web Scraper as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/web-scraper/map
---

[APIs](https://perceptlayer.com/apis) / [Web Scraper](https://perceptlayer.com/apis/web-scraper) / Map

# Web Scraper: Map

Map from Web Scraper as JSON. 1 credit per successful call.

GET `/v1/web-scraper/map`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `url` | string | Required | Up to 2,048 characters |
| `limit` | integer | Optional | Any |
| `search` | string | Optional | Up to 200 characters |
| `include_subdomains` | boolean | Optional | Any |

## Example request

Web Scraper

GET /v1/web-scraper/map?url=https%3A%2F%2Fwww.python.org&limit=20 

```
{
  "success": true,
  "data": {
    "url": "https://www.python.org",
    "total_found": 65,
    "returned": 20,
    "truncated": true,
    "urls": [
      {
        "url": "https://www.python.org/",
        "source": "link"
      },
      {
        "url": "https://www.python.org/psf/",
        "source": "link"
      },
      {
        "url": "https://www.python.org/jobs/",
        "source": "link"
      }
    ]
  },
  "meta": {}
}
```

200 OK JSON X-Credits-Used: 1

Recorded 12 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/web-scraper?try=map#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `url` | url |
| `returned` | integer |
| `truncated` | boolean |
| `urls` | object\[\] |
