# 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="/files/-MSDei1kEIUHZUvOjFnk" alt="" data-size="original">&#x20;
-------------------------------------------------------------------------------

The [GraphQL API](/querying-your-data/graphql-queries.md) 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="/files/-MSDfMjwAD0nMwp-XWDV" alt="" data-size="original">&#x20;

The [OTQL Language](/querying-your-data/otql-queries.md) 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="/files/kZeCRU7t1moe3QZis7m9" alt=""></div>

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.mediarithmics.io/querying-your-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
