# 402utils LLMs.txt Fetcher & Parser

> 402utils LLMs.txt Fetcher & Parser is a paid API for AI agents from 402utils.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Fetches and parses a site's /llms.txt file (the LLM-era robots.txt), returning its title, summary, and structured section links, plus probing for /llms-full.txt.

## Facts

- Endpoint: GET https://402utils.com/v1/llms-txt?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/402utils-llms-txt-fetcher-parser-9c764402
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p_992yk20_oAncnhtP5ev

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 402utils-llms-txt-fetcher-parser-9c764402
```

Example prompt: Can you check if anthropic.com has an llms.txt file and show me its title, summary, and all the section links it contains?

## When to prefer this

Use this endpoint when you need to programmatically discover how a website declares its AI/LLM guidance — equivalent to reading robots.txt but for LLMs. Prefer it over manual fetching because it handles origin resolution, SSRF safety, structured parsing of sections and links, and probing for the full version in a single call.

## Known failure modes

- Target URL is not a valid public http/https URI — validation error
- SSRF check blocks private/internal IP ranges or localhost
- Target site is unreachable — status returned as 0
- Site has no /llms.txt — returns {found: false} with HTTP 200
- Malformed or non-standard llms.txt — partial parse with available fields

## How this service works

Fetch and parse a site's llms.txt (llmstxt.org) — the LLM-era robots.txt. Give any page URL; it resolves the origin's /llms.txt, and returns the H1 title, the blockquote summary, and every section's links ([title](url): notes). Also probes /llms-full.txt and reports its size. A site without one returns {found:false} (a 200, still useful). The fetch is SSRF-checked. Bonus signal in /v1/site-profile.

## Output

A JSON object with: whether /llms.txt was found (found: bool), the resolved llms.txt URL, the HTTP status of the fetch, the H1 title, the blockquote summary, an array of sections each with a name and list of links (title, url, optional notes), total link count, and a fullVersion object indicating if /llms-full.txt exists and its size in bytes. Returns {found: false} with HTTP 200 if no llms.txt is present.

## 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",
       "format": "uri",
       "description": "Any public http(s) URL on the target site (required)."
      }
     },
     "description": "Query string only."
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "url",
      "found",
      "llmsTxtUrl",
      "status"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "The requested URL."
      },
      "found": {
       "type": "boolean",
       "description": "Whether a valid /llms.txt was found."
      },
      "title": {
       "type": [
        "string",
        "null"
       ],
       "description": "The H1 project title."
      },
      "status": {
       "type": "integer",
       "description": "HTTP status of the /llms.txt fetch (0 = unreachable)."
      },
      "summary": {
       "type": [
        "string",
        "null"
       ],
       "description": "The blockquote summary, when present."
      },
      "sections": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "name",
         "links"
        ],
        "properties": {
         "name": {
          "type": "string"
         },
         "links": {
          "type": "array",
          "items": {
           "type": "object",
           "required": [
            "title",
            "url"
           ],
           "properties": {
            "url": {
             "type": "string"
            },
            "notes": {
             "type": "string"
            },
            "title": {
             "type": "string"
            }
           }
          }
         }
        }
       },
       "description": "Parsed sections; each has a name and a list of links."
      },
      "linkCount": {
       "type": "integer",
       "description": "Total links across al
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/402utils-llms-txt-fetcher-parser-9c764402/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402utils.com](https://www.zero.xyz/host/402utils.com/llms.txt)
