> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rotastellar.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Satellite Passes

> Compute when a satellite passes over a place on the ground

Passes are computed from the satellite's current orbital elements for the observer you give. Each pass has its start, its highest point and its end.

## Request

**satellite\_id** `string` *required*

NORAD catalog ID (e.g., "25544" for the ISS)

**lat** `number` *required*

Observer latitude in degrees, -90 to 90

**lon** `number` *required*

Observer longitude in degrees, -180 to 180

**alt\_m** `number` (default: 0)

Observer height above the ellipsoid in metres

**min\_elevation\_deg** `number` (default: 10)

The lowest elevation above the horizon that counts as a pass

**hours** `integer` (default: 24)

Window to search, in hours from now (max: 72; a longer request is shortened to 72)

```bash cURL theme={null}
curl "https://api.rotastellar.com/v1/satellites/25544/passes?lat=40.7128&lon=-74.0060&hours=48" \
  -H "Authorization: Bearer rs_your_api_key"
```

```json Response theme={null}
{
  "satellite_id": "25544",
  "observer": { "lat": 40.7128, "lon": -74.006, "alt_m": 0 },
  "prediction_window_hours": 48,
  "window_start": "2026-11-26T08:18:55.000Z",
  "window_end": "2026-11-28T08:18:55.000Z",
  "min_elevation_deg": 10,
  "elements_epoch": "2026-11-24T21:07:39.248Z",
  "passes": [
    {
      "aos": "2026-11-26T16:37:25.000Z",
      "tca": "2026-11-26T16:39:54.000Z",
      "los": "2026-11-26T16:42:24.000Z",
      "duration_s": 299,
      "duration_min": 5,
      "max_elevation_deg": 19.5,
      "aos_azimuth_deg": 180.3,
      "los_azimuth_deg": 83.9,
      "starts_before_window": false,
      "ends_after_window": false,
      "data_source": "orbital elements, epoch 2026-11-24T21:07:39.248Z"
    },
    {
      "aos": "2026-11-26T18:13:11.000Z",
      "tca": "2026-11-26T18:16:26.000Z",
      "los": "2026-11-26T18:19:44.000Z",
      "duration_s": 393,
      "duration_min": 6.6,
      "max_elevation_deg": 48,
      "aos_azimuth_deg": 252.1,
      "los_azimuth_deg": 44.8,
      "starts_before_window": false,
      "ends_after_window": false,
      "data_source": "orbital elements, epoch 2026-11-24T21:07:39.248Z"
    }
  ],
  "count": 12,
  "data_source": "calculated"
}
```

The example is a real answer, shortened to its first two passes of twelve.

## Response

**window\_start, window\_end** `string`

The window that was searched (UTC)

**elements\_epoch** `string`

The epoch of the orbital elements the passes were computed from

**passes** `array`

One entry per pass, in time order

**Pass**

**aos** `string`

Rise: when the satellite climbs above `min_elevation_deg` (UTC)

**tca** `string`

When the satellite is highest

**los** `string`

Set: when it drops below `min_elevation_deg`

**duration\_s** `integer`

Length of the pass in seconds (`duration_min` is the same in minutes)

**max\_elevation\_deg** `number`

Elevation at the highest point, in degrees above the horizon

**aos\_azimuth\_deg, los\_azimuth\_deg** `number`

Compass direction of the satellite at rise and at set, in degrees clockwise from north

**starts\_before\_window, ends\_after\_window** `boolean`

True when the pass was already under way at `window_start`, or not over at `window_end`. Such a pass is cut at the window.

**count** `integer`

Number of passes

## Accuracy

The times are computed with a simplified orbit model. Checked against SGP4, rise and set times agree to within about 15 seconds for elements up to three days old, and to within about half a minute at seven days; the difference grows with the age of the elements.

## Errors

| Status | When |
| - | - |
| 400 `invalid_parameter` | A parameter is not a number in its range |
| 404 `not_found` | The satellite is unknown, has no orbital elements, or its elements are more than seven days old |
| 503 | The source of orbital elements is unavailable; try again later |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.