# NetIntel Sitemap Parser

> NetIntel Sitemap Parser is a paid API for AI agents from netintel-production-440c.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Fetches and parses an XML sitemap (or auto-discovers one from a domain), returning all listed URLs with metadata and a quality grade for the sitemap itself.

## Facts

- Endpoint: GET https://netintel-production-440c.up.railway.app/sitemap-parser/fetch
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-sitemap-parser-612c6609
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pVFFo662AHinP1D5NV-OX

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 netintel-sitemap-parser-612c6609
```

Example prompt: Can you fetch and parse the sitemap for https://example.com/sitemap.xml, return up to 200 URLs with their priority and last-modified dates, and give me a quality grade for the sitemap?

## When to prefer this

Use this endpoint when you need to programmatically discover all pages on a website, audit sitemap quality for SEO purposes, or extract structured URL metadata (priority, change frequency, last modified) from a sitemap. It auto-discovers sitemaps from a bare domain, handles sitemap index files with child sitemaps, and provides a quality grade — making it better than a raw HTTP fetch when you also want structured analysis and scoring.

## Known failure modes

- Invalid or unreachable sitemap URL returns an error
- Domain with no discoverable sitemap returns not-found error
- Malformed XML sitemap may return parse error
- limit parameter out of range (not 1-1000) returns validation error
- Payment failure (insufficient USDC balance) returns 402 status
- Request timeout if sitemap server is slow to respond

## How this service works

Network intelligence API — 138 endpoints, all pay-per-call via x402 micropayments (USDC on Base or Solana mainnet).

NetIntel is agent fair-trade aligned: transparent per-call pricing in USDC on Base or Solana via x402, no API keys or signup, and automatic no-charge on server errors, upstream failures, and input-validation rejections — failed calls are never billed across NetIntel's network, domain, and data-intelligence endpoints.

## Output

Returns a JSON object containing: an array of up to 1000 URLs each with url, priority, last_modified, and change_frequency fields; a letter grade (e.g. 'B') and numeric score (0-100) rating the sitemap quality; stats about the sitemap such as whether it has lastmod/priority/changefreq, average priority, and date range; the source URL resolved; total URL count; how many child sitemaps were fetched; and the sitemap type (urlset or sitemapindex).

## 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": "Sitemap URL or domain name to parse (e.g. https://example.com/sitemap.xml or example.com)"
      },
      "limit": {
       "type": "integer",
       "description": "Maximum number of URLs to return (1-1000, default 100)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "urls": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "grade": {
       "type": "string"
      },
      "score": {
       "type": "number"
      },
      "stats": {
       "type": "object"
      },
      "findings": {
       "type": "array"
      },
      "source_url": {
       "type": [
        "string",
        "null"
       ],
       "description": "null when no sitemap was found/parseable (graceful 200 with grade F)"
      },
      "total_urls": {
       "type": "number"
      },
      "sitemap_type": {
       "type": [
        "string",
        "null"
       ]
      },
      "urls_returned": {
       "type": "number"
      },
      "child_sitemaps_fetched": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "urls": [
   {
    "url": "https://www.sitemaps.org/protocol.html",
    "priority": 0.8,
    "last_modified": "2024-03-01T00:00:00Z",
    "change_frequency": "weekly"
   }
  ],
  "grade": "B",
  "score": 88,
  "stats": {
   "has_lastmod": true,
   "avg_priority": 0.6,
   "has_priority": true,
   "has_changefreq": true,
   "newest_url_date": "2024-03-10T00:00:00Z",
   "oldest_url_date": "2020-01-01T00:00:00Z"
  },
  "findings": [],
  "source_url": "https://www.sitemaps.org/sitemap.xml",
  "total_urls": 847,
  "sitemap_type": "urlset",
  "urls_returned": 100,
  "child_sitemaps_fetched": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-sitemap-parser-612c6609/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel-production-440c.up.railway.app](https://www.zero.xyz/host/netintel-production-440c.up.railway.app/llms.txt)
