NASA EPIC API

The EPIC API from NASA — 5 operation(s) for epic.

Operations 5

GET /EPIC/api/natural NASA Get most recent natural color imagery metadata #
GET /EPIC/api/natural/date/{date} NASA Get natural color imagery metadata for a specific date #
GET /EPIC/api/natural/all NASA Get all available natural color imagery dates #
GET /EPIC/api/enhanced NASA Get most recent enhanced color imagery metadata #
GET /EPIC/api/enhanced/date/{date} NASA Get enhanced color imagery metadata for a specific date #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nasa-epic-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

nasa-epic-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NASA (Earth Polychromatic Imaging Camera) EPIC API
  description: The EPIC API provides access to imagery from NASA's Earth Polychromatic Imaging Camera onboard the DSCOVR spacecraft. EPIC captures full-disc images of the Earth in multiple wavelengths.
  version: 1.0.0
  contact:
    name: NASA API Support
    url: https://api.nasa.gov
servers:
- url: https://api.nasa.gov
tags:
- name: EPIC
paths:
  /EPIC/api/natural:
    get:
      operationId: getEpicNatural
      summary: NASA Get most recent natural color imagery metadata
      description: Returns metadata for the most recent natural color images.
      parameters:
      - name: api_key
        in: query
        required: true
        schema:
          type: string
          default: DEMO_KEY
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EpicImage'
      tags:
      - EPIC
  /EPIC/api/natural/date/{date}:
    get:
      operationId: getEpicNaturalByDate
      summary: NASA Get natural color imagery metadata for a specific date
      parameters:
      - name: date
        in: path
        required: true
        schema:
          type: string
          format: date
      - name: api_key
        in: query
        required: true
        schema:
          type: string
          default: DEMO_KEY
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EpicImage'
      tags:
      - EPIC
  /EPIC/api/natural/all:
    get:
      operationId: getEpicNaturalDates
      summary: NASA Get all available natural color imagery dates
      parameters:
      - name: api_key
        in: query
        required: true
        schema:
          type: string
          default: DEMO_KEY
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    date:
                      type: string
                      format: date
      tags:
      - EPIC
  /EPIC/api/enhanced:
    get:
      operationId: getEpicEnhanced
      summary: NASA Get most recent enhanced color imagery metadata
      parameters:
      - name: api_key
        in: query
        required: true
        schema:
          type: string
          default: DEMO_KEY
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EpicImage'
      tags:
      - EPIC
  /EPIC/api/enhanced/date/{date}:
    get:
      operationId: getEpicEnhancedByDate
      summary: NASA Get enhanced color imagery metadata for a specific date
      parameters:
      - name: date
        in: path
        required: true
        schema:
          type: string
          format: date
      - name: api_key
        in: query
        required: true
        schema:
          type: string
          default: DEMO_KEY
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EpicImage'
      tags:
      - EPIC
components:
  schemas:
    Position:
      type: object
      properties:
        x:
          type: number
        y:
          type: number
        z:
          type: number
    EpicImage:
      type: object
      properties:
        identifier:
          type: string
          description: Unique identifier for the image.
        caption:
          type: string
          description: Caption describing the image.
        image:
          type: string
          description: Image filename (without extension).
        version:
          type: string
        date:
          type: string
          format: date-time
        centroid_coordinates:
          type: object
          properties:
            lat:
              type: number
            lon:
              type: number
        dscovr_j2000_position:
          $ref: '#/components/schemas/Position'
        lunar_j2000_position:
          $ref: '#/components/schemas/Position'
        sun_j2000_position:
          $ref: '#/components/schemas/Position'
        attitude_quaternions:
          type: object
          properties:
            q0:
              type: number
            q1:
              type: number
            q2:
              type: number
            q3:
              type: number