Science & Math — entry 014 of 28
NASA
NASA's Open APIs give programmatic access to imagery and data from missions across the agency — the Astronomy Picture of the Day, Mars rover photos, near-Earth object tracking, and Earth-imagery archives among them. A free registered key raises the shared DEMO_KEY's 30-requests/hour limit to 1,000 requests/hour. All endpoints return JSON.
AuthenticationNone requiredCall it straight away — no key, no signup.
HTTPSSupportedTraffic is encrypted in transit.
CORSEnabledCallable directly from browser JavaScript.
PricingFreeNo paid tier — free for the documented use case.
FormatsJSONResponses can be requested as JSON.
GreatAPIs Score
Score94
Authentication25/25No authentication required
Pricing20/20Free to use
Docs20/20Machine-readable spec file bundled
Formats9/15Single response format
Freshness20/20Verified within 6 months
Auth quickstart
- No key needed — call it now.
Stored keyNo key stored
Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.
Endpoints
request tag1
An example tag
GET/apodReturns images
Parameters
| Name | In | Required | Type |
|---|---|---|---|
date | query | no | string |
hd | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | successful operation | — |
400 | Date must be between Jun 16, 1995 and Mar 28, 2019. | — |
Try it
Developer reference
Base URL
https://api.nasa.gov/planetaryRate limit
DEMO_KEY: 30 requests/hour, 50 requests/day; registered key: 1,000 requests/hour
Key endpoints
- GET/apod