Show analytics data for MakiSwap.
Here are the api endpoints.
-
/pairs: Show all trading pairs
-
/tickers: Show detailed data for all trading pairs
-
/orderbook: Show buy and sell orders. Need to set
ticker_id
anddepth
parameters. Ifdepth
parameter was not set, it will setdepth
to 1000 and return 500 buy orders and 500 ask orders. i.e./orderbook?ticker_id=HUSD_HBTC&depth=100
. -
/historical_trades: Show successful trades. Need to set
ticker_id
anddepth
parameters like/orderbook
endpoint. i.e./historical_trades?ticker_id=HUSD_HBTC&limit=100
-
/assets: show detailed data for all currencies available on our exchange
API endpoints:
https://maki-subgraph.herokuapp.com/pairs
https://maki-subgraph.herokuapp.com/tickers
https://maki-subgraph.herokuapp.com/orderbook you need to set ticker_id and depth parameter. i.e https://maki-subgraph.herokuapp.com/orderbook?ticker_id=HUSD_HBTC&depth=100
https://maki-subgraph.herokuapp.com/historical_trades you need to set ticker_id and limit parameter. i.e https://maki-subgraph.herokuapp.com/historical_trades?ticker_id=HUSD_HBTC&limit=100