Gate.io API Rejects from, to and limit Together With HTTP 400 Error
Developers using Gate.io's USDT-margined futures candlestick endpoint are finding that requests combining the from, to, and limit parameters return HTTP 400 errors. The API accepts any two of these parameters but rejects all three together, and its error messages do not identify the conflicting combination. The endpoint also returns at most the latest 10,000 data points per call regardless of range width. The article recommends using from with limit for forward-only pagination, advancing the start timestamp by the interval length in seconds on each page, and keeping timestamps in seconds to avoid silent failures.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in