Research
NASA Open APIs logo

NASA Open APIs API

api.nasa.gov

NASA Open APIs - Astronomy Picture of the Day and near-Earth object feeds.

Actions
4
Category
Research
Login
Not required
Output
JSON

Call the NASA Open APIs API

Submit a task, then poll the job until it settles. This example runs act_api_nasa_gov_apod_reference_readme.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_api_nasa_gov_apod_reference_readme",
    "params": {}
  }'

4 actions on api.nasa.gov

Read

  • APOD API Reference

    act_api_nasa_gov_apod_reference_readmeread1 credit / call

    Returns the APOD API reference docs with endpoint examples, parameters, and usage notes.

  • Asteroid Feed by Date Range

    act_api_nasa_gov_neo_feed_by_date_rangeread2 credits / call

    Returns near-Earth objects approaching Earth within a date range, with per-day hazard and distance data.

    api_key
    string · required
    start_date
    date · required
    end_date
    date · required
  • Astronomy Picture of the Day

    act_api_nasa_gov_apod_daily_recordread1 credit / call

    Returns the Astronomy Picture of the Day with title, explanation, media type, and image URLs.

    api_key
    string · required
  • Browse Asteroid Catalog

    act_api_nasa_gov_neo_browse_catalogread2 credits / call

    Returns the paginated near-Earth object catalog with diameter, magnitude, and hazard data per asteroid.

    api_key
    string · required
    page
    integer
    size
    integer

NASA Open APIs API questions

Is there an API for NASA Open APIs?
NASA Open APIs does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for api.nasa.gov. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape NASA Open APIs data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when api.nasa.gov changes its markup, Anakin updates the action.
Do I need a NASA Open APIs account?
No. Every NASA Open APIs action listed here runs anonymously — no account and no credentials required.
What does the NASA Open APIs API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Research APIs

All Research sites