You can filter your data using dates on most of our endpoints. This filter will vary slightly depending on the API endpoint you are using. The API Reference contains all the available parameters for each individual endpoint.
From and To Date format
One common filter we have across our endpoints is a From and To date. These filters allow you to select subsets of your total available data through a given API endpoint. This date should be formatted with the following pattern.
Y is Year and
M is Month.
An example of this filter in use would be
where this part of the URL from_date=2022-01&to_date=2022-02 defines a filter form January to February 2022.
Updated 7 months ago