# MilliAPI llms.txt Checker

> MilliAPI llms.txt Checker is a paid API for AI agents from milliapi.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Checks whether a given website publishes an llms.txt file and returns its HTTP status, byte size, and a preview snippet for agent discovery workflows.

## Facts

- Endpoint: GET https://milliapi.com/api/llms-txt-check
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/milliapi-llms-txt-checker-9fb6a253
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0f4EX_LkgWHxD0RHptJBG

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 milliapi-llms-txt-checker-9fb6a253
```

Example prompt: Can you check whether stripe.com has an llms.txt file — I want to know if it's present, how big it is, and see a preview of the content?

## When to prefer this

Use this endpoint when an agent needs to quickly determine whether a specific website participates in the llms.txt standard for AI discoverability, especially in agent orchestration pipelines that need to gate behavior based on a site's AI-readiness. Prefer this over scraping the full site or manually fetching robots.txt when the specific question is llms.txt presence and content.

## Known failure modes

- URL is not publicly accessible — returns an error or unreachable status
- Site returns a non-standard redirect that obscures llms.txt location
- llms.txt exists but is too large for preview — preview may be truncated
- Invalid or malformed URL input — request rejected with validation error
- Site blocks automated HTTP requests — may return 403 or timeout

## How this service works

Tiny machine-readable APIs that AI agents can discover, pay for with x402 USDC on Base, and use instantly. Services start at $0.001 per call.

## Output

Returns a JSON object containing the origin URL checked, and an llmsTxt object with: a boolean indicating presence, the HTTP status code (e.g. 200 or 404), the byte size of the file, and a bounded preview string (or null if absent).

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "origin": "https://example.com",
  "llmsTxt": {
   "bytes": 0,
   "status": 404,
   "present": false,
   "preview": null
  }
 }
}
```

## More

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