# Saylor Innovations Library Docs — npm zod

> Saylor Innovations Library Docs — npm zod 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).

Fetches documentation content for the npm package 'zod', including table of contents, version, and full content

## Facts

- Endpoint: GET https://saylorinnovations.com/api/docs/npm/zod?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-npm-zod-e0bbd527
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bgmql_OkaUgmcqq_eMkj4

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-npm-zod-e0bbd527
```

Example prompt: Can you pull up the full documentation for the zod npm package, including the table of contents and current version?

## When to prefer this

Use this endpoint when you specifically need documentation content for the npm 'zod' package, including structured table of contents and version metadata. Prefer this over a generic web search when you need clean, structured docs in JSON format suitable for programmatic consumption by an agent. This endpoint is purpose-built for the zod npm package specifically, not general npm documentation lookups.

## Known failure modes

- Package not found: 'found' returns false with no content
- Network or upstream timeout returning empty or error response
- Malformed or incomplete documentation content if upstream source is unavailable
- API returns 402 if payment header is missing or invalid

## How this service works

Library Docs — npm zod. 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 containing the ecosystem ('npm'), the package name ('zod'), a boolean 'found' flag indicating whether documentation was found, the documentation content as a string, the package version (or null), and an array of table-of-contents entries as objects.

## 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-npm-zod-e0bbd527/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)
