N2YO · Capability

N2YO Satellite Tracking API — Positions

N2YO Satellite Tracking API — Positions. 1 operations. Lead operation: Get satellite positions. Self-contained Naftiko capability covering one N2yo business surface.

Run with Naftiko N2yoPositions

What You Can Do

GET
Getpositions — Get satellite positions
/v1/positions/{id}/{observer-lat}/{observer-lng}/{observer-alt}/{seconds}

MCP Tools

get-satellite-positions

Get satellite positions

read-only idempotent

Capability Spec

n2yo-positions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: N2YO Satellite Tracking API — Positions
  description: 'N2YO Satellite Tracking API — Positions. 1 operations. Lead operation: Get satellite positions. Self-contained
    Naftiko capability covering one N2yo business surface.'
  tags:
  - N2yo
  - Positions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    N2YO_API_KEY: N2YO_API_KEY
capability:
  consumes:
  - type: http
    namespace: n2yo-positions
    baseUri: https://api.n2yo.com/rest/v1/satellite
    description: N2YO Satellite Tracking API — Positions business capability. Self-contained, no shared references.
    resources:
    - name: positions-id-observer_lat-observer_lng-observer_alt-seconds
      path: /positions/{id}/{observer_lat}/{observer_lng}/{observer_alt}/{seconds}
      operations:
      - name: getpositions
        method: GET
        description: Get satellite positions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: seconds
          in: path
          type: integer
          description: Number of future seconds to return (max 300).
          required: true
    authentication:
      type: apikey
      key: apiKey
      value: '{{env.N2YO_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: n2yo-positions-rest
    port: 8080
    description: REST adapter for N2YO Satellite Tracking API — Positions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/positions/{id}/{observer-lat}/{observer-lng}/{observer-alt}/{seconds}
      name: positions-id-observer-lat-observer-lng-observer-alt-seconds
      description: REST surface for positions-id-observer_lat-observer_lng-observer_alt-seconds.
      operations:
      - method: GET
        name: getpositions
        description: Get satellite positions
        call: n2yo-positions.getpositions
        with:
          seconds: rest.seconds
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: n2yo-positions-mcp
    port: 9090
    transport: http
    description: MCP adapter for N2YO Satellite Tracking API — Positions. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-satellite-positions
      description: Get satellite positions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: n2yo-positions.getpositions
      with:
        seconds: tools.seconds
      outputParameters:
      - type: object
        mapping: $.