# Aayat AI Library Documentation Finder

> Aayat AI Library Documentation Finder is a paid API for AI agents from aayatai.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Finds llms.txt and llms-full.txt documentation files for a given software library or package, returning URLs, summaries, and metadata

## Facts

- Endpoint: GET https://aayatai.com/docs/find?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-library-documentation-finder-c9e31126
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XzLEG_fOURzbA8Rpzu_Ms

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 aayat-ai-library-documentation-finder-c9e31126
```

Example prompt: Can you find the llms.txt documentation for the hono npm package so I can reference it while coding?

## When to prefer this

Use this endpoint when an AI coding agent needs to find machine-readable documentation (llms.txt / llms-full.txt) for a specific software library or package. Prefer this over general web search when you need structured, AI-optimized documentation with metadata like version, homepage, and repository links, and when you want to avoid scraping unstructured HTML docs. Ideal for coding agents that need to quickly locate the canonical documentation entry point for npm, PyPI, crates.io, or Go module packages.

## Known failure modes

- Library not found in specified ecosystem — empty found array returned
- No llms.txt or llms-full.txt present on the library's homepage — checked array shows what was tried
- Invalid ecosystem value — schema validation error
- Payment not received or insufficient USDC — 402 response before data is returned
- Domain resolution failure for the library's homepage — no documents found

## How this service works

Find the AI-ready docs for any library or API: checks the project's docs site (from its npm, PyPI, crates or Go metadata) or any company domain (docs., developers., /docs) for llms.txt and llms-full.txt files, with titles, sizes and page counts, plus homepage and repository. ?library=hono or ?site=stripe.com

## Output

Returns a JSON object with a list of found documentation files (URL, kind like llms.txt or llms-full.txt, byte size, link count, title, summary), the resolved package version, homepage, repository URL, a list of all addresses checked, and the timestamp of the check. May include a tip for more targeted doc retrieval.

## 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",
     "properties": {
      "site": {
       "type": "string",
       "maxLength": 253,
       "description": "Or: a company/API domain, e.g. stripe.com or https://docs.stripe.com."
      },
      "library": {
       "type": "string",
       "maxLength": 214,
       "description": "Package name (with ecosystem), e.g. hono, fastapi."
      },
      "ecosystem": {
       "enum": [
        "npm",
        "pypi",
        "crates",
        "go"
       ],
       "type": "string",
       "default": "npm",
       "description": "Package ecosystem: npm, pypi, crates (Rust) or go (Go modules)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "query",
      "found",
      "checked"
     ],
     "properties": {
      "tip": {
       "type": "string"
      },
      "found": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "type": "string"
         },
         "kind": {
          "type": "string"
         },
         "bytes": {
          "type": [
           "integer",
           "null"
          ]
         },
         "links": {
          "type": [
           "integer",
           "null"
          ]
         },
         "title": {
          "type": [
           "string",
           "null"
          ]
         },
         "summary": {
          "type": [
           "string",
           "null"
          ]
         }
        }
       }
      },
      "query": {
       "type": "object"
      },
      "trust": {
       "type": "object",
       "description": "Third-party text, cleaned: read trust.notice; removed = what we stripped."
      },
      "checked": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Every address tried."
      },
      "version": {
       "type": [
        "string",
        "null"
       ]
      },
      "home
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tip": "Use /docs/lib?library=hono&topic=... for trimmed, topic-specific docs.",
  "found": [
   {
    "url": "https://hono.dev/llms.txt",
    "kind": "llms.txt",
    "bytes": 5715,
    "links": 98,
    "title": "Hono",
    "summary": "Hono is a small, simple, and ultrafast web framework..."
   },
   {
    "url": "https://hono.dev/llms-full.txt",
    "kind": "llms-full.txt",
    "bytes": 372697,
    "links": null,
    "title": null,
    "summary": null
   }
  ],
  "query": {
   "library": "hono",
   "ecosystem": "npm"
  },
  "checked": [
   "https://hono.dev/llms.txt",
   "https://hono.dev/llms-full.txt"
  ],
  "version": "4.13.9",
  "homepage": "https://hono.dev",
  "checkedAt": "2026-09-28T12:00:00.000Z",
  "repository": "https://github.com/honojs/hono"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-library-documentation-finder-c9e31126/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aayatai.com](https://www.zero.xyz/host/aayatai.com/llms.txt)
