Which API are you trying to call? Please provide the corresponding curl command.
Additionally, note that the data in the candles is appended only after 9:15 AM.
The following threads might also be useful for you: