# N2YO API reference

> The N2YO REST API (v1) returns satellite data by NORAD catalog ID: the TLE, future positions for an observer location, predicted visual and radio passes, and which satellites are above a location. It is a tracking API for objects in orbit, not a lookup of people or accounts. All calls are GET…

Source: https://osinttools.io/apis/n2yo/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/n2yo/

- Base URL: https://api.n2yo.com/rest/v1/satellite
- Authentication: API key in the `apiKey` query parameter. Get a key: https://www.n2yo.com/login/ Register at n2yo.com, then generate the key on your profile page. SOAP keys do not work with REST.
- Rate limits: Per hour: TLE 1000, positions 1000, visual passes 100, radio passes 100, above 100.
- Vendor docs: https://www.n2yo.com/api/

## Overview

The N2YO REST API (v1) returns satellite data by NORAD catalog ID: the TLE, future positions for an observer location, predicted visual and radio passes, and which satellites are above a location. It is a tracking API for objects in orbit, not a lookup of people or accounts.

All calls are GET requests under `https://api.n2yo.com/rest/v1/satellite`, with parameters in the path and the API key appended as `&apiKey=...`. Responses are JSON and include `transactionscount`, the number of calls made with your key in the last 60 minutes. Use the NORAD ID, not the Alpha-5 identifier from the TLE file, for objects numbered above 100000.

The docs set hourly limits per endpoint and forbid sharing or multiplying keys to get around them. Higher limits are requested through the site's contact form.

## Satellite data

### Get the two-line element set (TLE) of a satellite.

`GET /tle/{id}`

- Footprint: passive (the target is not contacted)

Returns both TLE lines in one string separated by a carriage return and line feed.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | NORAD catalog ID Example: 25544 |

Response fields:

- `info.satid` (integer): NORAD ID
- `info.satname` (string): Satellite name
- `info.transactionscount` (integer): Calls made with your key in the last 60 minutes
- `tle` (string): Both TLE lines, separated by a carriage return and line feed

```bash
curl 'https://api.n2yo.com/rest/v1/satellite/tle/25544?apiKey=YOUR_API_KEY'
```

Example response (200):

```json
{
  "info": {
    "satid": 25544,
    "satname": "EXAMPLE SAT",
    "transactionscount": 1
  },
  "tle": "1 25544U 98067A   26001.00000000  .00000000  00000-0  00000-0 0  0000\r\n2 25544  51.6400 000.0000 0000000 000.0000 000.0000 15.50000000000000"
}
```

### Get future positions of a satellite, one per second, for an observer location.

`GET /positions/{id}/{observer_lat}/{observer_lng}/{observer_alt}/{seconds}`

- Footprint: passive (the target is not contacted)

The first position is for the current UTC time. Gives footprint latitude, longitude and altitude plus azimuth, elevation, right ascension and declination relative to the observer.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | NORAD catalog ID Example: 25544 |
| `observer_lat` | path | number | yes | Observer latitude in decimal degrees Example: 10.5 |
| `observer_lng` | path | number | yes | Observer longitude in decimal degrees Example: 20.5 |
| `observer_alt` | path | number | yes | Observer altitude in meters above sea level Example: 0 |
| `seconds` | path | integer | yes | Number of future positions, one per second; max 300 Example: 2 |

Response fields:

- `info.satid` (integer): NORAD ID
- `info.satname` (string): Satellite name
- `info.transactionscount` (integer): Calls made with your key in the last 60 minutes
- `positions[].satlatitude` (number): Footprint latitude
- `positions[].satlongitude` (number): Footprint longitude
- `positions[].sataltitude` (number): Altitude
- `positions[].azimuth` (number): Azimuth relative to the observer
- `positions[].elevation` (number): Elevation relative to the observer
- `positions[].ra` (number): Right ascension in degrees
- `positions[].dec` (number): Declination in degrees
- `positions[].timestamp` (integer): Unix time in UTC

```bash
curl 'https://api.n2yo.com/rest/v1/satellite/positions/25544/10.5/20.5/0/2?apiKey=YOUR_API_KEY'
```

Example response (200):

```json
{
  "info": {
    "satid": 25544,
    "satname": "EXAMPLE SAT",
    "transactionscount": 2
  },
  "positions": [
    {
      "satlatitude": 12.3,
      "satlongitude": 45.6,
      "sataltitude": 420.1,
      "azimuth": 100.5,
      "elevation": -20.2,
      "ra": 150.1,
      "dec": 10.2,
      "timestamp": 1790000000
    }
  ]
}
```

## Pass predictions

### Predict optically visible passes of a satellite over an observer location.

`GET /visualpasses/{id}/{observer_lat}/{observer_lng}/{observer_alt}/{days}/{min_visibility}`

- Footprint: passive (the target is not contacted)

A visual pass needs the satellite above the horizon, sunlit and in darkened skies. `mag` is 100000 when it cannot be determined.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | NORAD catalog ID Example: 25544 |
| `observer_lat` | path | number | yes | Observer latitude in decimal degrees Example: 10.5 |
| `observer_lng` | path | number | yes | Observer longitude in decimal degrees Example: 20.5 |
| `observer_alt` | path | number | yes | Observer altitude in meters above sea level Example: 0 |
| `days` | path | integer | yes | Days of prediction; max 10 Example: 2 |
| `min_visibility` | path | integer | yes | Minimum optically visible seconds for a pass to be returned Example: 300 |

Response fields:

