---
title: "Discover URLs from robots.txt and sitemap.xml."
method: POST
path: "/v1/map"
---

# Discover URLs from robots.txt and sitemap.xml.

`POST /v1/map`

## Request body

- object
  - `url` string, uri, required
  - `limit` integer

## Response `200`

Successful response

- object
  - `urls` string[]

## Other responses

- `400` — Invalid request
- `401` — Invalid or missing API key
- `402` — Payment required or insufficient credits
- `429` — Rate limit exceeded

---

[API](https://skmtc.dev/webclaw/apis/webclaw-api.md) · [All operations](https://skmtc.dev/webclaw/apis/webclaw-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/webclaw/webclaw-api/revisions/bd14a9c72a3b/schema)
