The playground
Try any of 919 endpoints — live.
Pick an endpoint, load a working example, tweak the params, and send — no signup to try. Results render the way the data deserves; raw JSON, headers & code are one tab away.
Playground demo key · api.reefapi.com
post/weather-intel/v1/air_quality1 credit
nearest-station air quality (OpenAQ v3): pollutants + computed AQI-US/EAQI-EU + station distance + measurement freshness; honest insufficient_data when no station
Working example
Parameters
Latitude in decimal degrees (WGS84), -90..90. (-90–90)
Longitude in decimal degrees (WGS84), -180..180. (-180–180)
Search radius in km around the point for monitoring stations (1..25). (1–25)
request preview
curl -X POST https://api.reefapi.com/weather-intel/v1/air_quality \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"lat":"51.5072","lon":"-0.1276","radius_km":"25"}'Hit Send to run this endpoint live.