API for Environment overall data

is there any API exposed already to know the environments and its status(trail and expired values).

Currently this information is only visible in /cmc#cm/environments;gf=all console.

As of right now, no there is not an API for the CMC, but then again its been 6 months since I have been on a managed platform.

Perhaps the Cluster API will provide what you need. There’s a series of endpoints to get information about your environments.

https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/cluster-api/dynatrace-cluster-api/