ACG Line Proximity Hits (Go Engine)
Find ACG lines closest to a geographic location.
Supports two modes:
-
Proximity mode (recommended): Provide query_lat and query_lon in the request body to find lines near any arbitrary point. Optionally set radius_deg (default: 3.0, max: 90). Returns features sorted by distance (closest first) with min_distance_deg and min_distance_km in each feature's properties.
-
Birthplace fallback: If query_lat/query_lon are omitted but natal.birthplace_lat/natal.birthplace_lon are present, those coordinates are used as the query location.
-
Unfiltered mode (backward-compatible): If neither query location nor natal birthplace is provided, all computed features are returned unfiltered.
New request fields (all optional):
- query_lat (float): Latitude of the query point (-90 to 90)
- query_lon (float): Longitude of the query point (-180 to 180)
- radius_deg (float): Proximity radius in degrees (1° ≈ 111 km). Default: 3.0
Request
- Base URL: https://api.openephemeris.com
- URL: https://api.openephemeris.com/acg/hits
- Auth: one of:
- HTTP bearer
- API key in header X-OpenEphemeris-API-Key
- API key in header X-API-Key
- API key in header X-Service-Key
Request body
Example request
{
"epoch": "1990-06-15T14:30:00Z",
"natal": {
"birthplace_lat": 34.05,
"birthplace_lon": -118.24
},
"options": {
"asteroid_groups": [
"centaur",
"muse"
]
}
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.