Changes to Batch Endpoint Data Retrieval Limits
14 days ago by Amberdata Support
2025-01-06
Details:
We’ve made updates to our platform to optimize performance and improve the reliability of data served from our systems. These changes introduce new restrictions on Market Data Batch endpoint requests to ensure alignment with our data storage infrastructure and retrieval capabilities.
We initially updated our API documentation and informed all customers of the coming changes back in October 2024. Each Batch endpoint had the following message in the API documentation:
Key Changes
- 62-Day Data Limit for
startDate
parameter:- Batch requests can no longer retrieve data older than 62 days. Data requests beyond this limit will result in the following error: "Error: Data retrieval is limited to the past 62 days. Please use the Historical endpoint for older data."
- Default Behavior Update:
- Previous Behavior: Requests without
startDate
orendDate
returned the previous 12 months of daily data. - New Behavior: Requests without these parameters will now return only the previous 62 days of daily data.
- Previous Behavior: Requests without
- Endpoints Affected:
- The following endpoints are impacted by these updates:
- Spot OHLCV: https://api.amberdata.com/market/spot/ohlcv/exchange/{exchange}/historical
- Options OHLCV: https://api.amberdata.com/market/options/ohlcv/exchange/{exchange}/historical
- Options Open Interest: https://api.amberdata.com/market/options/open-interest/exchange/{exchange}/historical
- Futures Funding Rates: https://api.amberdata.com/market/futures/funding-rates/exchange/{exchange}/historical
- Swaps Funding Rates: https://api.amberdata.com/market/swaps/funding-rates/exchange/{exchange}/historical
- Futures OHLCV: https://api.amberdata.com/market/futures/ohlcv/exchange/{exchange}/historical
- Swaps OHLCV: https://api.amberdata.com/market/swaps/ohlcv/exchange/{exchange}/historical
- Futures Open Interest: https://api.amberdata.com/market/futures/open-interest/exchange/{exchange}/historical
- Swaps Open Interest: https://api.amberdata.com/market/swaps/open-interest/exchange/{exchange}/historical
- The following endpoints are impacted by these updates:
Support
If you have any questions or need assistance with these changes, please contact our support team at [email protected].
Thank you for your understanding as we work to deliver a more reliable and optimized platform for all users.