# Satellite Pass Predictor: ISS & Visible Satellite Passes (`starport/satellite-pass-predictor`) Actor

When the ISS, Tiangong, Hubble or any of about 16,000 working satellites can be seen from your places: rise, peak and set times, compass directions, peak elevation and predicted brightness, only for passes that are sunlit against a dark sky. Many places and satellites per run. Pay per pass.

- **URL**: https://apify.com/starport/satellite-pass-predictor.md
- **Developed by:** [Starport](https://apify.com/starport) (community)
- **Categories:** Developer tools, Travel, AI
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 visible passes

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Satellite Pass Predictor

Predict when the ISS, Tiangong, Hubble or any of about 16,000 working satellites can be **seen** from your places: the time it rises, peaks and sets (UTC), where to look (compass directions and azimuths), how high it climbs, and how bright it will be where its brightness is known.

Only passes a person could actually watch are delivered: the satellite above 10 degrees, lit by the Sun, while the sky at the observer is dark enough. A pass in daylight, or one in the Earth's shadow, is left out.

Use it for stargazing and astronomy apps, outreach events, satellite photography plans, school projects, smart-home "look up now" notifications or an AI agent that answers "when can I see the space station tonight?".

### How to use it

1. Put your places in **Locations**, one per line, as `latitude, longitude, label`.
2. Put NORAD catalog numbers in **Satellites**: `25544` is the ISS, `48274` Tiangong, `20580` Hubble.
3. Choose how many **Hours ahead** (up to 168, one week).
4. Run it and download the passes as CSV, Excel or JSON, or read them through the Apify API.

### Input

```json
{
    "locations": ["51.5074, -0.1278, London", "40.7128, -74.0060, New York"],
    "satellites": ["25544", "48274"],
    "hours": 48
}
```

### Output

One row per visible pass. The values below are placeholders that show the shape.

```json
{
    "location": "London",
    "latitude": 51.5074,
    "longitude": -0.1278,
    "norad": "25544",
    "satellite": "ISS (ZARYA)",
    "operator": "International Space Station",
    "start": "2026-01-01T17:42:10.000Z",
    "peak": "2026-01-01T17:45:20.000Z",
    "end": "2026-01-01T17:48:40.000Z",
    "durationSeconds": 390,
    "peakElevationDeg": 54.2,
    "startDirection": "WSW",
    "startAzimuthDeg": 247,
    "peakDirection": "SSE",
    "peakAzimuthDeg": 160,
    "endDirection": "E",
    "endAzimuthDeg": 92,
    "peakMagnitude": -3.1,
    "alwaysAboveHorizon": false,
    "visibleNow": false,
    "elementsEpoch": "2026-01-01T06:12:00.000Z"
}
```

A lower magnitude is brighter: -3 is brighter than Venus at its faintest, and around 4 or more is hard to see from a city. `peakMagnitude` is `null` for a satellite whose brightness is not modelled.

### How it is computed

Orbits are propagated with SGP4 from current orbital elements of every working satellite, refreshed regularly from public element sets; `elementsEpoch` says how old the elements behind each pass are. Brightness comes from a model fitted to published photometry of each satellite family.

### Pricing

You pay per visible pass delivered (see the Pricing tab), plus Apify's small start fee.

**Apify's free plan** takes up to 3 places and 5 satellites per run; paid plans up to 100 places and 20 satellites.

# Actor input Schema

## `locations` (type: `array`):

Places as "latitude, longitude, label", one per line, for example "51.5074, -0.1278, London". Apify's free plan takes up to 3 places per run, paid plans up to 100.

## `satellites` (type: `array`):

NORAD catalog numbers, for example 25544 (ISS), 48274 (Tiangong), 20580 (Hubble). Free plan up to 5 per run, paid plans up to 20.

## `hours` (type: `integer`):

How far ahead to predict, 1 to 168 hours (one week).

## Actor input object example

```json
{
  "locations": [
    "51.5074, -0.1278, London",
    "40.7128, -74.0060, New York"
  ],
  "satellites": [
    "25544",
    "48274",
    "20580"
  ],
  "hours": 48
}
```

# Actor output Schema

## `rows` (type: `string`):

One row per visible pass: place, satellite, rise, peak and set times in UTC, directions, peak elevation and predicted brightness.

## `summary` (type: `string`):

How many places and satellites were predicted, how many passes were delivered, and any catalog numbers not found.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "locations": [
        "51.5074, -0.1278, London",
        "40.7128, -74.0060, New York"
    ],
    "satellites": [
        "25544",
        "48274",
        "20580"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("starport/satellite-pass-predictor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "locations": [
        "51.5074, -0.1278, London",
        "40.7128, -74.0060, New York",
    ],
    "satellites": [
        "25544",
        "48274",
        "20580",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("starport/satellite-pass-predictor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "locations": [
    "51.5074, -0.1278, London",
    "40.7128, -74.0060, New York"
  ],
  "satellites": [
    "25544",
    "48274",
    "20580"
  ]
}' |
apify call starport/satellite-pass-predictor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,starport/satellite-pass-predictor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/iXvE9c78HyazImZMU/builds/Z5Pt09hdAUb7Z0tWW/openapi.json
