Website Sitemap & Internal URL Discovery Mapper
Discover and deduplicate public site URLs by parsing robots.txt, sitemap.xml indexes, and homepage links with SSRF protection.
curl -sG "https://api.agentapigate.ai/v1/web/site/map" \ --data-urlencode "url=https://modelcontextprotocol.io" \ --data-urlencode "limit=40" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# Website Sitemap & Internal URL Discovery Mapper (`web.site.map`) **origin**: https://modelcontextprotocol.io · **robots_found**: true · **sitemaps_checked**: 1 · **count**: 40 ## urls - [1] https://modelcontextprotocol.io/community/antitrust - [2] https://modelcontextprotocol.io/community/charter-template - [3] https://modelcontextprotocol.io/community/communication - [4] https://modelcontextprotocol.io/community/contributing - [5] https://modelcontextprotocol.io/community/contributor-ladder - [6] https://modelcontextprotocol.io/community/design-principles - [7] https://modelcontextprotocol.io/community/feature-lifecycle - [8] https://modelcontextprotocol.io/community/governance - [9] https://modelcontextprotocol.io/community/interest-groups/agents - [10] https://modelcontextprotocol.io/community/interest-groups/auth - [11] https://modelcontextprotocol.io/community/interest-groups/enterprise - [12] https://modelcontextprotocol.io/community/interest-groups/financial-services - [13] https://modelcontextprotocol.io/community/interest-groups/scientific-computing - [14] https://modelcontextprotocol.io/community/interest-groups/security - [15] https://modelcontextprotocol.io/community/interest-groups/tool-annotations
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:web.site.map · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| url | string | required | https://modelcontextprotocol.io | Target website domain or URL (e.g. "https://modelcontextprotocol.io") |
| limit | number | optional | 40 | Max deduplicated URLs returned (1-100, default 50) |
| include_subdomains | boolean | optional | false | Include subdomain URLs from the same root domain |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0020 / call | $0/mo · Balance never expires |
| Remote MCP Tool | web_site_map | OAuth 2.1 Hub & /mcp/search |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 9146 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 1574t → 335t (-79%) | Partner credit: eligible |
More web.site Sibling Endpoints
Run live Google search and concurrently extract clean LLM-ready Markdown from top ranked web pages in a single API call.
Crawl up to 10 public web pages (depth <= 2) honoring robots.txt and SSRF protections, returning clean per-page Markdown.
Frequently Asked Questions
How do I call Website Sitemap & Internal URL Discovery Mapper (web.site.map) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/web/site/map with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool web_site_map on https://mcp.agentapigate.ai/mcp.
What does web.site.map cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.002 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on web.site.map?
Passing ?format=md transforms the response into normalized Markdown (~335 tokens vs ~1574 raw tokens, saving 79% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only search endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["search"], optional allowed_endpoints: ["web.site.map"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.