Selcoin Klines API
OHLC candlestick history for a market pair, oldest candle first: open time (ms), open, high, low, close, base volume and whether the candle is closed (confirm).
https://api.maviapi.com/v1/sites/selcoin/klines/{symbol}1 credit per callParameters
| Name | Required | Example | Description |
|---|---|---|---|
symbolstring in path | Required | BTC-USDT | market pair as BASE-QUOTE, e.g. "BTC-USDT" |
intervalstring in query | Optional | 1H | candle length, one of 1m, 5m, 15m, 30m, 1H, 4H, 1D, 1W, 1MOne of 1m, 5m, 15m, 30m, 1H, 4H, 1D, 1W, 1M |
countinteger in query | Optional | 100 | number of most recent candles, 1 to 300 (fewer when the pair has less history) |
Response fields
symbole.g."BTC-USDT"intervale.g."1H"counte.g.100candles
closee.g.61460.7confirme.g.truehighe.g.61573.7lowe.g.61403.7opene.g.61471.2timee.g.1795417200000volumee.g.401.10427379pagination
counte.g.100has_moree.g.falsenext_cursorfetched_ate.g."2026-11-27T10:13:35.903Z"agee.g.0Example request
Set MAVI_KEY to your API key. A successful call costs 1 credit per call, and a failed call costs nothing.
curl 'https://api.maviapi.com/v1/sites/selcoin/klines/BTC-USDT' \
-H "Authorization: Bearer $MAVI_KEY"Selcoin Klines API questions
What you get, what it costs and how to call it.
What does the Selcoin Klines API return?
OHLC candlestick history for a market pair, oldest candle first: open time (ms), open, high, low, close, base volume and whether the candle is closed (confirm). The response has symbol, interval, count, candles, pagination, fetched_at and age.
Which parameters does the Selcoin Klines API take?
GET /klines/{symbol} needs symbol (for example BTC-USDT). You can also pass interval and count.
How much does one Selcoin Klines API call cost?
One successful call costs 1 credit. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.20. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.
How do I call the Selcoin Klines API?
Send an HTTPS GET request to https://api.maviapi.com/v1/sites/selcoin/klines/{symbol} with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.
Is the Selcoin Klines API official?
No. It is an independent, hosted API from maviapi for the public data on selcoin.io, and it is not made, endorsed or supported by Selcoin. Its parameters and response fields are documented on this page.