# V2 or V1 API Call to show platform

**URL:** <https://community.dynatrace.com/t/v2-or-v1-api-call-to-show-platform/33929>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [January 30, 2022, 3:35pm UTC](https://community.dynatrace.com/t/v2-or-v1-api-call-to-show-platform/33929 "2022-01-30T15:35:46Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [February 5, 2022, 6:54pm UTC](https://community.dynatrace.com/t/v2-or-v1-api-call-to-show-platform/33929/4 "2022-02-05T18:54:37Z")

</div>

It depends. You can also query host by host names and fetch the host properties. You can query the host by the entitySelector:

```markup
type(HOST),entityName(....)

```

---

_[View the full topic](https://community.dynatrace.com/t/v2-or-v1-api-call-to-show-platform/33929)._
