{"uid":"cap_hlWEbzBAQiDIM8ZU6Fu35","slug":"scriptmasterlabs-crypto-price-api-x402-cdb29f2c","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-discovery.onrender.com/x402/crypto-price","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_MPFn0ZSoPRRRAArMx6bST","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":"Fetches current cryptocurrency prices (e.g. Bitcoin, Ethereum) in a specified fiat currency, paid per-call in USDC on Base via x402.","exampleAgentPrompt":"What's the current price of bitcoin and ethereum in USD? Use the pay-per-call crypto price feed.","exampleUseCases":[{"title":"Live portfolio value snapshot","prompt":"Can you pull the current prices for bitcoin, ethereum, and solana in USD so I can calculate my portfolio value?"},{"title":"DeFi bot price trigger","prompt":"Fetch the current price of chainlink and uniswap in USD — I want to check if they've crossed my alert thresholds."},{"title":"Crypto price comparison for report","prompt":"Get me the latest prices for bitcoin, ethereum, and cardano quoted in USD for my weekly market summary report."}],"resultDescription":"A JSON object mapping each requested CoinGecko coin ID to its current price in the specified vs-currency (e.g. {\"bitcoin\":{\"usd\":67000},\"ethereum\":{\"usd\":3500}}). Response schema is loosely typed and follows CoinGecko's simple price format.","failureModes":["Invalid or misspelled CoinGecko coin ID returns empty or missing data for that coin","Missing 'ids' query param may return an empty response or error","Payment failure (402) if USDC balance is insufficient or x402 header is not properly set","Service may be slow or unavailable due to Render.com free-tier cold starts","Rate limits or upstream CoinGecko outages can cause stale or failed responses"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, microtransaction-priced crypto price lookup settled in USDC on Base via x402, and you want to avoid API key management. It's ideal for autonomous agents that pay per query rather than subscribing to a plan. Prefer this over free public APIs when operating within an x402-enabled payment flow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:51:15.777Z","isFirstParty":false}