{"uid":"cap_1FoFL0rjHo_EgE756u2Xr","slug":"scriptmasterlabs-crypto-price-api-x402-8dee7b01","name":"ScriptMasterLabs Crypto Price API (x402)","description":"Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).","url":"https://acp-x402-scriptmasterlabs.onrender.com/x402/crypto-price?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":{"type":"string"},"queryParams":{"type":"object","properties":{"vs":{"type":"string","default":"usd","example":"usd"},"ids":{"type":"string","example":"bitcoin,ethereum","description":"CoinGecko ids csv"}}}}},"output":{"properties":{"example":{}}}}},"responseSchema":{"example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tzczU3uk8FtyA73LZ5IrC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time cryptocurrency prices for one or more CoinGecko-identified coins in a specified fiat currency, paid per-call in USDC via x402.","exampleAgentPrompt":"What are the current prices of bitcoin and ethereum in USD?","exampleUseCases":[{"title":"Live portfolio valuation for DeFi dashboard","prompt":"Pull the current prices for bitcoin, ethereum, and solana in USD so I can update my portfolio tracker."},{"title":"Crypto price alert monitoring","prompt":"Check what bitcoin and ethereum are trading at right now in USD — I want to see if they've crossed my alert thresholds."},{"title":"Multi-coin price comparison for trading bot","prompt":"Get me the latest prices for bitcoin, ethereum, chainlink, and uniswap all quoted in USD at the same time."}],"resultDescription":"A JSON object mapping each requested CoinGecko coin ID to its current price in the specified fiat currency (e.g. {\"bitcoin\":{\"usd\":67000},\"ethereum\":{\"usd\":3500}}). One price entry per coin requested.","failureModes":["Invalid or misspelled CoinGecko coin ID returns no data for that coin or an error","Unsupported 'vs' currency code returns an error or empty response","Payment failure via x402 (insufficient USDC balance or network issue) results in a 402 response and no data","Rate limiting or upstream CoinGecko outage may cause 5xx or timeout","Comma-separated IDs must be correctly formatted; malformed CSV may return partial or no results"],"whenToPreferThis":"Choose this endpoint when you need real-time spot prices for one or more cryptocurrencies identified by CoinGecko IDs, and you are operating in a pay-per-call micropayment context using USDC on Base via x402. It is ideal for AI agents, bots, or dashboards that need lightweight, on-demand price lookups without a subscription key, especially when already integrated with the x402 payment protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:31:15.105Z","isFirstParty":false,"canonicalSlug":"scriptmasterlabs-crypto-price-api-x402-8dee7b01"}