binance on site data and api data doesnt match

When I collect say 1 minute historical kline data through the API, I see different close times to what I see on the site checking the same time’s candle. (I am matching data to UTC time that is not a factor here.) There is difference of close, High, Low and opening values. Some time Open, High values are ok but not the other for same candle on binance. Do you have any tips what might be the cause?

Hi,

I’m guessing you are using the futures api?
Binance uses “GET /fapi/v1/klines” for their charts, make sure you are using this endpoint and not the “GET /fapi/v1/indexPriceKlines” or “GET /fapi/v1/markPriceKlines” endpoint.