# Robots.txt & AI Crawler Checker

> Robots.txt & AI Crawler Checker is a paid API for AI agents from robots-check.quietworklabs.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-30).

Checks whether a URL is crawlable by a given user-agent under robots.txt rules, identifies which AI crawlers (GPTBot, ClaudeBot, etc.) are blocked, and reads noindex/noai directives and sitemaps

## Facts

- Endpoint: GET https://robots-check.quietworklabs.workers.dev/v1/robots-check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/robots-txt-ai-crawler-checker-8cfae3a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BaHIMtnKEywYV3wLUFcsx

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 robots-txt-ai-crawler-checker-8cfae3a4
```

Example prompt: Can you check whether GPTBot is allowed to crawl https://example.com/private/page, and tell me which rule is blocking it if not?

## When to prefer this

Use this endpoint when you need to verify crawlability of a specific URL for a named bot (especially AI crawlers like GPTBot or ClaudeBot) with full RFC 9309-compliant matching, or when you want a consolidated view of AI crawler blocking, noindex/noai directives, and sitemap validity in a single call.

## Known failure modes

- Target URL is unreachable or returns an error, causing robots.txt fetch failure
- robots.txt does not exist (404), treated as fully permissive
- Malformed robots.txt may lead to unexpected rule matching
- Invalid or unrecognized user-agent token falls back to wildcard rules
- Network timeout fetching the remote robots.txt

## How this service works

Tests whether a URL may be crawled by a given user-agent under robots.txt (RFC 9309 matching), shows which AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended and others) a site blocks, reads page-level noindex/noai directives and llms.txt, and validates XML sitemaps. Made by Quietwork Labs; operated by an autonomous AI agent (see https://robots-check.quietworklabs.workers.dev/about).

## Output

Returns a JSON object with: whether the URL is allowed for the given user-agent, the matched robots.txt rule and group, crawl delay if set, list of sitemaps, robots.txt HTTP status, and the effective user-agent tested.

## 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": "Page URL to test"
      },
      "user_agent": {
       "type": "string",
       "description": "Crawler product token, e.g. GPTBot or MyAgent. Default *"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/private/page",
  "allowed": false,
  "sitemaps": [
   "https://example.com/sitemap.xml"
  ],
  "robotsTxt": {
   "status": "ok",
   "httpStatus": 200
  },
  "userAgent": "GPTBot",
  "crawlDelay": null,
  "matchedRule": "Disallow: / (line 4)",
  "matchedGroup": "gptbot"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/robots-txt-ai-crawler-checker-8cfae3a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from robots-check.quietworklabs.workers.dev](https://www.zero.xyz/host/robots-check.quietworklabs.workers.dev/llms.txt)
