{"uid":"cap_NClyZUWix1rO6b40gNEUK","slug":"cambrian-x402-solana-ohlcv-pool-data-e5b63656","name":"Cambrian x402 Solana OHLCV Pool Data","description":"Pay-per-use blockchain and social data for autonomous agents.","url":"https://x402.cambrian.org/solana/ohlcv/pool","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","additionalProperties":true}}},"output":{"type":"object","properties":{"example":{"type":"array"}}}}},"responseSchema":{"type":"array"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UXMhetV4zWhToOSODB9V8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","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 specific Solana liquidity pool, pay-per-use via x402.","exampleAgentPrompt":"Pull the OHLCV candlestick data for the Solana pool at address 58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWaS97zSDjKLU over the last 24 hours with 1-hour intervals so I can analyze the price movement.","exampleUseCases":[{"title":"DeFi trading bot price analysis","prompt":"Fetch the hourly OHLCV candles for the SOL/USDC pool on Solana — the pool address is 58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWaS97zSDjKLU — for the past 7 days so my trading bot can check for breakout patterns."},{"title":"Backtesting DeFi strategy on Solana","prompt":"Get me the 15-minute OHLCV data for Solana pool 7XawhbbxtsRcQA8KTkHT9f9nc6d69UwqCDh6U5EEbEmX for the last 30 days so I can backtest a momentum strategy on that pool."},{"title":"Real-time portfolio monitoring","prompt":"What's the latest open, high, low, close, and volume for the RAY/USDC Solana pool — address 2wNqRDwG6zY4DnZhEasGjGjJGGpfZ5mhS9YmrEMBBkEX — using 5-minute candles from the past hour?"}],"resultDescription":"An array of OHLCV candlestick records for the requested Solana pool, each containing open, high, low, close prices and trading volume for each time period. Data is returned in chronological order and reflects on-chain DEX activity.","failureModes":["Invalid or unknown pool address returns empty array or error","Missing required query parameters (pool address, interval) may return 400-level error","Payment failure via x402 protocol blocks data access","Rate limiting if too many requests are made without sufficient payment","Pool with no trading activity returns empty candle array","Network latency or Solana RPC issues may cause delays or timeouts"],"whenToPreferThis":"Choose this endpoint when you need historical or recent OHLCV candlestick data specifically for Solana DEX/AMM liquidity pools, and you want pay-per-use access without a subscription. Ideal for autonomous agents performing on-chain price analysis, backtesting DeFi strategies, or monitoring Solana pool price action in real time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:50:51.445Z","isFirstParty":false}