# Calling API with a List of Entity IDs?

**URL:** <https://community.dynatrace.com/t/calling-api-with-a-list-of-entity-ids/36381>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [August 30, 2022, 2:35pm UTC](https://community.dynatrace.com/t/calling-api-with-a-list-of-entity-ids/36381 "2022-08-30T14:35:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwsmith2340](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jwsmith2340](https://community.dynatrace.com/u/jwsmith2340)\
**Post date:** [August 30, 2022, 2:35pm UTC](https://community.dynatrace.com/t/calling-api-with-a-list-of-entity-ids/36381/1 "2022-08-30T14:35:41Z")

</div>

Hello, I’ve been tasked with figuring out how (or if it’s possible) to send in a list/array of Entity IDs when making an API call. Right now, we’re sometimes hitting our per minute API call limit, so we’re trying to figure out how to reduce the number of API calls being made. I’ve tried searching the forum and reading the docs, but I’m not finding any relevant answers. Thanks in advance for any help you can provide.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [August 30, 2022, 4:02pm UTC](https://community.dynatrace.com/t/calling-api-with-a-list-of-entity-ids/36381/2 "2022-08-30T16:02:12Z")

</div>

It depends on the API you want to use. Some allow you to use multiple entity IDs and some are not designed that way. For example events API V2 supports that while V1 does not.

---

<div class="post-metadata">

**Author:** ![jwsmith2340](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jwsmith2340](https://community.dynatrace.com/u/jwsmith2340)\
**Post date:** [August 30, 2022, 4:04pm UTC](https://community.dynatrace.com/t/calling-api-with-a-list-of-entity-ids/36381/3 "2022-08-30T16:04:36Z")

</div>

I think that was my problem, I was crossing the V1 and V2 info and confusing myself. Makes sense now, thanks!

---

<div class="post-metadata">

**Author:** ![adam\_gardner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/adam_gardner/32/20087_2.png) [@adam\_gardner](https://community.dynatrace.com/u/adam_gardner)\
**Post date:** [September 1, 2022, 12:01am UTC](https://community.dynatrace.com/t/calling-api-with-a-list-of-entity-ids/36381/4 "2022-09-01T00:01:49Z")

</div>

Suggestion: Tag your entities properly and use a tag instead!
