# SiteCheck Sitemap URLs

> SiteCheck Sitemap URLs is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Fetches and parses all URLs from a website's XML sitemap(s), with optional filtering by date, path prefix, and count limit

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/sitemap?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-sitemap-urls-2c4e8b66
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kClYM9lVAO4VCJApkK0dA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sitecheck-sitemap-urls-2c4e8b66
```

Example prompt: Pull all the URLs from stripe.com's sitemap, but only ones under the /docs/ path and updated since 2024-01-01 — limit it to 500 results.

## When to prefer this

Use this endpoint when you need to programmatically discover all pages a website has made available in its XML sitemap, especially when you want to filter by recency (lastmod) or path prefix. Prefer this over generic web scraping when you need a structured, complete index of a site's published URLs rather than crawling pages. It is ideal for SEO analysis, content audits, competitor research, and building link lists for further processing.

## Known failure modes

- Site has no sitemap.xml and no sitemap reference in robots.txt — returns empty or error
- Domain is unreachable or returns non-200 status — request fails
- Sitemap is malformed XML — parsing may partially fail or return fewer results
- URL limit too low — results truncated with truncated:true flag
- since date filter eliminates all results — returns empty URL array
- Path prefix doesn't match any URLs — returns empty array

## How this service works

Pay-per-call tools for AI agents: image generation, speech-to-text, text-to-speech, embeddings, LLM chat, website audits and contact enrichment, web page to Markdown reader, PDF to text, sitemap URLs, tech stack detection, translation, exchange rates, e-mail pre-check, domain RDAP/DNS lookup, Solana token checks, trending tokens and wallet holdings, plus business and compliance data (EU VAT/VIES, IBAN, LEI/GLEIF, US recalls, OSHA/EPA violations, UK insolvency notices). Plus prediction-market search, briefs, quotes and unsigned buy transactions, powered by Panta. Payment: x402, USDC on Base, Solana or Arc. No signup, no API key.

## Output

Returns a JSON object containing the target site URL, an array of discovered page URLs each with optional lastmod dates, the number of URLs returned, the list of sitemap files read, total URL count, a truncated flag indicating whether the limit was hit, and counts of child sitemaps skipped.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Site URL or domain"
      },
      "limit": {
       "type": "string",
       "description": "Max URLs, 1-10000, default 1000"
      },
      "since": {
       "type": "string",
       "description": "YYYY-MM-DD: only URLs with lastmod on or after it"
      },
      "pathPrefix": {
       "type": "string",
       "description": "Only URLs whose path starts with this, e.g. /blog/"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "site": "https://www.x402.org",
  "urls": [
   {
    "url": "https://www.x402.org/writing/x402-v2-launch",
    "lastmod": "2026-09-30"
   },
   {
    "url": "https://www.x402.org/",
    "lastmod": null
   }
  ],
  "returned": 2,
  "sitemaps": [
   "https://www.x402.org/sitemap.xml"
  ],
  "totalUrls": 2,
  "truncated": false,
  "sitemapsRead": 1,
  "childSitemapsSkipped": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-sitemap-urls-2c4e8b66/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
