{"slug":"saylorinnovations-com-api-docs-ecosystem-package-8698bd","title":"Answer a coding question from current package documentation","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/docs/:ecosystem/:package","category":"search","description":"Answer a coding question from current package documentation. Pass an npm, PyPI, crate, Go module or GitHub repository; get the latest version, license, install command and README sections, optionally narrowed by search text or heading.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1233,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","pathParams":{"ecosystem":"npm","package":"zod"},"queryParams":{"q":"safeParse"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"pathParams":{"properties":{"ecosystem":{"description":"npm | pypi | crates | go | github (path)","type":"string"},"package":{"description":"package name, Go module path or owner/repo (path)","type":"string"}},"required":["ecosystem","package"],"type":"object"},"queryParams":{"properties":{"max_chars":{"description":"optional 1000-60000, default 20000 (query)","type":"string"},"q":{"description":"optional search terms — returns only the matching README sections (query)","type":"string"},"section":{"description":"optional heading to return (query)","type":"string"}},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","pathParams"],"type":"object"},"output":{"properties":{"description":{"type":"string"},"example":{"additionalProperties":true,"properties":{"content":{"description":"Main text content","type":"string"},"content_chars":{"description":"Length of the content in characters","type":"integer"},"description":{"description":"Short description","type":"string"},"docs_url":{"description":"Link to documentation","type":"string"},"ecosystem":{"description":"Package ecosystem the record belongs to","type":"string"},"fetched_at":{"description":"Time the data was fetched from the source (UTC)","type":"string"},"found":{"description":"True when the lookup matched a record","type":"boolean"},"homepage":{"description":"Project homepage URL","type":"string"},"install":{"description":"Install command","type":"string"},"license":{"description":"License identifier","type":"string"},"matched_sections":{"description":"Sections that matched","items":{"type":"string"},"type":"array"},"mode":{"description":"Mode used","type":"string"},"name":{"description":"Name","type":"string"},"note":{"description":"Caveat or context for reading the result","type":"null"},"published":{"description":"Publication date","type":"string"},"query":{"description":"The query as the server interpreted it","type":"string"},"readme_source":{"description":"Where the README text was taken from","type":"string"},"repository":{"description":"Source repository URL","type":"string"},"toc":{"description":"Table of contents","items":{"additionalProperties":true,"properties":{"heading":{"type":["string"]},"level":{"type":["integer"]}},"type":"object"},"type":"array"},"truncated":{"description":"True when the list was cut at the limit","type":"boolean"},"types":{"description":"Types","type":"boolean"},"version":{"description":"Version identifier","type":["string","null"]}},"required":["ecosystem","name","found"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1250,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1427,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1044,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1175,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1262,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1233,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1128,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1483,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1211,"error":null},{"day":"2026-11-17","reachable":true,"status":503,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":223,"error":null},{"day":"2026-11-16","reachable":true,"status":503,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":522,"error":null},{"day":"2026-11-15","reachable":true,"status":503,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":35,"error":null},{"day":"2026-11-14","reachable":true,"status":503,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":34,"error":null},{"day":"2026-11-13","reachable":true,"status":503,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":31,"error":null},{"day":"2026-11-12","reachable":true,"status":503,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":224,"error":null},{"day":"2026-11-11","reachable":true,"status":503,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":679,"error":null},{"day":"2026-11-10","reachable":true,"status":503,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":283,"error":null},{"day":"2026-11-09","reachable":true,"status":503,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":261,"error":null},{"day":"2026-11-08","reachable":true,"status":503,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":34,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":779,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":621,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1209,"error":null},{"day":"2026-11-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":780,"error":null},{"day":"2026-11-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":748,"error":null},{"day":"2026-11-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":515,"error":null},{"day":"2026-11-01","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":651,"error":null},{"day":"2026-10-31","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":479,"error":null}],"description_full":"Answer a coding question from current package documentation. Pass an npm, PyPI, crate, Go module or GitHub repository; get the latest version, license, install command and README sections, optionally narrowed by search text or heading.","last_updated":"2026-11-07T11:07:21.083Z","schemes":["exact"]}