{"uid":"cap_W9OSkJjrD4emkxiYZTehK","slug":"coingecko-market-chart-via-locus-x402-b6ddd126","name":"CoinGecko Market Chart via Locus x402","description":"Cryptocurrency market data — prices, charts, market cap, exchanges, trending coins, global stats, NFTs, derivatives, and on-chain data.","url":"https://coingecko.x402.paywithlocus.com/coingecko/market-chart","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"id":{"type":"string"},"days":{"type":"string"},"interval":{"type":"string"},"precision":{"type":"string"},"vs_currency":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","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.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cTbTlL4QMs93fAHv77Vmw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical price, market cap, and volume chart data for a specific cryptocurrency over a configurable time range and interval.","exampleAgentPrompt":"Can you pull the daily price and market cap chart for Bitcoin in USD over the last 30 days from CoinGecko?","exampleUseCases":[{"title":"Crypto portfolio performance review","prompt":"Show me Ethereum's hourly price chart in USD for the last 7 days so I can see how it moved this week."},{"title":"Long-term trend analysis","prompt":"Fetch the daily price history for Solana in USD for the past year — I want to see the full trend since last January."},{"title":"Short-term trading signal research","prompt":"Get me 5-minute interval price data for Bitcoin in USD for the last 24 hours so I can analyze intraday volatility."}],"resultDescription":"Returns a JSON object containing time-series arrays for price, market cap, and total volume (as [timestamp, value] pairs) for the requested coin and currency over the specified period, along with payment settlement details confirming the $0.06 USDC charge.","failureModes":["Invalid coin ID returns an error — must use CoinGecko coin ID (e.g. 'bitcoin', not 'BTC')","Unsupported 'days' value outside allowed set (1,7,14,30,90,180,365,max) causes request failure","Invalid 'interval' value not in ('daily','hourly','5-minutely') returns error","Insufficient USDC balance for x402 payment causes payment failure and no data returned","Rate limiting or upstream CoinGecko API outage may result in 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need historical OHLC or time-series market data for a specific coin over a defined period — especially when you need configurable granularity (5-minute, hourly, or daily). Prefer this over spot-price endpoints when the use case involves charting, backtesting, trend analysis, or performance review. The x402 micropayment model makes it suitable for pay-per-call agent workflows without API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:29.548Z","isFirstParty":false}