Asteroid Close Approaches
Upcoming close approaches with distance (km and lunar), speed and size estimate.
GET
/api/v1/space/asteroidsData source
- NASA/JPL Solar System Dynamics APIsNASA Jet Propulsion Laboratory ·
public-domain· updates Daily
Query parameters
| Parameter | Description | Try value |
|---|---|---|
daysnumber | Look-ahead days (default 30) | |
maxLunarDistancesnumber | Max distance in lunar distances (default 20) | |
apikeystring required | Your API key. Can also be sent as the X-API-Key header. | demo key used here |
Response envelope
Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.