# GET metric data points API

**URL:** <https://community.dynatrace.com/t/get-metric-data-points-api/44833>\
**Category:** Dynatrace API\
**Tags:** dynatrace-managed, dynatrace-api\
**Created:** [March 25, 2024, 10:37am UTC](https://community.dynatrace.com/t/get-metric-data-points-api/44833 "2024-03-25T10:37:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sukanyadevi](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@sukanyadevi](https://community.dynatrace.com/u/sukanyadevi)\
**Post date:** [March 25, 2024, 10:37am UTC](https://community.dynatrace.com/t/get-metric-data-points-api/44833/1 "2024-03-25T10:37:07Z")

</div>

Hi team, I have a small query on GET metric data points API, what is the limit that we can impose on retrieving the number of metrics by using the API GET metric data points.

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [March 25, 2024, 5:58pm UTC](https://community.dynatrace.com/t/get-metric-data-points-api/44833/2 "2024-03-25T17:58:51Z")

</div>

As per doc:

The following limits apply:

- The number of data points is limited to 20,000,000.
- The number of tuples is limited to 100,000.  
If exceeded, only the first 100,000 tuples (a :sort transformation doesn’t affect these) are processed and the rest are ignored.
- The number of data points per tuple is limited to 10,080.
- The number of monitored entities is limited to 5,000 per each [**entitySelector**](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/entity-v2/entity-selector) in the query.

> **[Metrics API - GET metric data points](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/metric-v2/get-data-points)**
>
> Read data points of one or multiple metrics via Metrics v2 API.

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [March 25, 2024, 6:02pm UTC](https://community.dynatrace.com/t/get-metric-data-points-api/44833/3 "2024-03-25T18:02:12Z")

</div>

But if the idea is to impose some kind of limit on the result, you can work with the timeframe (from/to) and in the metric selector it self, using the limit field, as you do in Data Explorer. [Data Explorer — Dynatrace Docs](https://docs.dynatrace.com/docs/observe-and-explore/explorer#limit)
