Skip to content

Pass Prediction API

The Pass Prediction API computes upcoming satellite passes from the configured observer location. Pass predictions include acquisition of signal (AOS), time of closest approach (TCA), and loss of signal (LOS) with azimuth and elevation at each point.

Get all passes for a satellite within a time window.

GET /api/passes
ParameterTypeDefaultDescription
satintNORAD catalog ID (required)
hoursint24Prediction window in hours (max 168 / 7 days)
min_elfloat5.0Minimum peak elevation to include (degrees)
{
"observer": "Home QTH",
"satellite": "ISS (ZARYA)",
"norad_id": 25544,
"passes": [
{
"satellite_name": "ISS (ZARYA)",
"norad_id": 25544,
"aos_time": "2026-02-14T23:15:00Z",
"aos_az": 215.3,
"tca_time": "2026-02-14T23:20:00Z",
"tca_alt": 67.2,
"tca_az": 145.8,
"los_time": "2026-02-14T23:25:00Z",
"los_az": 45.1,
"duration_seconds": 600.0,
"max_elevation": 67.2,
"is_visible": true,
"magnitude": -3.2
}
],
"count": 1
}
FieldTypeDescription
satellite_namestringSatellite name
norad_idintNORAD catalog number
aos_timestringAcquisition of signal (rise) time, ISO 8601
aos_azfloatAzimuth at AOS (degrees)
tca_timestringTime of closest approach (max elevation), ISO 8601
tca_altfloatAltitude at TCA (degrees)
tca_azfloatAzimuth at TCA (degrees)
los_timestringLoss of signal (set) time, ISO 8601
los_azfloatAzimuth at LOS (degrees)
duration_secondsfloatTotal pass duration in seconds
max_elevationfloatPeak elevation (degrees)
is_visibleboolWhether the pass is optically visible
magnitudefloat|nullEstimated visual magnitude (if available)
Terminal window
# ISS passes in the next 24 hours, minimum 5 degrees elevation
curl "https://space.warehack.ing/api/passes?sat=25544"
# ISS passes in the next 72 hours, minimum 30 degrees elevation (high passes only)
curl "https://space.warehack.ing/api/passes?sat=25544&hours=72&min_el=30"
# NOAA-20 passes in the next 48 hours
curl "https://space.warehack.ing/api/passes?sat=43013&hours=48&min_el=10"

Get only the next upcoming pass for a satellite. This is a convenience endpoint that returns the soonest pass within the next 24 hours.

GET /api/passes/next
ParameterTypeDescription
satintNORAD catalog ID (required)

Returns a single pass event (same shape as the items in the passes array above), or a message if no passes are found:

{
"message": "No passes in next 24 hours"
}
Terminal window
# When is the next ISS pass?
curl "https://space.warehack.ing/api/passes/next?sat=25544"