# Querying your data

You have three different ways to query your data in mediarithmics depending on what you want to achieve.&#x20;

GraphQL\
\
&#x20;<img src="https://4196284719-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MMuoqM-5hJ5JY0WnAKL%2F-MSDd5v9MtV9gR167jDc%2F-MSDei1kEIUHZUvOjFnk%2FPlan%20de%20travail%201%20copie%2068.png?alt=media&#x26;token=a9ffff2c-0a75-43ff-9db1-9e62999f4723" alt="" data-size="original">&#x20;
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The [GraphQL API](https://developer.mediarithmics.io/querying-your-data/graphql-queries) gives you the ability to query all kinds of UserPoint data, as collected by the platform (profile, activities, segments, identifiers, etc.) **with a single request**.&#x20;

## OTQL

<img src="https://4196284719-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MMuoqM-5hJ5JY0WnAKL%2F-MSDfB0AZJSv8YemdI4V%2F-MSDfMjwAD0nMwp-XWDV%2FPlan%20de%20travail%201%20copie%2069.png?alt=media&#x26;token=8b80fe27-87ec-42b8-bb4d-2207ddbee4cd" alt="" data-size="original">&#x20;

The [OTQL Language](https://developer.mediarithmics.io/querying-your-data/otql-queries) is an extension to GraphQL. It is based on the same schema and **adds unique features to query a graph of millions/billions of objects**.&#x20;

## Analytics

<div align="left"><img src="https://4196284719-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MMuoqM-5hJ5JY0WnAKL%2Fuploads%2FidmNpZOQByNZpeUJLOsJ%2FAnalytics%20cube%20queries%20datamart.png?alt=media&#x26;token=6876c89b-6749-4f15-8031-63f8b0ad9398" alt=""></div>

We provide an [analytics data cube to query user activities](https://developer.mediarithmics.io/querying-your-data/activities-analytics-queries).&#x20;
