{"uid":"cap_bgmql_OkaUgmcqq_eMkj4","slug":"saylor-innovations-library-docs-npm-zod-e0bbd527","name":"Saylor Innovations Library Docs — npm zod","description":"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.","url":"https://saylorinnovations.com/api/docs/npm/zod?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bc0sX1E3N4VLNeXvRbwnP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches documentation content for the npm package 'zod', including table of contents, version, and full content","exampleAgentPrompt":"Can you pull up the full documentation for the zod npm package, including the table of contents and current version?","exampleUseCases":[{"title":"Looking up Zod schema validation API","prompt":"I'm building a TypeScript project and need the full docs for the zod npm package — can you fetch the documentation including the table of contents so I can see what validators are available?"},{"title":"Checking Zod package version in npm","prompt":"What's the current version of the zod npm package? Pull up its documentation so I can see the version info."},{"title":"Researching Zod for code review","prompt":"I'm reviewing a codebase that uses zod for validation — can you fetch the zod npm library docs so I can understand what methods and schemas the team might be using?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:39:20.937Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-library-docs-npm-zod-e0bbd527"}