Skip to Content
ReferencesHistorical Data

Historical Data

How to get centralized exchanges historical data and information.

Historical price trends can indicate the future direction of a cryptocurrency

Historical data provides several years of daily historical crypto prices, volumes, trades, and aggregates for each cryptocurrency.

Historical data is exchange specific, so some exchanges provide more historical data than others. If you want to save large amounts of historical data, please contact us here.

How It Works

Historical data is accessible on the trades and aggregates market data endpoints.

To access historical data, use the since parameter. The since parameter accepts a Unix timestamp from where you want the data to start.

To help convert Unix timestamps we use https://www.unixtimestamp.com .

ParameterData TypeDescription
sinceIntUnix Timestamp from where you want the time to start.

Historical Data

GEThttps://api.adesic.com/v1/{exchange}/{market}/trades?since={Unix_Timestamp}

Returns an object with historical trade data.

Path Parameters

NameTypeDescription
exchange*stringUnique exchange identifier used by Adesic.
market*stringUnique Crypto Pair identifier used by the exchange.

Query Parameters

NameTypeDescription
apiKey*stringYour Adesic API Key
since*intUnix Timestamp from where you want the data to start. (Historical Data)
limitintNumber of results per request. Maximum 50,000. (default 200)
response.json
{ "exchange": "binance", "market": "BTC/USDT", "trades": [ { "id": "2214", "timestamp": "1503000000087", "price": 4307.56, "size": 3.789232, "cost": 16322.344193920002, "side": "buy" }, { "id": "2215", "timestamp": "1503000038104", "price": 4325.23, "size": 0.229059, "cost": 990.73285857, "side": "buy" } ] }

Response Object

Trades Example URL: https://api.adesic.com/v2/cex/binance/btc-usdt/trades?since=1503000000000&limit=100 

trades-response.json
{ "exchange": "binance", "market": "BTC/USDT", "trades": [ { "id": "2214", "timestamp": "1503000000087", "price": 4307.56, "size": 3.789232, "cost": 16322.344193920002, "side": "buy" } ] }

Aggregates Example URL: https://api.adesic.com/v2/cex/binance/btc-usdt/aggregates/1h?since=1503000000000&limit=100 

aggregates-response.json
{ "exchange": "binance", "market": "BTC/USDT", "aggregates": [ { "t": 1503000000000, "o": 4307.56, "h": 4354.84, "l": 4258.56, "c": 4346.74, "v": 48.975472 } ] }

© Adesic LLC. All Rights Reserved