skypeek: upcoming asteroid close approaches
asteroid_close_approachesFind upcoming near-Earth asteroid and comet close approaches to Earth within 1-30 days and a chosen miss distance, returning approach time, distance, velocity, magnitude, and diameter.
Instructions
skypeek: List asteroid and comet close approaches to Earth. For space weather use get_space_weather. Returns near-Earth object close approaches to Earth in the next 1-30 days within a miss distance (default 0.05 au, about 19.5 lunar distances): designation, approach time, nominal distance with its 3-sigma range, relative velocity, absolute magnitude and diameter (published or a rough range). Data: NASA/JPL Solar System Dynamics close-approach API (US Government work); no endorsement by NASA or JPL is implied. At most 100 approaches per answer. Not an impact-risk assessment. Cached up to an hour. An upstream outage is a 503 upstream_unavailable (not charged). Typically under 1 s. Price: USD 0.001. Free: 5 skypeek calls per IP per UTC day. Docs: https://tanod.dev/learn/asteroid-close-approach-api.html
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-ahead window in days (1-30). | |
| dist_max_au | No | Largest nominal miss distance in au (0.0001-0.2; 0.05 au is about 19.5 lunar distances). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| note | No | ||
| count | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| stale | No | ||
| cached | No | ||
| source | No | ||
| truncated | No | ||
| approaches | No | ||
| attribution | No | ||
| dist_max_au | No | ||
| cache_seconds | No | ||
| total_matches | No | ||
| dist_max_lunar | No |