The historical API is going to be released on July 18, 2022. This means that the URL will switch to api.purpleair.com from june2022.api.purpleair.com. More information is available at the following post: New Version of the PurpleAir API on July 18th.