APOD, Mars rover photos, asteroid data, EPIC Earth imagery, and more.

🔑 apiKey🔒 HTTPS🌐 ✓ CORS Enabled
API Details
API NameNASA APIs
AuthenticationapiKey
HTTPS Support✅ Yes — secured
CORS Policy✅ Enabled — browser-safe
DocumentationOpen Docs ↗
⚡ Quick Start

Copy this JavaScript snippet to start using the API immediately.

const res = await fetch("https://api.nasa.gov", {
  headers: { "Authorization": "Bearer YOUR_API_KEY" }
});
const data = await res.json();
console.log(data);
More Science & Education APIs
See all →
Open Notify

Real-time position of the ISS and number of people in space.

No Auth
Get API →
Wikipedia

Extract article summaries, full text, and media from Wikipedia.

No AuthHTTPS
Get API →
arXiv API

Search and retrieve scientific preprints across CS, math, physics.

No AuthHTTPS
Get API →
🚀 Access This API

View endpoints, request formats, rate limits, and full response schemas in the official docs.

Open Documentation →← Browse All APIs
🔐 Authentication Guide
API Key Required

Register on the provider site to get a free key, then pass it in your request:

Authorization: Bearer YOUR_KEY
// or as query param:
?api_key=YOUR_KEY
⚙️ Compatibility
Browser (Frontend)✓ Supported
Server (Node / Python)✓ Always works
HTTPS / SSL✓ Secured
💡 Developer Tips
  • Store keys in .env — never expose them in client-side code.
  • Direct browser fetch calls work — no proxy needed.
  • Handle rate limits with retry logic and exponential backoff.
  • Cache responses locally to minimize calls and stay on free tier.
📂 Science & Education Category

Explore all free APIs in the Science & Education category.

Browse Science & Education
👋 Need help with code?