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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/nasa-neo-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
openapi: 3.2.0
info:
title: NASA NeoWs (Near Earth Object Web Service) Neo API
description: NeoWs is a RESTful web service for near-Earth asteroid information. Data is sourced from the NASA JPL Asteroid team. Users can search for asteroids based on closest approach date, look up specific asteroids, and browse the dataset.
version: 1.0.0
contact:
name: NASA API Support
url: https://api.nasa.gov
servers:
- url: https://api.nasa.gov
tags:
- name: Neo
paths:
/neo/rest/v1/feed:
get:
operationId: getNeoFeed
summary: NASA Get near-Earth objects by date range
description: Returns a list of near-Earth objects with closest approach dates within a given date range. Maximum range is 7 days.
parameters:
- name: start_date
in: query
required: false
description: Start date for the search (YYYY-MM-DD). Defaults to today.
schema:
type: string
format: date
- name: end_date
in: query
required: false
description: End date for the search (YYYY-MM-DD). Defaults to 7 days after start.
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:
$ref: '#/components/schemas/NeoFeed'
tags:
- Neo
/neo/rest/v1/neo/{asteroid_id}:
get:
operationId: getNeoById
summary: NASA Look up a specific near-Earth object
description: Returns detailed information about a specific asteroid by its ID.
parameters:
- name: asteroid_id
in: path
required: true
description: The SPK-ID of the asteroid.
schema:
type: string
- name: api_key
in: query
required: true
schema:
type: string
default: DEMO_KEY
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/NearEarthObject'
tags:
- Neo
/neo/rest/v1/neo/browse:
get:
operationId: browseNeos
summary: NASA Browse the overall asteroid dataset
description: Returns a paginated list of all near-Earth objects.
parameters:
- name: page
in: query
required: false
schema:
type: integer
default: 0
- name: size
in: query
required: false
schema:
type: integer
default: 20
- name: api_key
in: query
required: true
schema:
type: string
default: DEMO_KEY
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
near_earth_objects:
type: array
items:
$ref: '#/components/schemas/NearEarthObject'
page:
type: object
properties:
size:
type: integer
total_elements:
type: integer
total_pages:
type: integer
number:
type: integer
tags:
- Neo
components:
schemas:
CloseApproach:
type: object
properties:
close_approach_date:
type: string
format: date
close_approach_date_full:
type: string
epoch_date_close_approach:
type: integer
format: int64
relative_velocity:
type: object
properties:
kilometers_per_second:
type: string
kilometers_per_hour:
type: string
miles_per_hour:
type: string
miss_distance:
type: object
properties:
astronomical:
type: string
lunar:
type: string
kilometers:
type: string
miles:
type: string
orbiting_body:
type: string
NearEarthObject:
type: object
properties:
id:
type: string
neo_reference_id:
type: string
name:
type: string
nasa_jpl_url:
type: string
format: uri
absolute_magnitude_h:
type: number
estimated_diameter:
type: object
properties:
kilometers:
$ref: '#/components/schemas/DiameterRange'
meters:
$ref: '#/components/schemas/DiameterRange'
miles:
$ref: '#/components/schemas/DiameterRange'
feet:
$ref: '#/components/schemas/DiameterRange'
is_potentially_hazardous_asteroid:
type: boolean
close_approach_data:
type: array
items:
$ref: '#/components/schemas/CloseApproach'
is_sentry_object:
type: boolean
DiameterRange:
type: object
properties:
estimated_diameter_min:
type: number
estimated_diameter_max:
type: number
NeoFeed:
type: object
properties:
element_count:
type: integer
description: Total number of NEOs returned.
near_earth_objects:
type: object
additionalProperties:
type: array
items:
$ref: '#/components/schemas/NearEarthObject'
description: NEOs keyed by closest approach date.