/v1/approaches
Upcoming (or past) close approaches
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/closeapproach-api/v1/approaches" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/closeapproach-api/v1/approaches", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/closeapproach-api/v1/approaches");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/closeapproach-api/v1/approaches",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"count": 23,
"total": 23,
"approaches": [
{
"date": "2026-May-31 00:54",
"object": "2026 KJ2",
"distance": {
"au": 0.044786,
"km": 6699907,
"lunar": 17.43
},
"fullname": "(2026 KJ2)",
"estimated_diameter": {
"max_km": 0.041,
"min_km": 0.018
},
"absolute_magnitude_h": 25.807,
"relative_velocity_km_s": 7.212
},
{
"date": "2026-May-31 01:31",
"object": "2026 KA3",
"distance": {
"au": 0.024714,
"km": 3697202,
"lunar": 9.62
},
"fullname": "(2026 KA3)",
"estimated_diameter": {
"max_km": 0.044,
"min_km": 0.02
},
"absolute_magnitude_h": 25.654,
"relative_velocity_km_s": 9.333
},
{
"date": "2026-Jun-01 03:26",
"object": "2026 KV",
"distance": {
"au": 0.02598,
"km": 3886503,
"lunar": 10.11
},
"fullname": "(2026 KV)",
"estimated_diameter": {
"max_km": 0.045,
"min_km": 0.02
},
"absolute_magnitude_h": 25.611,
"relative_velocity_km_s": 10.935
},
{
"date": "2026-Jun-01 10:13",
"object": "2026 JN",
"distance": {
"au": 0.040903,
"km": 6119027,
"lunar": 15.92
},
"fullname": "(2026 JN)",
"estimated_diameter": {
"max_km": 0.083,
"min_km": 0.037
},
"absolute_magnitude_h": 24.281,
"relative_velocity_km_s": 7.77
},
{
"date": "2026-Jun-01 11:35",
"object": "2026 KO3",
"distance": {
"au": 0.044234,
"km": 6617240,
"lunar": 17.21
},
"fullname": "(2026 KO3)",
"estimated_diameter": {
"max_km": 0.076,
"min_km": 0.034
},
"absolute_magnitude_h": 24.468,
"relative_velocity_km_s": 12.867
},
{
"date": "2026-Jun-01 23:35",
"object": "2026 KB1",
"distance": {
"au": 0.026218,
"km": 3922085,
"lunar": 10.2
…