API -








Data Types

Information about various data types used by the tokendatabase platform API.


Time

All Time values returned in API responses are represented as ISO 8601 strings.

"time" : "2018-11-15T19:41:46"
"last_updated" : "2018-11-15T18:32:25.1253"


All Time values required as input parameters may be specified as either an unquoted ISO 8601 string or a Unix time value with optional sub-second precision specified as the floating part of the value.

Examples:

https://api.tokendatabase.com/v0/markets/poloniex_spot_eth_btc/trades?before=2018-11-15T18:32:25.1253
https://api.tokendatabase.com/v0/markets/poloniex_spot_eth_btc/trades?before=1542306745.1253 


{type} ID List

A {type} ID List is a comma separated list of IDs of one type (ie. asset, exchange, market, etc.)

Examples:

https://api.tokendatabase.com/v0.1/assets?ids=btc,eth,usdt
https://api.tokendatabase.com/v0.1/markets/trades?ids=poloniex_spot_eth_btc,bittrex_spot_eth_btc