Query
The Query API allows you to retrieve data from Telemetry. It accepts basic SQL, enabling you to query all available data using commands such as JOINS and UNIONS. These queries can return a wide range of data, from system metrics to user engagement.
POST https://api.telemetry.sh/query
Headers
Name
Type
Description
Content-Type
String
application/json
Authorization
String
<YOUR_API_KEY>
Body
Name
Type
Description
query
String
SQL Query you want to run
Example usage with cURL
To query the average Uber price grouped by city from the table named uber_rides
using cURL, you can use the following command:
Using the JavaScript SDK
We recommend using our SDKs for a better developer experience. Here’s an example of how to use our JavaScript SDK:
Last updated