Template sensor from API

I am trying to create a template sensor using a response from an API. One of the keys is a datetime that is dynamic and I am not sure how to handle that in the template. This is the response that I get back, and the first datetime key is where the problem is, and I am trying to get “value”:“72.1”. Any help is appreciated.

         "2022-05-21 08:28:47":{
               "datetime":"2022-05-21 08:28:47",
               "obtime":"2022-05-21 07:59:00",
               "name":"Average Surface Soil Temperature",