NASA Open APIs Categories API

The Categories API from NASA Open APIs — 2 operation(s) for categories.

OpenAPI Specification

nasa-gov-categories-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: NASA Astronomy Picture of the Day (APOD) Album Categories API
  description: 'One of the most popular NASA websites, exposed as a JSON API. Returns the Astronomy Picture of the Day with

    title, explanation, image URL, HD URL, optional copyright, and media type. Supports single date, date ranges,

    random counts, and video thumbnails.

    '
  version: '1.0'
  contact:
    name: NASA Open APIs
    url: https://api.nasa.gov/
  license:
    name: US Government Work (Public Domain)
    url: https://www.nasa.gov/multimedia/guidelines/index.html
servers:
- url: https://api.nasa.gov
  description: NASA Open API gateway via api.data.gov
security:
- ApiKeyAuth: []
tags:
- name: Categories
paths:
  /categories:
    get:
      summary: Get Event Categories
      operationId: getCategories
      tags:
      - Categories
      responses:
        '200':
          description: List of EONET event categories.
  /categories/{category}:
    get:
      summary: Get Events for a Category
      operationId: getEventsByCategory
      tags:
      - Categories
      parameters:
      - name: category
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Events in the specified category.
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: api_key