NASA

APOD

This endpoint structures the APOD imagery and associated metadata so that it can be repurposed for other applications. In addition, if the concept_tags…

Government & public#openapi#media#open-data

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

This endpoint structures the APOD imagery and associated metadata so that it can be repurposed for other applications. In addition, if the concept_tags parameter is set to True, then keywords derived from the image explanation are returned. These keywords could be used as auto-generated hashtags for twitter or instagram feeds; but generally help with discoverability of relevant imagery

Endpoints 1

request tag

  • GETReturns images/apod?date=string&hd=trueReturns the picture of the day

API details

Base URL
https://api.nasa.gov/planetary
http://api.nasa.gov/planetary
Authentication
An API key in the api_key query parameter
Operations
1 operation on 1 pathGET 1
Main resources
request tag 1
Response formats
application/json
Description format
OpenAPI 3.0.0, API version 1.0.0
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the APOD in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the APOD collection, without the publisher's secrets.
  3. Add your credentialsThis API uses an API key in the api_key query parameter. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Returns images” (GET /apod?date=string&hd=true), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the APOD?

This endpoint structures the APOD imagery and associated metadata so that it can be repurposed for other applications. In addition, if the concept_tags… It is listed under Government & public and has 1 endpoint.

Who publishes the APOD?

It is listed from NASA's public API description (an OpenAPI document), not published by NASA on Swastik Codes. Anyone who controls nasa.gov can claim the profile by adding a DNS TXT record.

What is the base URL of the APOD?

Its description lists 2 base URLs: https://api.nasa.gov/planetary, http://api.nasa.gov/planetary. The first is the usual one; the others are typically sandbox or regional servers.

How do I authenticate with the APOD?

With an API key in the api_key query parameter.

How many endpoints does the APOD have?

1 operation on 1 path (1 GET). The largest groups are request tag.

Is forking the APOD free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 1 time.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.