Introduction

The Total Cryptos APIs are designed to allow quick access to all of the features of the Total Cryptos platform. The end goal is to allow people to potentially recreate the entire platform on their own. We provides a simple and powerful REST API to allow you to programatically perform nearly all actions you can from our web interface.

Rate Limits

We have allowed maximum 10 requests per minute per IP address for any REST API. If an IP address exceeds the limit to a specific REST API endpoint e.g., /symbolsUSDPrices, it will send an error message with error code.

Root URL

http://totalcryptos.com/api/

Error Codes

Error Code Message Description
1 Request processed successfully. Data requested may or may not be available depending on request.
300 Api call limit exceeded. If an API has been called more than 10 times within 60 seconds.
404 Record not found. If no record found for API request.
500 Server error. Please try again. This response is being sent due to some internal/unknown errors. If you get this error, please let us know about it.

Total Crypto Price API

This API provides index price.

End Point: tcPrices
Request URL: http://totalcryptos.com/api/tcPrices
Response: {"errCode":1,"message":"request processed successfully.","data":[{...},...]}

Currencies Prices API

This API provides USD price of crypto currencies.

End Point: symbolsUSDPrices
Request URL: http://totalcryptos.com/api/symbolsUSDPrices
Response: {"errCode":1,"message":"request processed successfully.","data":[{...},...]}

Currency Price API

This API provides USD price of any specific crypto currency.

End Point: symbolsUSDPrices/{currency}
Request URL: http://totalcryptos.com/api/symbolsUSDPrices/{currency}
Response: {"errCode":1,"message":"request processed successfully.","data":{...}}

Products Prices API

This API provides prices of crypto products(pairs).

End Point: productsPrices
Request URL: http://totalcryptos.com/api/productsPrices
Response: {"errCode":1,"message":"request processed successfully.","data":[{...},...]}

Product Price API

This API provides price of any specific crypto product(pair).

End Point: productsPrices/{product}
Request URL: http://totalcryptos.com/api/productsPrices/{product}
Response: {"errCode":1,"message":"request processed successfully.","data":{...}}

Totalcryptos History (24h)

This API provides history of TC100, TCw100 and Total market Capitlization.

End Point: tcHistory24H
Request URL: http://totalcryptos.com/api/tcHistory24H
Response: {"errCode":1,"message":"request processed successfully.","data":{...}}

Totalcryptos History (7d)

This API provides history of TC100, TCw100 and Total market Capitlization.

End Point: tcHistory7D
Request URL: http://totalcryptos.com/api/tcHistory7D
Response: {"errCode":1,"message":"request processed successfully.","data":{...}}