Mal.io Open API Docs (CoinGecko)
All the following endpoints are public and no authentication is required to fetch data from them.
Host
Endpoints (CoinGecko)
Tickers
Description
This endpoint provides the last 24-hour pricing and volume information on each market pair available on Mal.io.
Request Parameters
None
Request Example
Response Data Example
Order Book
Description
This endpoint provides order book information with a minimum depth of 100 (50 each side).
Request Parameters
Name | Type | Mandatory | Meta |
---|---|---|---|
depth | INT | No | Min: 100, Default: 100 |
Request Example
Response Data Example
Historical Trades
Description
This endpoint provides historical completed trades for a given market pair.
Request Parameters
Name | Type | Mandatory | Meta |
---|---|---|---|
side | STRING | YES | The nature of trade - buy/sell |
limit | INT | NO | Default: 100; max 1000 |
start_time | STRING | NO | Start time from which to query historical trades from. Must be in the format of: |
end_time | STRING | NO | End time from which to query historical trades from. Must be in the format of: |
Request Example
Response Data Example
Errors
If error occurs, each endpoint will return one of the following general HTTP response errors. Depending on the error, there might be a message indicating the reason of the error
Error Code | Error Text | Note |
---|---|---|
400 | Bad Request | |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | |
405 | Method Not Allowed | |
415 | Unsupported Media Type | |
429 | Too Many Requests | |
500 | Internal Server Error | |
503 | Service Unavailable | |
504 | Gateway Timeout |