Filtering Responses

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.

YYYY-MM Where Y is Year and M is Month.

An example of this filter in use would be <><company_slug>/country/country_iso_code>/stakeholder/<stakeholder_slug>/metric/reputation?from_date=2020-01&to_date=2020-02

where this part of the URL from_date=2022-01&to_date=2022-02 defines a filter form January to February 2022.