{"uid":"cap_oL5GBKBV8rQWoA_n9bN36","slug":"space-objects-close-approaches-86acfb45","name":"Space Objects Close Approaches","description":"Asteroids and comets passing Earth within a lunar-distance limit in the next or last N days: distance, speed, size range.","url":"https://space-objects.x402tookit.com/close-approaches?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"days":{"type":"integer","description":"Window length 1 to 365 days (default 30)"},"limit":{"type":"integer","description":"Passes returned, 1 to 50 (default 15)"},"orderBy":{"type":"string","description":"date (default) or distance (closest first)"},"direction":{"type":"string","description":"upcoming (default) or past"},"maxDistanceLD":{"type":"number","description":"Maximum miss distance in lunar distances, 0.1 to 50 (default 10)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"source":{"type":["null","string"]},"closest":{"type":["null","object"],"properties":{"name":{"type":["null","string"]},"approachTdb":{"type":["null","string"]},"distanceLunar":{"type":["null","number"]}}},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"returned":{"type":["null","number"]},"direction":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"approaches":{"type":["array","null"],"items":{"type":"object","properties":{"name":{"type":["null","string"]},"distanceAu":{"type":["null","number"]},"distanceKm":{"type":["null","number"]},"approachTdb":{"type":["null","string"]},"daysFromNow":{"type":["null","number"]},"designation":{"type":["null","string"]},"distanceLunar":{"type":["null","number"]},"distanceMaxAu":{"type":["null","number"]},"distanceMinAu":{"type":["null","number"]},"timeUncertainty":{"type":["null","string"]},"relativeSpeedKmS":{"type":["null","number"]},"absoluteMagnitudeH":{"type":["null","number"]},"estimatedDiameterM":{"type":["null","object"],"properties":{"largest":{"type":["null","number"]},"typical":{"type":["null","number"]},"smallest":{"type":["null","number"]}}}}}},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"windowDays":{"type":["null","number"]},"totalMatches":{"type":["null","number"]},"maxDistanceLD":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_z8OPbz-S1W5qyBMaGDzr_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns asteroids and comets passing Earth within a configurable lunar-distance limit over a specified recent or upcoming day window, with distance, speed, and size data.","exampleAgentPrompt":"Show me all asteroids and comets passing within 8 lunar distances of Earth in the next 45 days, sorted by distance, and return up to 20 results.","exampleUseCases":[{"title":"Weekend asteroid watch briefing","prompt":"What near-Earth objects are coming within 10 lunar distances over the next 7 days? Sort them by distance so I can see the closest ones first."},{"title":"Historical close-approach research","prompt":"Pull the last 90 days of asteroid and comet close approaches that came within 5 lunar distances of Earth, sorted by date, and give me up to 50 results."},{"title":"Space threat monitoring dashboard","prompt":"Check for any asteroids passing within 3 lunar distances in the next 30 days — I want the top 15 closest ones so I can flag anything that looks concerning."}],"resultDescription":"A JSON object containing a list of close-approach events, each with the object's name, designation, approach date, miss distance in lunar distances/AU/km, relative speed in km/s, absolute magnitude, size range estimates, time uncertainty, and days from now. Also includes a summary string, source URL, total count returned, direction (upcoming or past), and a 'closest' highlight object.","failureModes":["Invalid query parameter values (e.g. days outside 1-365, limit outside 1-50, maxDistanceLD outside 0.1-50) may return a 400 error","No results returned if no objects pass within the specified distance window during the time range","Degraded mode flag set to true if upstream NASA/JPL data is temporarily unavailable or stale","Payment failure (402) if x402 payment header is missing or USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a filterable, paginated list of multiple upcoming or recent Earth close approaches across all known NEOs, with configurable distance and time windows. Prefer this over the single-object lookup endpoint when you don't have a specific asteroid designation and want a broad survey. It is ideal for monitoring dashboards, alert systems, or scheduled summaries of space traffic near Earth.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:42.265Z","isFirstParty":false,"canonicalSlug":"space-objects-close-approaches-86acfb45"}