Can I fetch this URL? robots.txt + AI-crawler permission gate ($0.002/call)
can_fetch$0.002 per call (x402, USDC on Base; free trial: add "trial": true or use try_free). [Fetch and read the web] Pre-fetch gate for agents and scrapers: is this exact URL allowed by robots.txt (RFC 9309: missing = allow, 5xx/unreachable = disallow) for generic agents and 16 named AI agents/crawlers (ChatGPT-User, Claude-User, PerplexityBot, GPTBot, ClaudeBot, Google-Extended, CCBot...), plus Crawl-delay, Content-Signal (search / ai-input / ai-train), X-Robots-Tag noai/noindex from a HEAD request, and sitemaps. Verdict allowed / disallowed / allowed_but_no_ai_use / allowed_with_crawl_delay. Never downloads the page body. Cached up to 10 min. ~0.3-2 s.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "can_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Exact URL you plan to fetch, e.g. https://example.com/blog/post (a bare domain checks the home page) | |
| trial | No | Optional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| noai | No | ||
| page | No | ||
| path | No | ||
| tool | No | ||
| cache | No | ||
| _trial | No | Present when the call was a free trial call. | |
| agents | No | ||
| origin | No | ||
| allowed | No | ||
| summary | No | ||
| verdict | No | ||
| provider | No | ||
| sitemaps | No | ||
| price_usd | No | ||
| robots_txt | No | ||
| content_signal | No | ||
| robots_http_status | No | ||
| crawl_delay_seconds | No |