---
title: "Asteroids NeoWs"
description: "How nasa-mcp uses NASA NeoWs (Near Earth Object Web Service) on api.nasa.gov: feed, lookup and browse, quota, quirks and citation."
type: Reference
tags:
  - neows
  - asteroids
  - neo
  - api-key
  - service
generated:
  by: "claude/opus-5.5"
  at: "2026-11-27T00:00:00Z"
sources:
  - id: design
    resource: "DESIGN.md"
    title: "nasa-mcp design"
    author: "team:nasa-mcp"
  - id: research
    resource: "RESEARCH.md"
    title: "nasa-mcp research notes (upstream services, 2026-11-27)"
    author: "team:nasa-mcp"
  - id: catalog
    resource: "src/nasa_mcp/providers/catalog.py"
    title: "nasa-mcp service catalogue"
    author: "team:nasa-mcp"
  - id: neows-docs
    resource: "https://api.nasa.gov/#asteroids-neows"
    title: "api.nasa.gov NeoWs entry"
    author: "team:nasa"
status: stable
stale_after: "2027-05-27T00:00:00Z"
---

<!--
SPDX-FileCopyrightText: 2026 Tyson Lee Swetnam
SPDX-License-Identifier: CC-BY-4.0
-->

# Asteroids NeoWs (`neows`)

Near-Earth asteroids from JPL CNEOS data: a close-approach feed by date, lookup by SPK-ID, and the
whole catalogue (about 63,000 objects on 2026-11-27).

## Endpoint

`https://api.nasa.gov/neo/rest/v1` (`/feed`, `/neo/{id}`, `/neo/browse`).

## Key use

**Yes.** Every NeoWs call spends api.nasa.gov quota: `NASA_MCP_NASA__API_KEY` if set, otherwise
DEMO_KEY (observed: 10 requests, then a block of about 22 hours). See
[the api.nasa.gov key](../getting-started/api-key.md). For keyless asteroid data use the
[JPL SSD tools](ssd.md).

## Tools

| Tool | What it returns |
| --- | --- |
| `nasa_neo_feed` | objects passing Earth in a window of up to 7 days: size range, hazard and Sentry flags, approach time, miss distance (km, lunar, au), relative velocity; sortable |
| `nasa_neo_lookup` | one object by SPK-ID: orbit, orbit class and its close approaches in a date window (default +/- 10 years) |
| `nasa_neo_browse` | a page of the catalogue (20 per page, 0-based pages) without approach lists |

Inputs and result fields: [Tool reference](../tools/reference.md).

## Quirks handled

* The feed window is at most **7 days**; longer windows are refused locally (upstream 400s).
* Numbers arrive as strings (`"0.3355"`, miss distances, velocities) and are converted.
* The feed's date keys are not sorted; the server sorts.
* `/neo/{id}` returns the **full** approach history (282 approaches from 1900 to 2200 and 121 KB for
  one object, including approaches to Mercury and Venus); the server filters to the window and
  `max_approaches`.
* NeoWs echoes the key inside `links.self/next/previous` (as `http://` URLs). Those links are
  never returned, and every endpoint is redacted (`api_key=***`).
* Lookups are cached 1 day (`static`).

## Citation

`source.citation`:

> NASA Asteroids NeoWs, data from the JPL Center for Near-Earth Object Studies (CNEOS), https://cneos.jpl.nasa.gov/.
