N2YO Positions API

Future satellite positions over an observer location.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/n2yo-positions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

n2yo-positions-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: N2YO Satellite Tracking Above Positions API
  description: The N2YO REST API provides data for software and web developers to build satellite tracking and prediction applications. The REST API v1 is free but transaction limited. All endpoints require an apiKey query parameter.
  version: 1.0.0
  contact:
    name: N2YO Support
    url: https://www.n2yo.com/api/
  license:
    name: N2YO API Terms
    url: https://www.n2yo.com/api/
servers:
- url: https://api.n2yo.com/rest/v1/satellite
  description: Production server
security:
- apiKey: []
tags:
- name: Positions
  description: Future satellite positions over an observer location.
paths:
  /positions/{id}/{observer_lat}/{observer_lng}/{observer_alt}/{seconds}:
    get:
      tags:
      - Positions
      summary: Get satellite positions
      description: Retrieves future positions of a satellite for the next N seconds (max 300) over an observer location.
      operationId: getPositions
      parameters:
      - $ref: '#/components/parameters/SatelliteId'
      - $ref: '#/components/parameters/ObserverLat'
      - $ref: '#/components/parameters/ObserverLng'
      - $ref: '#/components/parameters/ObserverAlt'
      - name: seconds
        in: path
        required: true
        description: Number of future seconds to return (max 300).
        schema:
          type: integer
          maximum: 300
      - $ref: '#/components/parameters/ApiKey'
      responses:
        '200':
          description: Position predictions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PositionsResponse'
components:
  parameters:
    SatelliteId:
      name: id
      in: path
      required: true
      description: NORAD catalog number for the satellite.
      schema:
        type: integer
    ObserverLng:
      name: observer_lng
      in: path
      required: true
      description: Observer longitude in decimal degrees.
      schema:
        type: number
        format: float
    ObserverLat:
      name: observer_lat
      in: path
      required: true
      description: Observer latitude in decimal degrees.
      schema:
        type: number
        format: float
    ApiKey:
      name: apiKey
      in: query
      required: true
      description: Your N2YO API key.
      schema:
        type: string
    ObserverAlt:
      name: observer_alt
      in: path
      required: true
      description: Observer altitude in meters above sea level.
      schema:
        type: number
        format: float
  schemas:
    SatelliteInfo:
      type: object
      properties:
        satid:
          type: integer
        satname:
          type: string
        transactionscount:
          type: integer
    PositionsResponse:
      type: object
      properties:
        info:
          $ref: '#/components/schemas/SatelliteInfo'
        positions:
          type: array
          items:
            $ref: '#/components/schemas/Position'
    Position:
      type: object
      properties:
        satlatitude:
          type: number
        satlongitude:
          type: number
        sataltitude:
          type: number
        azimuth:
          type: number
        elevation:
          type: number
        ra:
          type: number
        dec:
          type: number
        timestamp:
          type: integer
        eclipsed:
          type: boolean
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: apiKey