# Saylor Innovations Library Docs – serde Crate

> Saylor Innovations Library Docs – serde Crate 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 for the Rust serde crate from a hosted library docs API

## Facts

- Endpoint: GET https://saylorinnovations.com/api/docs/crates/serde?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-serde-crate-e6a856da
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6TojtWz0FfkFE8xMynbXJ

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-serde-crate-e6a856da
```

Example prompt: Can you pull up the serde crate documentation from the Saylor Innovations library docs API so I can see what it does and how to use it for serialization in Rust?

## When to prefer this

Choose this endpoint when you specifically need documentation for the Rust serde crate in a structured JSON format with a table of contents, version info, and full content — especially in agentic workflows where you want machine-readable library docs without scraping crates.io or docs.rs directly.

## Known failure modes

- Crate not found (found: false in response body)
- Network timeout or upstream service unavailability
- Invalid method or type in request body returns 400
- Payment failure via x402 protocol blocks access
- Malformed JSON response if content is unavailable

## How this service works

Library Docs — crates serde. Up-to-date library documentation for coding agents: the latest published README and metadata (version, license, install command, docs URL, repository) for any npm, PyPI, crates.io, Go module or GitHub package, split into sections with a table of contents. Ask for only what you need with ?q= (search terms) or ?section= (a heading) instead of the whole file. Unknown packages are free 404s.

## Output

Returns a JSON object with the crate name ('serde'), the ecosystem it belongs to, a boolean indicating whether the crate was found, the documentation content as a string, the current version (or null), and a table of contents array with section 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-serde-crate-e6a856da/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)
