etherdelta / etherdelta.github.io

https://etherdelta.com
554 stars 688 forks source link

trades API - too many trades #54

Open cryptoqween opened 7 years ago

cryptoqween commented 7 years ago

Hi,

We have integrated with you couple of months ago at CryptoCompare using the following endpoint: https://api.etherdelta.com/trades

Recently we are getting 10k trades from this endpoint, which makes parsing very slow. Is there a way to query by token?

zackcoburn commented 7 years ago

https://cache1.etherdelta.com/trades/[TOKEN ADDRESS]/0 will return 1,000 trades for [TOKEN ADDRESS]. 0 is the page number.

https://cache1.etherdelta.com/returnTicker will return contract addresses in additon to token names, volumes, and prices.