# AIScan Generate llms.txt

> AIScan Generate llms.txt is a paid API for AI agents from api.getaiscan.app, paid per call via x402, $0.3/call, status unknown (last checked 2026-09-15).

Generates an llms.txt file for a given website to improve its AI/LLM discoverability and readiness

## Facts

- Endpoint: POST https://api.getaiscan.app/api/agent/generate_llms_txt
- Price: $0.3/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aiscan-generate-llms-txt-292f5e04
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pNsQaAOSJaW6oRbAuNAP2

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 aiscan-generate-llms-txt-292f5e04 -d '<json body>'
```

Example prompt: Can you generate an llms.txt file for https://mycompany.com so that AI agents and LLMs can properly discover and understand our website?

## When to prefer this

Use this endpoint when you need to generate an llms.txt file for a website to make it discoverable and readable by AI agents and LLMs. This is the right choice when a site owner wants to improve AI visibility, MCP readiness, or agent accessibility. Prefer this over generic SEO tools when the goal is specifically AI/LLM-era discoverability.

## Known failure modes

- Invalid or unreachable URL returns an error
- URL missing scheme (http/https) causes validation failure
- Payment of 0.3 USDC not settled results in 402 rejection
- Website blocks crawling or returns 403/404
- Timeout if site is slow to respond
- Malformed URL input causes request rejection

## How this service works

AIScan audits any website for AI visibility in 60 seconds. 4 scores: AEO, GEO, Agent Readiness, MCP Readiness. Plus Brand Visibility: how often AI actually names your brand. The only scanner with MCP Readiness.

## Output

Returns a confirmation of the capability executed, the analyzed site URL, and payment settlement info. The core output is the generated llms.txt content (the capability field) optimized for AI/LLM discoverability for the submitted website.

## Example request

```json
{
 "url": "https://example.com"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "Full URL of the website to analyze, e.g. https://example.com"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "capability"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "Analyzed site URL"
  },
  "payment": {
   "type": "object",
   "description": "Payment settlement info"
  },
  "capability": {
   "type": "string",
   "description": "Capability that was executed"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aiscan-generate-llms-txt-292f5e04/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getaiscan.app](https://www.zero.xyz/host/api.getaiscan.app/llms.txt)
