# Saylor Innovations Library Docs — PyPI FastAPI

> Saylor Innovations Library Docs — PyPI FastAPI is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Retrieves documentation content for the FastAPI Python package from the PyPI ecosystem

## Facts

- Endpoint: GET https://saylorinnovations.com/api/docs/pypi/fastapi?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/saylor-innovations-library-docs-pypi-fastapi-e694c9ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-SkHvUaGYjypn4ieYtuVU

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 saylor-innovations-library-docs-pypi-fastapi-e694c9ce
```

Example prompt: Can you pull up the FastAPI library documentation from the Saylor Innovations library docs service so I can see its content and table of contents?

## When to prefer this

Choose this endpoint when you need pre-fetched, structured documentation for the FastAPI Python library specifically, without needing to scrape or parse PyPI or external documentation sites yourself. It is ideal for developer assistants, onboarding tools, or agents that need to answer questions about FastAPI usage quickly and cheaply at $0.003 per call.

## Known failure modes

- Package not found in ecosystem — 'found' returns false with empty content
- Network timeout or upstream unavailability from the docs provider
- Malformed request missing required 'type' or 'method' fields — validation error returned
- Outdated or missing version information returning null for version field

## How this service works

Library Docs — pypi fastapi — Developer Tools

## Output

Returns a JSON object containing the package name ('fastapi'), the ecosystem ('pypi'), a boolean 'found' flag indicating whether docs exist, the documentation content as a string, the package version (or null), and a table of contents array with structured entries.

## 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",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "ecosystem",
      "name",
      "found"
     ],
     "properties": {
      "toc": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "name": {
       "type": "string"
      },
      "found": {
       "type": "boolean"
      },
      "content": {
       "type": "string"
      },
      "version": {
       "type": [
        "string",
        "null"
       ]
      },
      "ecosystem": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-library-docs-pypi-fastapi-e694c9ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
