# How do get synthetic monitor availabililty from API?

**URL:** <https://community.dynatrace.com/t/how-do-get-synthetic-monitor-availabililty-from-api/42100>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api, synthetic-monitoring\
**Created:** [October 16, 2023, 1:40pm UTC](https://community.dynatrace.com/t/how-do-get-synthetic-monitor-availabililty-from-api/42100 "2023-10-16T13:40:42Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [October 18, 2023, 7:34pm UTC](https://community.dynatrace.com/t/how-do-get-synthetic-monitor-availabililty-from-api/42100/12 "2023-10-18T19:34:57Z")

</div>

That’s because now-30d is more than 30d, (30 days and few hours), and when you set the resolution to 30d you still have some extra points to be captured, so you get two values.

Setting the resolution to a higher number than the from will get you one single data point then.

from=now-30d, resolution=31d

from=now-7d, resolution=8d

from=now-90d, resolution=91d

---

_[View the full topic](https://community.dynatrace.com/t/how-do-get-synthetic-monitor-availabililty-from-api/42100)._
