To be explicit and avoid confusion I think it would be better to use DateTimeOffset objects with trailing +NN:NN (or Z for UTC) in the /prices endpoint.
It can otherwise be a bit confusing what is actually provided in the answer and what you are asking for in requests. As a developer I would rather work with explicit DateTimeOffset in this type of time series data.
Add this object and use where relevant:
"DateTimeOffset": {
"type": "string",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:Z|[+-]\\d{2}:\\d{2})$",
"example": "2025-05-25T01:00:00+01:00",
"description": "Date-time in ISO 8601 / RFC 3339 style with required numeric offset in the form ±HH:MM."
},
To be explicit and avoid confusion I think it would be better to use DateTimeOffset objects with trailing +NN:NN (or Z for UTC) in the /prices endpoint.
It can otherwise be a bit confusing what is actually provided in the answer and what you are asking for in requests. As a developer I would rather work with explicit DateTimeOffset in this type of time series data.
Add this object and use where relevant: