金
Tokocrypto API
6 endpointsFinance & CryptoIDsocial:read
Returns Tokocrypto trading symbols, tickers, candlesticks, order book depth and recent or aggregated trades.
View as Markdown| GET | /tokocrypto/symbols | Every main-market trading symbol with its assets, whether spot trading is on and the price and quantity steps, 100 symbols a page. |
| GET | /tokocrypto/ticker | Last price, 24-hour high, low, change and volume of one symbol. |
| GET | /tokocrypto/klines | Candlesticks (open, high, low, close, volume) of one symbol, oldest first. |
| GET | /tokocrypto/depth | The order book of one symbol: best bids and asks. |
| GET | /tokocrypto/aggTrades | Compressed trades of one symbol, oldest first: trades at one price and taker side are merged. |
| GET | /tokocrypto/trades | Latest individual trades of one symbol, newest last. |
symbols
GET
/v1/tokocrypto/symbolsEvery main-market trading symbol with its assets, whether spot trading is on and the price and quantity steps, 100 symbols a page.
scope social:read1 unitcached 10 minpaginated
Parameters
querystring | Filter by symbol or base asset, such as btc. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
base | string |
quote | string |
stepSize | string |
symbol | string |
tickSize | string |
trading | boolean |
curl "https://api.hoshime.com/v1/tokocrypto/symbols" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tokocrypto/symbols", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tokocrypto/symbols", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "base": "…", "quote": "…", "stepSize": "…", "symbol": "…", "tickSize": "…", "trading": false } ], "meta": { "cached": false, "endpoint": "symbols", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tokocrypto", "requestId": "req_2Xb9kQ…", "units": 1 } }
ticker
GET
/v1/tokocrypto/tickerLast price, 24-hour high, low, change and volume of one symbol.
scope social:read1 unit
Parameters
symbolstring required | Trading symbol, such as BTCUSDT or BTC_USDT. e.g. BTCUSDT |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
change | string |
changePercent | string |
high | string |
low | string |
open | string |
openedAt | string |
price | string |
quoteVolume | string |
symbol | string |
trades | integer (int64) |
updatedAt | string |
volume | string |
curl "https://api.hoshime.com/v1/tokocrypto/ticker?symbol=BTCUSDT" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tokocrypto/ticker?symbol=BTCUSDT", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tokocrypto/ticker?symbol=BTCUSDT", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "change": "…", "changePercent": "…", "high": "…", "low": "…", "open": "…", "openedAt": "2026-11-06T09:41:00Z", "price": "…", "quoteVolume": "…", "symbol": "…", "trades": 0, "updatedAt": "2026-11-06T09:41:00Z", "volume": "…" }, "meta": { "cached": false, "endpoint": "ticker", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tokocrypto", "requestId": "req_2Xb9kQ…", "units": 1 } }
klines
GET
/v1/tokocrypto/klinesCandlesticks (open, high, low, close, volume) of one symbol, oldest first.
scope social:read1 unitpaginated
Parameters
symbolstring required | Trading symbol, such as BTCUSDT or BTC_USDT. e.g. BTCUSDT |
intervalstring required | Candle length.1m3m5m15m30m1h2h4h6h8h12h1d3d1w1Me.g. 1h |
limitinteger | Number of candles to return, the latest ones. default 100 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
9 fields
close | string |
closedAt | string |
high | string |
low | string |
open | string |
openedAt | string |
quoteVolume | string |
trades | integer (int64) |
volume | string |
curl "https://api.hoshime.com/v1/tokocrypto/klines?symbol=BTCUSDT&interval=1h" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tokocrypto/klines?symbol=BTCUSDT&interval=1h", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tokocrypto/klines?symbol=BTCUSDT&interval=1h", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "close": "…", "closedAt": "2026-11-06T09:41:00Z", "high": "…", "low": "…", "open": "…", "openedAt": "2026-11-06T09:41:00Z", "quoteVolume": "…", "trades": 0, "volume": "…" } ], "meta": { "cached": false, "endpoint": "klines", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tokocrypto", "requestId": "req_2Xb9kQ…", "units": 1 } }
depth
GET
/v1/tokocrypto/depthThe order book of one symbol: best bids and asks.
scope social:read1 unit
Parameters
symbolstring required | Trading symbol, such as BTCUSDT or BTC_USDT. e.g. BTCUSDT |
levelsinteger | Price levels to return on each side. default 100 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
asks | Level[] |
amount | string |
price | string |
bids | Level[] |
amount | string |
price | string |
symbol | string |
updateId | string |
curl "https://api.hoshime.com/v1/tokocrypto/depth?symbol=BTCUSDT" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tokocrypto/depth?symbol=BTCUSDT", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tokocrypto/depth?symbol=BTCUSDT", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "asks": [ { "amount": "…", "price": "…" } ], "bids": [ { "amount": "…", "price": "…" } ], "symbol": "…", "updateId": "abc123" }, "meta": { "cached": false, "endpoint": "depth", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tokocrypto", "requestId": "req_2Xb9kQ…", "units": 1 } }
aggTrades
GET
/v1/tokocrypto/aggTradesCompressed trades of one symbol, oldest first: trades at one price and taker side are merged.
scope social:read1 unitpaginated
Parameters
symbolstring required | Trading symbol, such as BTCUSDT or BTC_USDT. e.g. BTCUSDT |
limitinteger | Trades to return, at most 1000. default 500 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
firstTradeId | string |
id | string |
isBuyerMaker | boolean |
lastTradeId | string |
price | string |
quantity | string |
tradedAt | string |
curl "https://api.hoshime.com/v1/tokocrypto/aggTrades?symbol=BTCUSDT" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tokocrypto/aggTrades?symbol=BTCUSDT", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tokocrypto/aggTrades?symbol=BTCUSDT", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "firstTradeId": "abc123", "id": "abc123", "isBuyerMaker": false, "lastTradeId": "abc123", "price": "…", "quantity": "…", "tradedAt": "2026-11-06T09:41:00Z" } ], "meta": { "cached": false, "endpoint": "aggTrades", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tokocrypto", "requestId": "req_2Xb9kQ…", "units": 1 } }
trades
GET
/v1/tokocrypto/tradesLatest individual trades of one symbol, newest last.
scope social:read1 unitpaginated
Parameters
symbolstring required | Trading symbol, such as BTCUSDT or BTC_USDT. e.g. BTCUSDT |
limitinteger | Trades to return, at most 1000. default 500 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
id | string |
isBuyerMaker | boolean |
price | string |
quantity | string |
quoteQuantity | string |
tradedAt | string |
curl "https://api.hoshime.com/v1/tokocrypto/trades?symbol=BTCUSDT" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tokocrypto/trades?symbol=BTCUSDT", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tokocrypto/trades?symbol=BTCUSDT", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "abc123", "isBuyerMaker": false, "price": "…", "quantity": "…", "quoteQuantity": "…", "tradedAt": "2026-11-06T09:41:00Z" } ], "meta": { "cached": false, "endpoint": "trades", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tokocrypto", "requestId": "req_2Xb9kQ…", "units": 1 } }