Get Asteroids
get_asteroidsGet near-Earth asteroids approaching within a date range (max 7 days). Returns size, velocity, and miss distance. Example: get_asteroids({ start_date: "2024-01-01", end_date: "2024-01-07", _apiKey: "DEMO_KEY" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _apiKey | No | NASA API key (optional, defaults to DEMO_KEY) | |
| end_date | Yes | End date in YYYY-MM-DD format (max 7 days after start) | |
| start_date | Yes | Start date in YYYY-MM-DD format |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asteroids | Yes | List of near-Earth asteroids (up to 30) | |
| total_count | Yes | Total count of near-Earth objects in the date range |