Recent earthquakes near a coordinate.
Recent earthquakes near a coordinate. Returns each quake with magnitude, place name, time (ISO), latitude/longitude/depth, tsunami flag, USGS event URL, and distance-from-query in km — sorted by time descending. Real-time data, post-LLM-training-cutoff. Backed by USGS FDSN event API (public domain). Query: lat (-90..90), lon (-180..180), radius_km (1-1000, default 500), hours (1-720, default 24), min_magnitude (0-10, default 2.0).
Request
- Base URL: https://2s.io
- URL: https://2s.io/api/quakes/recent
- Auth: API key in header PAYMENT-SIGNATURE
Query parameters
Latitude in decimal degrees (WGS84).
Longitude in decimal degrees (WGS84).
Search radius in kilometers.
Look-back window, in hours.
Minimum magnitude to include.
Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.
Response
Changes
No recorded changes to this operation across all 1 revision of this API.