{"uid":"cap_5ehE8uvW6d6E3iANvl4_q","slug":"vybe-solana-token-ohlcv-candles-674b04ed","name":"Vybe Solana Token OHLCV Candles","description":"Read access to Solana on-chain data — tokens, wallets, markets, prices, trades, transfers. No API key, no signup. Pay in USDC per request with the x402 protocol; the per-route price is declared in `x-payment-info`. WebSocket streaming uses prepaid credits.","url":"https://x402-api.vybenetwork.xyz/v4/tokens/%7BmintAddress%7D/candles?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["mintAddress"],"properties":{"page":{"type":"integer","description":"Page number for paginated results"},"limit":{"type":"integer","description":"Result page size specifier. Default is 1000."},"timeEnd":{"type":"integer","description":"End time of the data to return (unix timestamp)"},"timeStart":{"type":"integer","description":"Start time of the data to return (unix timestamp)"},"resolution":{"type":"string","description":"Resolution of the data. Possible values: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 3h, 4h, 1d, 1w, 1mo, 1y. Default is \"1h\"."},"mintAddress":{"type":"string","description":"The public key of the token of interest"},"eliminateCloseToOpenGaps":{"type":"boolean","description":"Eliminate gaps between candles by using previous close as next open. Default is true."}}},"responseSchema":{"$ref":"#/components/schemas/TradeOhlcvCandleVecReturn"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.009","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.00","successRate":"0.00","reviews":1,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jzNBb2Iv94sA6Hlf7eqUO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns OHLCV (open, high, low, close, volume) candlestick data for a Solana token by mint address, with configurable time range and resolution.","exampleAgentPrompt":"Pull hourly OHLCV candles for the Solana token with mint address EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v from January 1 2025 to January 31 2025 — I want up to 1000 candles per page with gaps filled using the previous close as the next open.","exampleUseCases":[{"title":"Backtest a trading strategy on meme coins","prompt":"Get me 1-minute candlestick data for the SolRays token (mint: 3Z5smUsoZGEE4vm889qNLmqd5NWWwV86ibt23581LKX) from the last 7 days — I need the candles aligned to 1-minute intervals with no close-to-open gaps so I can run my momentum bot simulation against real trading activity."},{"title":"Monitor volatility of a DeFi token launch","prompt":"Fetch 5-minute OHLCV candles for the newly launched Jupiter token starting from when it first traded until now — give me up to 2000 candles per request so I can analyze price swings and identify when volatility spiked during the first trading day."},{"title":"Chart weekly performance for portfolio review","prompt":"Pull weekly price candles for the Marinade staking token (mNDE) going back 12 weeks so I can visualize the price trend and share a clean chart with my investment group to discuss if we should rebalance our Solana holdings."}],"resultDescription":"Returns an array of OHLCV candlestick records (TradeOhlcvCandleVecReturn) for the requested token, each containing open, high, low, close prices and trading volume for the specified time bucket. Candles are aligned to the chosen resolution (e.g. 1m, 1h, 1d) and optionally have close-to-open gaps eliminated.","failureModes":["Invalid or unknown mint address returns an error or empty result set","Time range too wide for the requested resolution may hit pagination limits","Resolution value outside allowed enum returns a validation error","Payment not attached or insufficient USDC balance returns HTTP 402","Rate limiting or network issues may cause transient failures"],"whenToPreferThis":"Use this endpoint when you need historical OHLCV price candles for a specific Solana token identified by its mint address, especially for charting, backtesting, or price analysis. Prefer this over generic crypto price APIs when working specifically with Solana on-chain data and needing fine-grained resolution control (down to 1-minute candles). It requires no API key — only a micropayment in USDC via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-07-28T22:09:45.193Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:30:01.529Z","isFirstParty":false,"canonicalSlug":"vybe-solana-token-ohlcv-candles-674b04ed"}