Datasets
The Quartr API provides access to a variety of datasets that can be purchased individually or as part of a bundle. Each endpoint is designed to provide specific data related to a particular dataset. By keeping the datasets separate, we can ensure that you only pay for the data you need and that the API remains fast and efficient. The events and companies endpoints are available to all customers. These contain metadata that make it easier to work with the other datasets. Most of the endpoints support the same query parameters, which makes it easy to filter and sort the data. The most common query parameters are company identifiers, date ranges, and pagination. You can find more information about the available query parameters in the API reference.Polling vs Webhooks
The Quartr API supports both polling and webhooks for fetching data. Polling is the process of regularly checking the API for updates, while webhooks allow you to receive real-time notifications when data changes. Polling is a good option if you need to fetch data on a regular basis and can tolerate some delay in data freshness. Webhooks are ideal for applications that require immediate updates, such as live audio or transcript streaming. If you find yourself polling the API more than once a second, we recommend using webhooks instead. This will help reduce the load on our servers and ensure that you receive updates in real-time. To optimize your data fetching:- Use the updatedAfter and updatedBefore query parameters to fetch only the data that has changed within a specific time window.
- Use the limit parameter (up to a maximum of 500) to reduce the number of requests needed when retrieving large volumes of data.