Skip to content

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).

GEThttps://api.maviapi.com/v1/sites/selcoin/klines/{symbol}1 credit per call

Parameters

NameRequiredExampleDescription
symbolstring in pathRequiredBTC-USDTmarket pair as BASE-QUOTE, e.g. "BTC-USDT"
intervalstring in queryOptional1Hcandle length, one of 1m, 5m, 15m, 30m, 1H, 4H, 1D, 1W, 1MOne of 1m, 5m, 15m, 30m, 1H, 4H, 1D, 1W, 1M
countinteger in queryOptional100number of most recent candles, 1 to 300 (fewer when the pair has less history)

Response fields

symbolstringe.g."BTC-USDT"
intervalstringe.g."1H"
countintegere.g.100
candlesobject[]7 fields
closenumbere.g.61460.7
confirmbooleane.g.true
highnumbere.g.61573.7
lownumbere.g.61403.7
opennumbere.g.61471.2
timeintegere.g.1795417200000
volumenumbere.g.401.10427379
paginationobject3 fields
countintegere.g.100
has_morebooleane.g.false
next_cursornull
fetched_atstringe.g."2026-11-27T10:13:35.903Z"
ageintegere.g.0

Example request

Set MAVI_KEY to your API key. A successful call costs 1 credit per call, and a failed call costs nothing.

cURL
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.