# Monitor downtime along with Failure Reasons through API

**URL:** <https://community.dynatrace.com/t/monitor-downtime-along-with-failure-reasons-through-api/39346>\
**Category:** Dynatrace API\
**Tags:** synthetic-monitoring, dynatrace-api\
**Created:** [April 18, 2023, 2:20pm UTC](https://community.dynatrace.com/t/monitor-downtime-along-with-failure-reasons-through-api/39346 "2023-04-18T14:20:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Balamurugesh](https://avatars.discourse-cdn.com/v4/letter/b/f475e1/32.png) [@Balamurugesh](https://community.dynatrace.com/u/Balamurugesh)\
**Post date:** [April 18, 2023, 2:20pm UTC](https://community.dynatrace.com/t/monitor-downtime-along-with-failure-reasons-through-api/39346/1 "2023-04-18T14:20:05Z")

</div>

Hi Team, I am looking for an API that will provide synthetic monitor downtime and failure reason at a particular time.

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [April 18, 2023, 2:38pm UTC](https://community.dynatrace.com/t/monitor-downtime-along-with-failure-reasons-through-api/39346/2 "2023-04-18T14:38:35Z")

</div>

Hi,

Hi,

For this you can used Synthetic Monitor API (v1):

> **[Synthetic monitors API - GET a monitor](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/synthetic/synthetic-monitors/get-a-monitor)**
>
> View a synthetic monitor via the Synthetic v1 API.

Radek

---

<div class="post-metadata">

**Author:** ![Ana.Kuzmenchuk](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Ana.Kuzmenchuk](https://community.dynatrace.com/u/Ana.Kuzmenchuk)\
**Post date:** [April 20, 2023, 11:03am UTC](https://community.dynatrace.com/t/monitor-downtime-along-with-failure-reasons-through-api/39346/3 "2023-04-20T11:03:19Z")

</div>

Hey&nbsp;[@Balamurugesh](https://community.dynatrace.com/user/51242), were you able to find the metrics in the documentation Radek has provided?

---

<div class="post-metadata">

**Author:** ![Balamurugesh](https://avatars.discourse-cdn.com/v4/letter/b/f475e1/32.png) [@Balamurugesh](https://community.dynatrace.com/u/Balamurugesh)\
**Post date:** [April 20, 2023, 1:58pm UTC](https://community.dynatrace.com/t/monitor-downtime-along-with-failure-reasons-through-api/39346/4 "2023-04-20T13:58:13Z")

</div>

i couldn’t find the downtime details in the metrics Radek provided

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [April 20, 2023, 2:29pm UTC](https://community.dynatrace.com/t/monitor-downtime-along-with-failure-reasons-through-api/39346/5 "2023-04-20T14:29:58Z")

</div>

Hi,

I would use [general problems API](https://www.dynatrace.com/support/help/shortlink/api-problems-v2-get-list) filtering only entities I am interested.

You have&nbsp;problemSelector, entitySelector and&nbsp;startTime,&nbsp;endTime and problem information.

If you miss more problem details, as you already have already problem id, you can use [problem details API](https://www.dynatrace.com/support/help/shortlink/api-problems-v2-get-details) to get more details.

I am not sure if Dynatrace has a specific API only for what you are looking for.

Best regards
