Jump to content

List the pages of a website

The address of every page on a website, from its sitemap and its links.

Your agent gets the addresses of the pages on a website, up to 5,000. Chab reads the sitemap the site publishes. When that is not enough, it follows the links on the home page and a few more pages. You can ask for one part of the site only, like the pages under /blog. It is fast and costs 2 credits, so your agent can use it before it reads the pages.

Paste this into your AI agent

Set up Chab for me: fetch https://www.chab.ai/agent-setup.md?v=497c0f and follow it. Then use Chab to list all pages of the Python tutorial at https://docs.python.org/3/tutorial/ and tell me how many there are.

Your agent connects Chab and then runs it. Price: 2 credits per request. The free credits cover a first try. How it works in each app

Full reference for developers
Returns
JSON result
REST endpoint
POST /v1/scrape/map
Over MCP
Call chab_operation_start with "scrape.map"

What you get

Example request

{  "url": "https://www.python.org",  "limit": 5}

Example result

{  "data": {    "result": {      "url": "https://www.python.org/",      "site": "python.org",      "path": null,      "count": 5,      "limit": 5,      "limit_reached": true,      "sources": { "sitemaps": 0, "links": 5 },      "sitemaps_read": 0,      "pages_read": 1,      "urls": [        "https://www.python.org/",        "https://www.python.org/psf/",        "https://www.python.org/jobs/",        "https://www.python.org/community/",        "https://www.python.org/community/irc/"      ]    },    "artifacts": [],    "warnings": [],    "result_expires_at": "2026-11-19T10:47:43+00:00"  },  "meta": {    "request_id": "req_123"  }}

You can also run this tool on a schedule as a monitor. Chab then keeps every result and emails you when it changes. Monitors need bought credits or a monthly plan. How monitors work

Inputs

FieldTypeDetails
urlrequiredstringThe website, or any page of it, such as https://www.python.org.Up to 2048 characters
limitintegerMost URLs to return.Default 1000. Min 1 max 5000
pathstringOnly URLs under this path, such as /blog. "*" matches any characters.Up to 200 characters
include_subdomainsbooleanAlso list URLs on subdomains, such as docs.example.com for example.com. The www. form always counts as the same site.Default false
sitemapstringinclude: sitemaps first, then the links on a few pages when the sitemaps give fewer than limit. only: sitemaps only. skip: links only.One of include, only, skip. Default "include"

How to call it

AI apps use it through hosted MCP. Coding agents can also use the CLI, and your own code can call the API. Each call starts a job, and your agent picks up the result when it is ready.

curl -X POST https://www.chab.ai/v1/scrape/map \  -H "Authorization: Bearer CHAB_API_KEY" \  -H "Content-Type: application/json" \  -H "Idempotency-Key: scrape-map-001" \  -d '{"url":"https://www.python.org","limit":5}'

List the pages of a website result

{  "data": {    "result": {      "url": "https://www.python.org/",      "site": "python.org",      "path": null,      "count": 5,      "limit": 5,      "limit_reached": true,      "sources": { "sitemaps": 0, "links": 5 },      "sitemaps_read": 0,      "pages_read": 1,      "urls": [        "https://www.python.org/",        "https://www.python.org/psf/",        "https://www.python.org/jobs/",        "https://www.python.org/community/",        "https://www.python.org/community/irc/"      ]    },    "artifacts": [],    "warnings": [],    "result_expires_at": "2026-11-19T10:47:43+00:00"  },  "meta": {    "request_id": "req_123"  }}

Price: 2 credits per request. See all prices

Want to try Chab with your agent?

Copy the prompt and paste it into your AI. Your agent starts with free credits and doesn't need an account.

See plans