---
updatedAt: 2025-10-11T20:13:23.000Z
agentTools:
  projectIndex: https://docs.getgreenspark.com/llms.txt
---

# Timestamps

Certain Greenpark API endpoints support fetching a portion of the data based on a timestamp. This is particularly useful when you only need a subset of the data.

To filter by date interval the `startDate` and `endDate` query parameters are required. These parameters have to be in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date format. For example: 2022-09-20