Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

NASA APOD APOD API

Astronomy Picture of the Day endpoints

NASA APOD APOD API is published by NASA APOD on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include APOD. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 1 operation across 1 path, and defines 2 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://api.nasa.gov/planetary.

1 operations 1 paths 2 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://api.nasa.gov
Authentication
API Key
License
Terms of Service
Resource Areas
1

Authentication & Security 1

NASA APOD APOD API declares 1 security scheme for authenticating requests. An API key is passed in the query as api_key (ApiKeyQuery). By default, every request must be authenticated.

  • ApiKeyQuery — NASA API key. Register for a free key at https://api.nasa.gov/signUp. Use DEMOKEY for testing (rate limits apply).

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

APOD 1

Astronomy Picture of the Day endpoints

GET
/apod
Get Astronomy Picture of the Day
getApod 8 params → 200400404500

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are ApodEntry (12 properties), ErrorResponse (3 properties). Each schema is shown below with its type and property counts.

ErrorResponse
object
Error response returned on bad requests or server errors
3 properties
ApodEntry
object
A single Astronomy Picture of the Day entry
12 properties 6 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

nasa-apod-apod-api-openapi.yml Raw ↑