Skip to content
OSINTtools.io

N2YO API

Real-time satellite tracker for tens of thousands of objects in orbit, with pass predictions, alerts and an API.

Base URL
https://api.n2yo.com/rest/v1/satellite
Sign-in
API key
Format
REST
Endpoints
5

Compiled by OSINTtools.io editors from n2yo.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

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.

Quick start

  1. Get a key

    Create an account with N2YO and copy your api key. Where to get it

  2. Make your first request

    Get the two-line element set (TLE) of a satellite.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.n2yo.com/rest/v1/satellite/tle/25544?apiKey=YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "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"
    }

Authentication

Send your API key in the apiKey query parameter of every request.

Register at n2yo.com, then generate the key on your profile page. SOAP keys do not work with REST.

Get a key from N2YO

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Per hour: TLE 1000, positions 1000, visual passes 100, radio passes 100, above 100.

Satellite data

  • Passive: the target is not contacted

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

Path parameters

idintegerrequired

NORAD catalog ID

Example: 25544
Response fields · 4Show

satidinteger

NORAD ID

satnamestring

Satellite name

transactionscountinteger

Calls made with your key in the last 60 minutes

tlestring

Both TLE lines, separated by a carriage return and line feed

curl 'https://api.n2yo.com/rest/v1/satellite/tle/25544?apiKey=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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}

  • 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.

Path parameters

idintegerrequired

NORAD catalog ID

Example: 25544
observer_latnumberrequired

Observer latitude in decimal degrees

Example: 10.5
observer_lngnumberrequired

Observer longitude in decimal degrees

Example: 20.5
observer_altnumberrequired

Observer altitude in meters above sea level

Example: 0
secondsintegerrequired

Number of future positions, one per second; max 300

Example: 2
Response fields · 11Show

satidinteger

NORAD ID

satnamestring

Satellite name

transactionscountinteger

Calls made with your key in the last 60 minutes

satlatitudenumber

Footprint latitude

satlongitudenumber

Footprint longitude

sataltitudenumber

Altitude

azimuthnumber

Azimuth relative to the observer

elevationnumber

Elevation relative to the observer

ranumber

Right ascension in degrees

decnumber

Declination in degrees

timestampinteger

Unix time in UTC

curl 'https://api.n2yo.com/rest/v1/satellite/positions/25544/10.5/20.5/0/2?apiKey=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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}

  • 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.

Path parameters

idintegerrequired

NORAD catalog ID

Example: 25544
observer_latnumberrequired

Observer latitude in decimal degrees

Example: 10.5
observer_lngnumberrequired

Observer longitude in decimal degrees

Example: 20.5
observer_altnumberrequired

Observer altitude in meters above sea level

Example: 0
daysintegerrequired

Days of prediction; max 10

Example: 2
min_visibilityintegerrequired

Minimum optically visible seconds for a pass to be returned

Example: 300
Response fields · 16Show

satidinteger

NORAD ID

satnamestring

Satellite name

transactionscountinteger

Calls made with your key in the last 60 minutes

passescountinteger

Number of passes returned

startAznumber

Azimuth at start

startAzCompassstring

Compass point at start

startElnumber

Elevation at start

startUTCinteger

Unix time at start

maxAznumber

Azimuth at maximum elevation

maxElnumber

Maximum elevation

maxUTCinteger

Unix time at maximum elevation

endAznumber

Azimuth at end

endElnumber

Elevation at end

endUTCinteger

Unix time at end

magnumber

Peak visual magnitude

durationinteger

Visible duration in seconds

curl 'https://api.n2yo.com/rest/v1/satellite/visualpasses/25544/10.5/20.5/0/2/300?apiKey=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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}

  • 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.

Path parameters

idintegerrequired

NORAD catalog ID

Example: 25544
observer_latnumberrequired

Observer latitude in decimal degrees

Example: 10.5
observer_lngnumberrequired

Observer longitude in decimal degrees

Example: 20.5
observer_altnumberrequired

Observer altitude in meters above sea level

Example: 0
daysintegerrequired

Days of prediction; max 10

Example: 2
min_elevationintegerrequired

Minimum peak elevation in degrees

Example: 40
Response fields · 10Show

satidinteger

NORAD ID

satnamestring

Satellite name

passescountinteger

Number of passes returned

startAznumber

Azimuth at start

startUTCinteger

Unix time at start

maxAznumber

Azimuth at maximum elevation

maxElnumber

Maximum elevation

maxUTCinteger

Unix time at maximum elevation

endAznumber

Azimuth at end

endUTCinteger

Unix time at end

curl 'https://api.n2yo.com/rest/v1/satellite/radiopasses/25544/10.5/20.5/0/2/40?apiKey=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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}

  • 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.

Path parameters

observer_latnumberrequired

Observer latitude in decimal degrees

Example: 10.5
observer_lngnumberrequired

Observer longitude in decimal degrees

Example: 20.5
observer_altnumberrequired

Observer altitude in meters above sea level

Example: 0
search_radiusintegerrequired

Degrees from the point directly overhead, 0 to 90

Example: 5
category_idintegerrequired

Satellite category ID; 0 for all

Example: 0
Response fields · 10Show

categorystring

Category name

transactionscountinteger

Calls made with your key in the last 60 minutes

satcountinteger

Number of satellites returned

satidinteger

NORAD ID

satnamestring

Satellite name

intDesignatorstring

International designator

launchDatestring

Launch date, YYYY-MM-DD

satlatnumber

Satellite latitude

satlngnumber

Satellite longitude

sataltnumber

Altitude in km

curl 'https://api.n2yo.com/rest/v1/satellite/above/10.5/20.5/0/5/0?apiKey=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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
    }
  ]
}