N2YO · Capability

N2YO Satellite Tracking API — TLE

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

Run with Naftiko N2yoTLE

What You Can Do

GET
Gettle — Get TLE for a satellite
/v1/tle/{id}

MCP Tools

get-tle-satellite

Get TLE for a satellite

read-only idempotent

Capability Spec

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