Retrieve historical air quality data via Google Maps, settled per-call on Tempo L2.
What it does
This endpoint wraps the Google Maps Air Quality History API behind an MPP (Micropayment Protocol) paywall hosted on Tempo's infrastructure. The intended operation is a POST to `/airquality/v1/history:lookup`, which mirrors the Google Maps Air Quality API's history lookup method. Callers supply a location (latitude/longitude) and a time range to receive historical air quality index (AQI) readings, pollutant concentrations, and related metadata.
The endpoint is part of a broader Google Maps MPP gateway at `googlemaps.mpp.tempo.xyz` that also exposes geocoding, directions, places, routes, tiles, weather, and other Google Maps Platform services. Payment is expected to settle via the Tempo L2 network using pathUSD or another supported stablecoin, though the exact pricing could not be confirmed because the probe did not return a 402 challenge.
Important caveat: during probing, HEAD and GET requests to this endpoint returned HTTP 404 rather than the expected 402 payment challenge. This may indicate the endpoint only responds to POST requests (consistent with the Google Maps Air Quality API, which uses POST), or it may signal that the endpoint is not currently live. No documentation, OpenAPI schema, or pricing information was found on the provider's domain.
Capabilities
Use cases
- —Retrieving historical AQI readings for a specific latitude/longitude over a date range
- —Analyzing trends in pollutant concentrations for environmental research
- —Powering dashboards that show air quality changes over time
- —Enriching location-based apps with past air quality context
Fit
Best for
- —Agents needing historical air quality data without managing Google Maps API keys directly
- —Micropayment-based access to Google Maps air quality history
- —Programmatic lookups of past pollution levels at specific coordinates
Not for
- —Real-time or current air quality monitoring (this is the history endpoint)
- —Use cases requiring guaranteed uptime — endpoint liveness is unconfirmed
- —Bulk historical data downloads spanning many locations at once
Quick start
curl -X POST https://googlemaps.mpp.tempo.xyz/airquality/v1/history:lookup \
-H "Content-Type: application/json" \
-d '{"location":{"latitude":37.7749,"longitude":-122.4194},"period":{"startTime":"2024-01-01T00:00:00Z","endTime":"2024-01-02T00:00:00Z"}}'Example
Request
{
"period": {
"endTime": "2024-01-02T00:00:00Z",
"startTime": "2024-01-01T00:00:00Z"
},
"location": {
"latitude": 37.7749,
"longitude": -122.4194
}
}Endpoint
Quality
The probe returned 404 on both HEAD and GET rather than a 402 MPP challenge, and every crawled page on the provider domain returned 'Not Found'. No schema, pricing, or documentation is available. The endpoint may only accept POST, but this cannot be confirmed from the probe data.
Warnings
- —Endpoint returned 404 on HEAD and GET — may require POST but liveness is unconfirmed
- —No 402 MPP payment challenge was captured; pricing and payment details are unknown
- —All crawled pages on googlemaps.mpp.tempo.xyz returned 404 — no docs or schema available
- —Request/response schemas are inferred from the upstream Google Maps Air Quality API and are not verified against this gateway
Citations
- —The Google Maps Air Quality API history:lookup method uses POST and accepts location + time period parametershttps://developers.google.com/maps/documentation/air-quality/reference/rest/v1/history/lookup