- `info.satid` (integer): NORAD ID
- `info.satname` (string): Satellite name
- `info.transactionscount` (integer): Calls made with your key in the last 60 minutes
- `info.passescount` (integer): Number of passes returned
- `passes[].startAz` (number): Azimuth at start
- `passes[].startAzCompass` (string): Compass point at start
- `passes[].startEl` (number): Elevation at start
- `passes[].startUTC` (integer): Unix time at start
- `passes[].maxAz` (number): Azimuth at maximum elevation
- `passes[].maxEl` (number): Maximum elevation
- `passes[].maxUTC` (integer): Unix time at maximum elevation
- `passes[].endAz` (number): Azimuth at end
- `passes[].endEl` (number): Elevation at end
- `passes[].endUTC` (integer): Unix time at end
- `passes[].mag` (number): Peak visual magnitude
- `passes[].duration` (integer): Visible duration in seconds

```bash
curl 'https://api.n2yo.com/rest/v1/satellite/visualpasses/25544/10.5/20.5/0/2/300?apiKey=YOUR_API_KEY'
```

Example response (200):

```json
{
  "info": {
    "satid": 25544,
    "satname": "EXAMPLE SAT",
    "transactionscount": 3,
    "passescount": 1
  },
  "passes": [
    {
      "startAz": 300.1,
      "startAzCompass": "NW",
      "startEl": 10.2,
      "startUTC": 1790000000,
      "maxAz": 40.3,
      "maxAzCompass": "NE",
      "maxEl": 60.4,
      "maxUTC": 1790000200,
      "endAz": 120.5,
      "endAzCompass": "SE",
      "endEl": 10.1,
      "endUTC": 1790000400,
      "mag": -2.5,
      "duration": 400
    }
  ]
}
```

### Predict radio passes of a satellite over an observer location.

`GET /radiopasses/{id}/{observer_lat}/{observer_lng}/{observer_alt}/{days}/{min_elevation}`

- Footprint: passive (the target is not contacted)

Radio passes do not need optical visibility, so they suit radio communication planning. The response has the same structure as visual passes without the start and end elevation, magnitude and duration.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | NORAD catalog ID Example: 25544 |
| `observer_lat` | path | number | yes | Observer latitude in decimal degrees Example: 10.5 |
| `observer_lng` | path | number | yes | Observer longitude in decimal degrees Example: 20.5 |
| `observer_alt` | path | number | yes | Observer altitude in meters above sea level Example: 0 |
| `days` | path | integer | yes | Days of prediction; max 10 Example: 2 |
| `min_elevation` | path | integer | yes | Minimum peak elevation in degrees Example: 40 |

Response fields:

- `info.satid` (integer): NORAD ID
- `info.satname` (string): Satellite name
- `info.passescount` (integer): Number of passes returned
- `passes[].startAz` (number): Azimuth at start
- `passes[].startUTC` (integer): Unix time at start
- `passes[].maxAz` (number): Azimuth at maximum elevation
- `passes[].maxEl` (number): Maximum elevation
- `passes[].maxUTC` (integer): Unix time at maximum elevation
- `passes[].endAz` (number): Azimuth at end
- `passes[].endUTC` (integer): Unix time at end

```bash
curl 'https://api.n2yo.com/rest/v1/satellite/radiopasses/25544/10.5/20.5/0/2/40?apiKey=YOUR_API_KEY'
```

Example response (200):

```json
{
  "info": {
    "satid": 25544,
    "satname": "EXAMPLE SAT",
    "transactionscount": 4,
    "passescount": 1
  },
  "passes": [
    {
      "startAz": 300.1,
      "startUTC": 1790000000,
      "maxAz": 40.3,
      "maxEl": 60.4,
      "maxUTC": 1790000200,
      "endAz": 120.5,
      "endUTC": 1790000400
    }
  ]
}
```

## Overhead

### List the satellites above an observer location (What's Up).

`GET /above/{observer_lat}/{observer_lng}/{observer_alt}/{search_radius}/{category_id}`

- Footprint: passive (the target is not contacted)

The docs warn that this endpoint is CPU-intensive and ask for responsible use. A search radius of 0 returns only satellites directly overhead; 90 returns everything above the horizon. Category 0 means all categories; the docs list the other category IDs.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `observer_lat` | path | number | yes | Observer latitude in decimal degrees Example: 10.5 |
| `observer_lng` | path | number | yes | Observer longitude in decimal degrees Example: 20.5 |
| `observer_alt` | path | number | yes | Observer altitude in meters above sea level Example: 0 |
| `search_radius` | path | integer | yes | Degrees from the point directly overhead, 0 to 90 Example: 5 |
| `category_id` | path | integer | yes | Satellite category ID; 0 for all Example: 0 |

Response fields:

- `info.category` (string): Category name
- `info.transactionscount` (integer): Calls made with your key in the last 60 minutes
- `info.satcount` (integer): Number of satellites returned
- `above[].satid` (integer): NORAD ID
- `above[].satname` (string): Satellite name
- `above[].intDesignator` (string): International designator
- `above[].launchDate` (string): Launch date, YYYY-MM-DD
- `above[].satlat` (number): Satellite latitude
- `above[].satlng` (number): Satellite longitude
- `above[].satalt` (number): Altitude in km

```bash
curl 'https://api.n2yo.com/rest/v1/satellite/above/10.5/20.5/0/5/0?apiKey=YOUR_API_KEY'
```

Example response (200):

```json
{
  "info": {
    "category": "ANY",
    "transactionscount": 5,
    "satcount": 1
  },
  "above": [
    {
      "satid": 25544,
      "satname": "EXAMPLE SAT",
      "intDesignator": "1998-067A",
      "launchDate": "1998-11-20",
      "satlat": 11.1,
      "satlng": 21.2,
      "satalt": 420.3
    }
  ]
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
