# Automated /llms.txt & Agent Documentation Context Compiler

> Automated /llms.txt & Agent Documentation Context Compiler is a paid API for AI agents from serp-extract.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-21).

Crawls any documentation or SaaS website and generates a standards-compliant /llms.txt manifest plus a JSON-LD schema bundle ready for AI agent consumption

## Facts

- Endpoint: GET https://serp-extract.agentdiet.dev/v1/llms-txt?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: serp-extract.agentdiet.dev
- Website: https://serp-extract.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/serp-extract-agentdiet-dev-automated-llms-txt-agent-documentation-737524ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M5VClwKBTYTfo0F-r9DUl

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 serp-extract-agentdiet-dev-automated-llms-txt-agent-documentation-737524ba
```

Example prompt: Can you crawl https://docs.stripe.com and generate a standards-compliant /llms.txt manifest and JSON-LD schema bundle so AI agents can properly discover and consume Stripe's documentation?

## When to prefer this

Choose this endpoint when you need to make a website's documentation or SaaS content discoverable by AI agents in a standardized way, specifically producing the /llms.txt format and JSON-LD schema. It is ideal for developers who want to onboard their own or third-party documentation into agent pipelines without manually authoring manifests. Prefer it over generic web scraping endpoints when the output format must be /llms.txt-compliant and agent-consumable out of the box.

## Known failure modes

- URL is unreachable or returns non-200 status — crawl fails with an error response
- URL points to a single-page app with JS-only rendering that cannot be statically crawled
- Target site blocks crawlers via robots.txt or rate limiting, resulting in empty or partial output
- Malformed or non-string URL input returns a validation error
- Very large documentation sites may produce truncated output due to crawl depth limits

## How this service works

Crawls any documentation or SaaS site and compiles a standards-compliant /llms.txt manifest and JSON-LD schema bundle. (Live x402 v2, IETF MPP & MCP endpoint at https://serp-extract.agentdiet.dev/v1/llms-txt)

## Output

Returns a standards-compliant /llms.txt manifest and a JSON-LD schema bundle compiled from the crawled website, structured for direct consumption by AI agents and LLM-based workflows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "minLength": 1,
   "description": "Website URL to crawl and generate a ready-to-consume /llms.txt manifest for"
  },
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1,
   "description": "Maximum number of items to return per page (1-100)"
  },
  "cursor": {
   "type": "string",
   "description": "Opaque pagination cursor for fetching the next page"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/serp-extract-agentdiet-dev-automated-llms-txt-agent-documentation-737524ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from serp-extract.agentdiet.dev](https://www.zero.xyz/host/serp-extract.agentdiet.dev/llms.txt)
