NASA APIs
Astronomy picture of the day, Mars rovers, asteroids and more. DEMO_KEY works instantly.
Real-time earthquake data from the US Geological Survey in GeoJSON.
This runs in your browser, straight against the real API. Edit the URL and experiment — break nothing, learn everything.
Press Run to call USGS Earthquakes live.
Not a mockup — this is what USGS Earthquakes actually returned when we verified it on 23 Oct 2026 (in 748 ms).
{
"type": "FeatureCollection",
"metadata": {
"generated": 1792742038000,
"url": "https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&limit=2&orderby=magnitude",
"title": "USGS Earthquakes",
"status": 200,
"api": "2.8.2",
"limit": 2,
"offset": 1
},
"features": [
{
"type": "Feature",
"properties": {
"mag": 7.7,
"place": "12 km WSW of Pitaloza Arriba, Panama",
"time": 1791568566036,
"updated": 1792710177789,
"tz": null,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000u18k",
"detail": "https://earthquake.usgs.gov/fdsnws/event/1/query?eventid=us6000u18k&format=geThree ways to call USGS Earthquakes — pick your weapon.
// USGS Earthquakes — no build step, no library. Just fetch.
const res = await fetch("https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&limit=2&orderby=magnitude");
const data = await res.json();
console.log(data);Add the live-verified badge to your docs or repo — it only ever displays the status from our latest check.
<a href="https://freeapis.akclnt.com/api/usgs-earthquakes/"><img src="https://freeapis.akclnt.com/badge/usgs-earthquakes.svg" alt="USGS Earthquakes — live-verified free API on AKCLNT Free APIs"></a>
📜 Full check history & uptime · Status as JSON · Health score: A · 90/100
🔔 Watch this API — a quiet feed that only speaks the week its status changes (down, recovered, reclassified). How it works
Astronomy picture of the day, Mars rovers, asteroids and more. DEMO_KEY works instantly.
Search NASA's entire image and video archive — no key needed.
Launches, rockets, capsules and Starlink data from the community SpaceX API.