Asks the providers the team has connected, one after another, for the latest candles of the coin with this ticker symbol, such as BTC, in currency (USD unless another is given). interval is how long one candle is: 1m, 5m, 15m, 1h, 4h, 1d or 1w (1d unless given); a provider that does not have that length is passed over. limit is how many candles, up to 300 (100 unless given). Returns candles, the oldest first, each with the time it opened as an ISO 8601 date and time in UTC. A coin that no provider lists ends the call with no result.
Providers & per-call pricing (3)
| Provider | Price |
|---|---|
Binance GET data-api.binance.vision/api/v3/klines | Own key |
OKX GET www.okx.com/api/v5/market/candles | Own key |
Yahoo Finance GET query1.finance.yahoo.com/v8/finance/chart/{symbol} | Free |
Good to know
- •
volumeis in the coin, not in the currency. - • Exchanges quote a dollar price in USDT, a token worth a dollar, and the candles are those.
- • The last candle is the one still open.
More Crypto tools
All Crypto APIs →Get a perpetual's funding rate
crypto.funding.rateThe funding rate of a coin's USDT-margined perpetual swap.
List the largest coins by market cap
crypto.marketsThe coins with the largest market cap, with price, volume and the day's change.
Get a perpetual's open interest
crypto.open.interestHow much of a coin is in the open contracts of its USDT-margined perpetual swap.
Get a coin's price
crypto.priceThe last price of a coin in a currency, such as BTC in USD.
List the tokens a wallet holds
crypto.wallet.balancesThe most valuable tokens a wallet holds on a chain, with amounts.
Frequently asked questions
How much does crypto.candles cost on Duang?
Get a coin's price history (crypto.candles) is free via public routes on Duang with no monthly plan.
Which providers power crypto.candles?
crypto.candles is backed by 3 providers (Binance, OKX, Yahoo Finance). Every response receipt shows the exact provider used and exact USD cost.
How do I use crypto.candles in Claude Code, Cursor, or another AI agent?
Point your agent to https://duang.ai/SKILL.md or add Duang's remote MCP server (https://api.duang.ai/mcp). Your agent calls discover, inspect crypto.candles, and call without ever seeing your raw API keys.


