{"uid":"cap_njXBhWHGWhdybD7x6vUSH","slug":"pump-x4o2-com-coin-candles-9903aa4a","name":"pump.x4o2.com Coin Candles","description":"Historical candles for one coin from pump.fun's own chart data: open, high, low, close, USD volume and trade count per bucket. res picks the bucket (1m, 5m, 15m, 30m, 1h, 4h, 6h, 12h, 1d), count how many of the most recent buckets, measure whether values are price or market cap in USD or SOL.","url":"https://pump.x4o2.com/v1/coin/:mint/candles?utm_source=zero.xyz","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":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["mint"],"properties":{"mint":{"type":"string","description":"Token mint address (base58)"}}},"queryParams":{"type":"object","required":[],"properties":{"res":{"enum":["1m","5m","15m","30m","1h","4h","6h","12h","1d"],"type":"string","description":"Bucket size"},"count":{"type":"integer","maximum":1000,"minimum":1,"description":"Number of most recent buckets"},"stale":{"enum":[0,1],"type":"integer","description":"1 returns any cached copy immediately and refreshes in the background"},"maxAge":{"type":"integer","minimum":0,"description":"Serve a cached copy up to this many seconds old; 0 forces the freshest allowed"},"measure":{"enum":["price_usd","price_sol","market_cap_usd","market_cap_sol"],"type":"string","description":"Whether values are price or market cap, in USD or SOL"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["data","meta"],"properties":{"data":{"type":["object","null"],"properties":{"served":{"type":["object","null"],"properties":{"res":{"type":["string","null"]},"measure":{"type":["string","null"]}}},"source":{"type":["string","null"]},"candles":{"type":["array","null"],"items":{"type":["object","null"],"properties":{"low":{"type":["string","null"]},"high":{"type":["string","null"]},"open":{"type":["string","null"]},"pool":{"type":["object","null"],"properties":{"address":{"type":["string","null"]},"chainId":{"type":["string","null"]}}},"close":{"type":["string","null"]},"final":{"type":["boolean","null"]},"trades":{"type":["number","null"]},"volumeUsd":{"type":["string","null"]},"openTimeMs":{"type":["number","null"]},"isCorrection":{"type":["boolean","null"]}}}},"hasOlder":{"type":["boolean","null"]}}},"meta":{"type":"object","required":["observedAt","ageMs","source"],"properties":{"ageMs":{"type":"integer","description":"Age of the oldest part when served, ms"},"parts":{"type":"object","description":"observedAt and source per upstream part"},"source":{"enum":["cache","fresh","stale"],"type":"string"},"observedAt":{"type":"integer","description":"Unix ms when the oldest part was observed upstream"}},"description":"Freshness of the response"}}}}}}},"responseSchema":null,"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_sRn3YqAEEk56QdAP35xzi","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":"Returns historical OHLCV candlestick data (open, high, low, close, volume, trade count) for a specific pump.fun token, bucketed by configurable time intervals.","exampleAgentPrompt":"Pull the last 50 hourly candles for the pump.fun token with mint address 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU, measuring price in USD.","exampleUseCases":[{"title":"Meme coin technical analysis","prompt":"Get me the last 200 5-minute candles for the pump.fun token 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU so I can run some technical indicators on it — measure price in USD."},{"title":"Daily market cap chart for pump.fun token","prompt":"Fetch the last 30 daily candles showing market cap in SOL for this pump.fun coin: mint address EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v."},{"title":"Intraday volume monitoring","prompt":"Show me the past 48 one-hour candles for pump.fun token BonkEskZmdspQ6zMkW9c7zRnEEBHgpJkfQrtrM8P6mJ3, with trade count and volume, measured in USD market cap."}],"resultDescription":"An array of candlestick buckets for the requested token, each containing open, high, low, close values (in the requested measure: price_usd, price_sol, market_cap_usd, or market_cap_sol), USD volume, and trade count per bucket, ordered from oldest to most recent within the requested count.","failureModes":["Invalid or unknown mint address returns empty results or 404","Unsupported resolution value for 'res' causes a 400 error","Count out of range (less than 1 or over 1000) may cause validation error","Token too new may have insufficient history for requested bucket count","Network or upstream pump.fun data unavailability causes 5xx error","Stale cache parameter misuse may return outdated data unexpectedly"],"whenToPreferThis":"Use this endpoint when you need historical OHLCV candlestick data sourced directly from pump.fun's own chart infrastructure for a specific Solana meme coin. Prefer it over on-chain DEX aggregators when the coin is in its bonding-curve phase on pump.fun and hasn't graduated to Raydium yet, since pump.fun's native data will be most accurate. Choose this over generic Solana price APIs (e.g. Birdeye, Dexscreener) when you specifically need pump.fun's canonical chart view with configurable measures (price vs market cap, USD vs SOL).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:35:02.262Z","isFirstParty":false,"canonicalSlug":"pump-x4o2-com-coin-candles-9903aa4a"}