# Command to output all active hosts

**URL:** <https://community.traefik.io/t/command-to-output-all-active-hosts/13354>\
**Category:** Traefik v2\
**Tags:** cli\
**Created:** [February 6, 2022, 8:55pm UTC](https://community.traefik.io/t/command-to-output-all-active-hosts/13354 "2022-02-06T20:55:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![leonfilser](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/leonfilser/32/1964_2.png) [@leonfilser](https://community.traefik.io/u/leonfilser)\
**Post date:** [February 6, 2022, 8:55pm UTC](https://community.traefik.io/t/command-to-output-all-active-hosts/13354/1 "2022-02-06T20:55:38Z")

</div>

Is there a command or maybe some other way to get a list of all active Hosts (Domains) in Traefik?

---

<div class="post-metadata">

**Author:** ![tommoulard](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/tommoulard/32/2997_2.png) [@tommoulard](https://community.traefik.io/u/tommoulard)\
**Post date:** [February 7, 2022, 10:23am UTC](https://community.traefik.io/t/command-to-output-all-active-hosts/13354/2 "2022-02-07T10:23:07Z")

</div>

Maybe that the `/api/rawdata` API endpoint can solve your needs
