What timestamps and timezones does the API use?

All timestamps are Unix seconds (not milliseconds) in UTC. When filtering by time, pass start and end as Unix seconds.

Python: int(datetime(2024, 1, 1).timestamp())

JavaScript: Math.floor(new Date('2024-01-01').getTime() / 1000)

Helpful links