{"uid":"cap_F76yQ3ko1HNMB1El2Svg0","slug":"2s-io-crypto-token-price-d17f752e","name":"2s.io Crypto Token Price","description":"Current spot price and market data for crypto assets. Pass ids as comma-separated CoinGecko asset ids (e.g. bitcoin, ethereum, solana, usd-coin — lowercase id, not ticker symbol; up to 25 per call) and optionally vs (comma-separated fiat/crypto quote currencies, default usd). Returns per-asset price, market cap, 24h volume, and 24h percent change, plus the data timestamp. Live market data past any training cutoff. Price data by CoinGecko.","url":"https://2s.io/api/crypto/token-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","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":["ids"],"properties":{"vs":{"type":"string","description":"Comma-separated quote currencies, default \"usd\". E.g. \"usd,eur,btc\"."},"ids":{"type":"string","description":"Comma-separated CoinGecko asset ids (lowercase), e.g. \"bitcoin,ethereum,solana\". Max 25."}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"vs":"usd","ids":"bitcoin,ethereum,solana"}}},"response":{"data":{"ok":true,"meta":{"asOf":"2026-06-18T05:43:59.232Z"},"items":[{"id":"bitcoin","quotes":{"usd":{"price":63898,"marketCap":1280289829788.111,"volume24h":33364888048.54435,"change24hPct":-2.964347703316884}}},{"id":"ethereum","quotes":{"usd":{"price":1728.18,"marketCap":208379391479.03235,"volume24h":15097302017.649693,"change24hPct":-3.7170784990068233}}},{"id":"solana","quotes":{"usd":{"price":70.93,"marketCap":41122812206.66623,"volume24h":2732684331.891824,"change24hPct":-3.6931406851391264}}}],"total":null,"source":{"url":"https://www.coingecko.com","license":"CoinGecko API terms (attribution required)","provider":"CoinGecko"}},"meta":{"cost":{"usd":0.0012,"tier":2},"caller":"x402","version":null,"endpoint":"crypto.token-price","settlement":{"txHash":"0x1bd1188b0abb3e80e4950e5b9282a532eccd252dcb1f63f9e640b163e3b508b0","network":"eip155:8453","success":true}}}},"exampleRequest":{"vs":"usd","ids":"bitcoin,ethereum,solana"},"tags":["x402"],"displayCostAmount":"0.0012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Nv6niuCoMjwy8qgH9KwtV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live spot price, market cap, 24h volume, and 24h percent change for up to 25 crypto assets in one or more fiat/crypto quote currencies via CoinGecko data.","exampleAgentPrompt":"What are the current prices, market caps, and 24-hour percent changes for bitcoin, ethereum, and solana in USD?","exampleUseCases":null,"resultDescription":"A JSON object keyed by CoinGecko asset id, each containing the spot price, market cap, 24h trading volume, and 24h percent change in the requested quote currency or currencies, plus a data timestamp indicating when the data was fetched.","failureModes":["Invalid or misspelled CoinGecko asset id (not ticker): returns missing or empty entry for that asset","More than 25 ids submitted: may return an error or truncated results","Unsupported quote currency in vs parameter: returns error or omits that currency","CoinGecko upstream downtime: may return 502 or stale/no data","Network timeout: returns HTTP 5xx"],"whenToPreferThis":"Use this endpoint when you need real-time cryptocurrency price and market data (spot price, market cap, 24h volume, 24h change) for one or more assets beyond your training cutoff, especially when you need multi-asset or multi-currency lookups in a single call. Prefer this over training-data-based knowledge whenever freshness matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:48:52.512Z","isFirstParty":false}