N2YO REST API
Precomputed pass predictions, positions and TLEs, keyed by NORAD ID. Handy when you do not want to run SGP4 yourself.
- Source
- https://www.n2yo.com/api/
- Access
- Free API key. 1,000 requests/hour per key for radiopasses.
- Format
- JSON
Schema
| Field | Type | Note |
|---|---|---|
| /radiopasses/{id}/{lat}/{lng}/{alt}/{days}/{min_elevation} | endpoint | |
| info.satname, satid, passescount | meta | |
| passes[].startUTC, maxUTC, endUTC | unix s | AOS, TCA, LOS |
| passes[].startAz, maxAz, endAz | deg | Azimuths |
| passes[].startAzCompass, maxAzCompass, endAzCompass | string | NNE etc. |
| passes[].maxEl | deg | Peak elevation |
| /positions/{id}/{lat}/{lng}/{alt}/{seconds} | endpoint | Per-second az/el/lat/lon |
| /tle/{id} | endpoint | Current TLE |
Example
GET /rest/v1/satellite/radiopasses/27607/37.77/-122.42/20/2/10&apiKey=KEY
{"info":{"satname":"SAUDISAT 1C (SO-50)","satid":27607,"passescount":5},
"passes":[{"startAz":201.3,"startAzCompass":"SSW","startUTC":1758300000,
"maxAz":278.9,"maxEl":54.2,"maxUTC":1758300420,
"endAz":352.1,"endUTC":1758300830}]}Gotchas
- Their predictions use their TLE cache, which can be a day old.
- Altitude is in meters. min_elevation is a hard filter.