Trading Pairs

All Trading pairs

GET /public/pairs

curl --location --request GET 'https://suncrypto.in/public/pairs'

Response:
[
{
"ticker_id": "ETH_INR",
"base": "ETH",
"target": "INR"
},
{
"ticker_id": "BNB_INR",
"base": "BNB",
"target": "INR"
},
{
"ticker_id": "LTC_INR",
"base": "LTC",
"target": "INR"
},
{
"ticker_id": "USDT_INR",
"base": "USDT",
"target": "INR" }
]

24hr tickers price change statistics

24 hour rolling window price change statistics.

GET /public/tickers

curl --location --request GET 'https://suncrypto.in/public/tickers'

Response:
[
{
"ticker_id": "ETH_INR",
"base_currency": "ETH",
"target_currency": "INR",
"last_price": "239334.927422500000",
"base_volume": "8.000875000000",
"target_volume": "1877937.260063000000",
"bid": "239334.927422500000",
"ask": "241740.303577500000",
"high": "244738.495430880000",
"low": "227619.756130000000",
"priceChangePercent": "2.459"
},
{
"ticker_id": "BNB_INR",
"base_currency": "BNB",
"target_currency": "INR",
"last_price": "31870.481825000000",
"base_volume": "12.901261000000",
"target_volume": "408475.044137000000",
"bid": "31870.481825000000",
"ask": "32190.788175000000",
"high": "32162.251200000000",
"low": "31037.480760000000",
"priceChangePercent": "0.951"
}
]

24hr ticker price change statistics

24 hour rolling window price change statistics, historical trades.

GET /public/historical_trades

curl --location --request GET 'https://suncrypto.in/public/historical_trades?ticker_id=BTC_INR'

Response:
[
{
"id": "4275403",
"price": "3384608.768934000000",
"qty": "0.000059000000",
"quoteQty": "199.691917000000",
"time": 1648137687000,
"isBuyerMaker": false
},
{
"id": "4275402",
"price": "3384608.768934000000",
"qty": "0.000046000000",
"quoteQty": "155.692003000000",
"time": 1648137686000,
"isBuyerMaker": false
},
{
"id": "4275394",
"price": "3386988.318996000000",
"qty": "0.000047000000",
"quoteQty": "159.188451000000",
"time": 1648137677000,
"isBuyerMaker": false
}
]