{"uid":"cap_-E6GkQKZ6wTS5o4u9TWWu","slug":"x402helper-xyz-package-documentation-lookup-dda25726","name":"x402helper.xyz Package Documentation Lookup","description":"X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.","url":"https://x402helper.xyz/89e509/docs/library?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"],"type":"string"},"queryParams":{"type":"object","required":["name","ecosystem"],"properties":{"name":{"type":"string","default":null,"description":"Package name; for github pass owner/repo such as coinbase/x402. npm scoped names @scope/name are allowed."},"topic":{"type":"string","default":null,"description":"Optional topic or symbol; matched against the README/llms.txt markdown headings, such as authentication or useEffect."},"version":{"type":"string","default":null,"description":"Optional exact version to pin, such as 2.31.0; default is latest."},"ecosystem":{"enum":["npm","pypi","crates","github"],"type":"string","default":null,"description":"Package ecosystem. Aliases accepted: pip and python map to pypi; cargo and rust map to crates; node maps to npm; gh maps to github."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.013","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.013/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.013","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.013","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9_GZrFBSXvH_ezc1rXw9u","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.013","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches documentation and README content for npm, PyPI, crates.io, or GitHub packages via a micropayment-gated API","exampleAgentPrompt":"Can you look up the latest documentation for the coinbase/x402 GitHub package, specifically the authentication section?","exampleUseCases":[{"title":"Fetch npm package docs for agent","prompt":"Pull up the latest docs for the 'axios' npm package — I need to understand its API methods."},{"title":"GitHub repo README lookup","prompt":"Get me the README for coinbase/x402 on GitHub, focusing on the authentication heading."},{"title":"Pinned version PyPI docs","prompt":"Fetch the documentation for the 'requests' Python package version 2.31.0 from PyPI."}],"resultDescription":"Returns a JSON object with a success flag and a result containing the package documentation content, README markdown, or relevant section matched by topic heading for the specified package, ecosystem, and optional version.","failureModes":["Package not found in the specified ecosystem — returns error or empty result","Invalid ecosystem value provided — schema validation error","Missing required fields (name or ecosystem) — request rejected","Payment failure or USDC balance insufficient — 402 response before content is served","Requested version does not exist for the package — returns error","Topic heading not found in README — may return empty or full document"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically retrieve up-to-date package documentation from npm, PyPI, crates.io, or GitHub without scraping, and when you need to pin to a specific version or extract a particular topic section from the docs. Prefer this over general web search when you need structured, reliable doc retrieval gated by a tiny USDC micropayment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:21.083Z","isFirstParty":false,"canonicalSlug":"x402helper-xyz-package-documentation-lookup-dda25726"}