# Discover the URLs a page or sitemap points at in a single fetch. Point it at an XML sitemap or sitemap-index and it returns the <loc> URLs; point it at an HTML page and it returns the <a href> links — auto-detected. URLs are resolved to absolute, de-duplicated, fragment-stripped, and http(s)-only. `limit` (1-2000, default 200) caps the count; `sameHostOnly` keeps only links on the same host. Single SSRF-guarded fetch, no JavaScript, stateless — NOT a recursive crawler: to go deeper, call map again on a child sitemap or a discovered page. Returns { url, finalUrl, source: "sitemap"|"links", count, capped, urls }.

Verified by [Verified x402](https://verifiedx402.com).

- URL: https://2s.io/api/url/map
- Category: other
- Network: eip155:8453
- Advertised price: 0.0027
- Last checked: 2026-11-25T08:31:20.615Z
- Score: 92.0

This listing passed a recent check: the endpoint is live and the advertised price and terms match. Check before paying, then pay the API yourself.

- HTML: https://verifiedx402.com/v/eddf2ed89030436e59635cf73073b544
- Badge: https://verifiedx402.com/badge.svg?url=https%3A%2F%2F2s.io%2Fapi%2Furl%2Fmap
- Independent check: [vet402](https://vet402.com/api/v1/check?url=https%3A%2F%2F2s.io%2Fapi%2Furl%2Fmap)

```json
{
  "checkedAt": null,
  "httpStatus": null,
  "latencyMs": null,
  "priceMatches": null,
  "payToMatches": null
}
```
