Weather, Air Quality & Earthquake Risk API by Location
Pricing
from $4.25 / 1,000 location assesseds
Weather, Air Quality & Earthquake Risk API by Location
Weather, air quality (AQI, PM2.5) and nearby earthquakes for any place on Earth in one call, plus a clear/caution/hazard verdict with reasons. Use it to check conditions or hazards at a location; many locations per run. Keyless (Open-Meteo + USGS); webhook alerts.
Pricing
from $4.25 / 1,000 location assesseds
Rating
0.0
(0)
Developer
Centor Prat
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a month ago
Last modified
Categories
Features
Share
🌍 Weather, Air Quality & Earthquake Risk API by Location
One call, three live sources, one answer. For any point (or many), this fuses current
weather + air quality + recent earthquakes into a single computed verdict —
clear / caution / hazard — with the exact hazard flags and reasons, instead of
making your agent hit three APIs and stitch the result.
Headless · keyless (no API keys to manage) · structured JSON out · built for AI agents.
⚡ Why it's different
Other actors give you raw weather, raw air quality, or raw quakes. This one composes and
judges them: strong gusts ☁️ + unhealthy air 😷 + a nearby M5 quake 🌋 → one hazard verdict
with the reasons spelled out. Ask once, decide immediately.
📋 What it does & what you get
| Field | Meaning |
|---|---|
status | Computed verdict: clear · caution · hazard |
flags | e.g. high_wind, heavy_precip, low_visibility, poor_air, strong_quake, dark |
reasons | Human-readable why (e.g. "notable earthquake nearby (M4.9)") |
weather | temp °C, wind & gusts km/h, precip mm, visibility m, is-day, sunrise/sunset, condition |
airQuality | PM2.5, PM10, US AQI + band, EU AQI, ozone, NO₂ |
seismic | count, max magnitude, and the recent events (place, time, depth) |
sources | the three upstream sources (attribution) |
📥 Input
| Field | Type | Meaning |
|---|---|---|
latitude, longitude | number | A single point (decimal degrees) |
label | string | Optional name for that point |
locations | array | Many points: [{"latitude":35.68,"longitude":139.69,"label":"Tokyo"}] |
radiusKm | integer | Earthquake search radius (default 300) |
quakeLookbackDays | integer | Days back to search quakes (default 7) |
minMagnitude | number | Ignore quakes below this (default 2.5) |
onlyAlerts | boolean | Drop clear points (great with a schedule) |
webhookUrl | string | POST results here if any (Zapier/Make/n8n/custom) |
Example input
{"locations": [{ "latitude": 35.68, "longitude": 139.69, "label": "Tokyo" },{ "latitude": 40.4168, "longitude": -3.7038, "label": "Madrid" }],"radiusKm": 300,"quakeLookbackDays": 7,"minMagnitude": 2.5}
📤 Output (one row per point)
{"label": "Tokyo", "latitude": 35.68, "longitude": 139.69,"status": "caution", "flags": ["quake"], "reasons": ["notable earthquake nearby (M4.9)"],"weather": { "weather": "mainly clear", "temperatureC": 16, "windGustKmh": 22,"visibilityM": 32740, "isDay": true, "sunrise": "2026-...T05:48", "sunset": "2026-...T17:11" },"airQuality": { "usAqi": 63, "aqiBand": "moderate", "pm2_5": 17.3, "pm10": 24.1 },"seismic": { "count": 5, "maxMag": 4.9, "events": [ { "mag": 4.9, "place": "...", "timeUtc": "2026-..." } ] },"sources": ["open-meteo.com", "air-quality-api.open-meteo.com", "earthquake.usgs.gov (USGS)"],"capturedAt": "2026-..."}
💡 Use cases
- Field / drone / outdoor ops: is this site safe to operate right now, and why?
- Logistics & delivery: flag routes/depots hitting severe wind, low visibility or heavy rain.
- Travel & events: a one-shot "is it clear at this destination" check across many points.
- Agent tools: give a location assistant one call instead of three APIs + glue code.
- Scheduled monitoring: watch a set of sites and get pinged only on caution/hazard.
🤖 For AI agents (MCP)
Keyless, one call → a fused, judged answer with the raw sub-data attached for grounding. Every input is described in the schema for programmatic/MCP use. Example MCP server config:
{"mcpServers": {"location-conditions": {"url": "https://mcp.apify.com/?tools=actors,docs,centorprat/weather-air-quality-earthquake-api"}}}
Claude Code: claude mcp add --transport http apify "https://mcp.apify.com/?tools=actors,docs,centorprat/weather-air-quality-earthquake-api" --header "Authorization: Bearer <YOUR_APIFY_TOKEN>"
No extra setup: this Actor is callable from Claude, Cursor, ChatGPT or any MCP client through the Apify MCP server, and agents can find it on their own with the server's search-actors tool.
🔔 Alerts (scheduled)
Set onlyAlerts: true + webhookUrl, add an Apify Schedule (e.g. every 30 min), and get
pinged only when a watched location turns caution/hazard.
🚀 Ready-made tasks (one click)
Pre-configured runs for the most common jobs. Open one, change the input, run:
- Air Quality & Weather Now for Any City: Current AQI, PM2.5, PM10 and weather for many cities in one call, with a hazard verdict per city. Keyless air quality API.
- Recent Earthquakes Near a Location (USGS): Recent USGS earthquakes near any lat/lon with magnitude, distance and time, plus weather, air quality and a hazard verdict.
❓ FAQ
- Do I need an API key? No — all three sources are keyless and free; you only pay the Actor's per-result fee.
- How fresh is it? Weather & air quality are current; earthquakes cover your chosen lookback window (default 7 days).
- How many locations per run? As many as you pass in
locations; you're billed per location assessed. - What makes a
hazardvscaution? Severe thresholds (e.g. gusts ≥60 km/h, US AQI ≥151, precip ≥7 mm, M≥5.5) →hazard; moderate thresholds →caution; otherwiseclear. - Why both US and EU AQI? Different regions read air quality on different scales; you get both plus a plain-language band.
- Can I only get alerts? Yes —
onlyAlerts: truedropsclearpoints; addwebhookUrlto push them out. - What units? Temperature °C, wind km/h, precipitation mm, visibility m, magnitudes on the USGS scale.
- Is the data stored? No — it's fetched, composed, returned. Nothing is retained.
- Is this legal to use commercially? Yes — Open-Meteo is free for commercial use with attribution; USGS data is U.S. public domain.
- What if a source is down? The row still returns with whatever composed successfully; the failed sub-object carries an error flag.
📜 Data & attribution
Weather & air quality from Open-Meteo (open data, free for commercial use with attribution); earthquakes from the USGS earthquake feed (U.S. public domain). This actor retrieves and composes public data; it stores none of it.
🔗 Related actors
Part of one suite of keyless, agent-ready composers by the same developer:
- Shopify Store Leads + App Audit (Reviews, Email, Pixels): Shopify stores by niche, verified and audited for missing apps (reviews, email/SMS, upsell, loyalty, chat, subscriptions), pixels and theme: scored leads with emails.
- Google Maps Leads + Website Audit for Agencies: local businesses from Google Maps audited for website, Google profile, reviews, booking and tracking gaps: scored, explained leads with phone and emails.
- FEMA Flood Zone & Property Risk API - Zillow/Redfin Enricher: FEMA flood zone + 18-hazard FEMA risk index + neighborhood demographics per US address, or for a whole Zillow/Redfin dataset.
- Domain Lookup API - DNS, MX, SPF, Tech & Contact Emails: DNS + live homepage → IPs, MX/SPF, tech, socials and public contacts per domain.
- Wikipedia & Wikidata API - Entity Facts, Summary & Pageviews: Wikipedia + Wikidata + pageviews → one structured brief per company, person or place.
- Country Economic Data API - World Bank GDP, FX & Holidays: World Bank + FX + public holidays → one market brief per country.
- Aircraft Tracker API (ADS-B) - Approach & Military Alerts: aircraft approaching a point with CPA/ETA + military/unidentified flags and alerts.
- NARA Catalog Extractor: US National Archives catalog search → digital-object download URLs + metadata.