# How can I get a count of total numbers of calls with average

**URL:** <https://community.dynatrace.com/t/how-can-i-get-a-count-of-total-numbers-of-calls-with-average/12896>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [June 22, 2018, 5:46pm UTC](https://community.dynatrace.com/t/how-can-i-get-a-count-of-total-numbers-of-calls-with-average/12896 "2018-06-22T17:46:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsingh](https://avatars.discourse-cdn.com/v4/letter/n/8491ac/32.png) [@nsingh](https://community.dynatrace.com/u/nsingh)\
**Post date:** [June 22, 2018, 5:46pm UTC](https://community.dynatrace.com/t/how-can-i-get-a-count-of-total-numbers-of-calls-with-average/12896/1 "2018-06-22T17:46:17Z")

</div>

How can I get a count of total numbers of calls with average and 90% response time for a specific transaction from all nodes using Dynatrace rest api

---

<div class="post-metadata">

**Author:** ![wolfgang\_beer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/wolfgang_beer/32/14717_2.png) [@wolfgang\_beer](https://community.dynatrace.com/u/wolfgang_beer)\
**Post date:** [June 25, 2018, 5:20am UTC](https://community.dynatrace.com/t/how-can-i-get-a-count-of-total-numbers-of-calls-with-average/12896/2 "2018-06-25T05:20:19Z")

</div>

Not sure what your exact use-case is here but you can fetch the avg and variable percentile response time for any service and subscribes key transactions through the timeseries REST API.

See here:

> **[Timeseries API v1](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/metric-v1)**
>
> Retrieve metric information via Timeseries v1 API.

---

<div class="post-metadata">

**Author:** ![nsingh](https://avatars.discourse-cdn.com/v4/letter/n/8491ac/32.png) [@nsingh](https://community.dynatrace.com/u/nsingh)\
**Post date:** [June 25, 2018, 5:02pm UTC](https://community.dynatrace.com/t/how-can-i-get-a-count-of-total-numbers-of-calls-with-average/12896/3 "2018-06-25T17:02:08Z")

</div>

Thanks Wolfgang.I know we can use timeseries API for avg and 90% but how can I can get total number of calls.

---

<div class="post-metadata">

**Author:** ![wolfgang\_beer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/wolfgang_beer/32/14717_2.png) [@wolfgang\_beer](https://community.dynatrace.com/u/wolfgang_beer)\
**Post date:** [June 26, 2018, 4:58am UTC](https://community.dynatrace.com/t/how-can-i-get-a-count-of-total-numbers-of-calls-with-average/12896/4 "2018-06-26T04:58:30Z")

</div>

We recently introduced the metric for overall number of calls on service and key transaction level. Its already public on Dynatrace SaaS environments and will become available in 1 release on Dynatrace Managed.

The metric ids are: com.dynatrace.builtin:service.requests and com.dynatrace.builtin:servicemethod.requests
