{"id":"c06a6567-cdb7-4171-966e-22fad9e5eb45","url":"https://api.agentstools.dev/docs/snippet?ecosystem=npm&name=axios&topic=request","method":"GET","fingerprint":"3bd4dad44a40a13faa7884cf01fb99024b17e08987adf2d1b3b1ed47dba15db7","name":"docs-snippet","description":null,"category":"other","docs_url":null,"advertised_price_usd":"0.008000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","scheme":"exact","networks":["eip155:8453"],"pay_to":"0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493","input_schema":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["name","ecosystem"],"properties":{"name":{"type":"string","description":"Package name; for github pass owner/repo such as coinbase/x402. npm scoped names @scope/name are allowed."},"topic":{"type":"string","description":"Optional topic or symbol; matched against the README/llms.txt markdown headings, such as authentication or useEffect."},"symbol":{"type":"string","description":"Optional symbol name to match, an alias for topic."},"version":{"type":"string","description":"Optional exact version to pin, such as 2.31.0; default is latest."},"ecosystem":{"enum":["npm","pypi","crates","github"],"type":"string","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_schema":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}},"schema_completeness":0,"status":"live","first_seen_at":"2026-08-23 21:51:47.397762+00","last_seen_at":"2026-08-23 21:51:46.348+00","last_success_at":"2026-09-14 16:34:43.747+00","dead_since":null,"probe_backoff_tier":0,"next_probe_at":"2026-09-14 16:39:43.747+00","search_tsv":"'doc':2 'docs-snippet':1 'snippet':3","catalog_number":"6610","x402_version":2,"resource_url":"https://api.agentstools.dev/docs/snippet","resource_description":"Working code snippets for a library, matched to a topic. Give an ecosystem, package name and a topic or symbol and get the fenced code blocks from the README or docs whose language, code or nearest heading matches, each with a source citation and an honest truncated flag. Ideal for grounding a coding agent in real usage examples.","bazaar_extension":{"info":{"input":{"type":"http","method":"GET","queryParams":{"name":"axios","topic":"request","ecosystem":"npm"}},"output":{"type":"json","example":{"count":2,"found":true,"topic":"request","capped":true,"identity":{"name":"axios","ecosystem":"npm","resolved_version":"1.7.9"},"snippets":[{"code":"const res = await axios.get('/user?ID=12345')","heading":"Example","language":"js","truncated":false,"provenance":{"source":"npm","version":"1.7.9","source_url":"https://www.npmjs.com/package/axios"}}],"attribution":["npm public registry (registry.npmjs.org)."]}}},"schema":{"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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["name","ecosystem"],"properties":{"name":{"type":"string","description":"Package name; for github pass owner/repo such as coinbase/x402. npm scoped names @scope/name are allowed."},"topic":{"type":"string","description":"Optional topic or symbol; matched against the README/llms.txt markdown headings, such as authentication or useEffect."},"symbol":{"type":"string","description":"Optional symbol name to match, an alias for topic."},"version":{"type":"string","description":"Optional exact version to pin, such as 2.31.0; default is latest."},"ecosystem":{"enum":["npm","pypi","crates","github"],"type":"string","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"}}}}}},"accepted_requirements":[{"raw":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493","amount":"8000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300},"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493","scheme":"exact","network":"eip155:8453","amountAtomic":"8000"}],"bazaar_compatible":true,"bazaar_validated_at":"2026-09-14 16:34:43.747+00","bazaar_validation_error":null,"window":"24h","probes_n":17,"handshake_uptime":1,"settle_success_rate":0,"valid_result_rate":null,"latency_p50":715,"latency_p90":3365,"price_drift_pct":0,"score":0.7079,"computed_at":"2026-09-14 16:35:19.081+00","source_metadata":[{"raw":{"url":"https://api.agentstools.dev/docs/snippet?ecosystem=npm&name=axios&topic=request","name":"docs-snippet","method":"GET","source":"bazaar:api.cdp.coinbase.com","fingerprint":"3bd4dad44a40a13faa7884cf01fb99024b17e08987adf2d1b3b1ed47dba15db7","advertisedPriceUsd":0.008},"source_id":1,"external_id":null}],"live_endpoint_metadata":{"x402_version":2,"resource_url":"https://api.agentstools.dev/docs/snippet","resource_description":"Working code snippets for a library, matched to a topic. Give an ecosystem, package name and a topic or symbol and get the fenced code blocks from the README or docs whose language, code or nearest heading matches, each with a source citation and an honest truncated flag. Ideal for grounding a coding agent in real usage examples.","bazaar_extension":{"info":{"input":{"type":"http","method":"GET","queryParams":{"name":"axios","topic":"request","ecosystem":"npm"}},"output":{"type":"json","example":{"count":2,"found":true,"topic":"request","capped":true,"identity":{"name":"axios","ecosystem":"npm","resolved_version":"1.7.9"},"snippets":[{"code":"const res = await axios.get('/user?ID=12345')","heading":"Example","language":"js","truncated":false,"provenance":{"source":"npm","version":"1.7.9","source_url":"https://www.npmjs.com/package/axios"}}],"attribution":["npm public registry (registry.npmjs.org)."]}}},"schema":{"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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["name","ecosystem"],"properties":{"name":{"type":"string","description":"Package name; for github pass owner/repo such as coinbase/x402. npm scoped names @scope/name are allowed."},"topic":{"type":"string","description":"Optional topic or symbol; matched against the README/llms.txt markdown headings, such as authentication or useEffect."},"symbol":{"type":"string","description":"Optional symbol name to match, an alias for topic."},"version":{"type":"string","description":"Optional exact version to pin, such as 2.31.0; default is latest."},"ecosystem":{"enum":["npm","pypi","crates","github"],"type":"string","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"}}}}}},"accepted_requirements":[{"raw":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493","amount":"8000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300},"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493","scheme":"exact","network":"eip155:8453","amountAtomic":"8000"}],"bazaar_compatible":true,"bazaar_validated_at":"2026-09-14 16:34:43.747+00","bazaar_validation_error":null},"sonar_metrics":{"score":0.7079,"uptime":1,"paid_success_rate":0,"valid_result_rate":null,"latency_p50":715,"latency_p90":3365,"price_drift_pct":0},"cdp_indexed":false,"confidence":"medium"}