NGA Earth-Info REST API — Ephemeris

NGA Earth-Info REST API — Ephemeris. 2 operations. Lead operation: Download GPS ephemeris (Antenna Phase Center). Self-contained Naftiko capability covering one National Geospatial Intelligence Agency business surface.

Run with Naftiko National Geospatial Intelligence AgencyEphemeris

What You Can Do

GET
Getephemerisantennaphasecenter — Download GPS ephemeris (Antenna Phase Center)
/v1/api/ephemeris/antenna-phase-center
GET
Getephemeriscenterofmass — Download GPS ephemeris (Center of Mass)
/v1/api/ephemeris/center-of-mass

MCP Tools

download-gps-ephemeris-antenna-phase

Download GPS ephemeris (Antenna Phase Center)

read-only idempotent
download-gps-ephemeris-center-mass

Download GPS ephemeris (Center of Mass)

read-only idempotent

Capability Spec

national-geospatial-intelligence-agency-ephemeris.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: NGA Earth-Info REST API — Ephemeris
  description: 'NGA Earth-Info REST API — Ephemeris. 2 operations. Lead operation: Download GPS ephemeris (Antenna Phase Center).
    Self-contained Naftiko capability covering one National Geospatial Intelligence Agency business surface.'
  tags:
  - National Geospatial Intelligence Agency
  - Ephemeris
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NATIONAL_GEOSPATIAL_INTELLIGENCE_AGENCY_API_KEY: NATIONAL_GEOSPATIAL_INTELLIGENCE_AGENCY_API_KEY
capability:
  consumes:
  - type: http
    namespace: national-geospatial-intelligence-agency-ephemeris
    baseUri: https://earth-info.nga.mil
    description: NGA Earth-Info REST API — Ephemeris business capability. Self-contained, no shared references.
    resources:
    - name: api-ephemeris-antenna-phase-center
      path: /api/ephemeris/antenna-phase-center
      operations:
      - name: getephemerisantennaphasecenter
        method: GET
        description: Download GPS ephemeris (Antenna Phase Center)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: date
          in: query
          type: string
          description: Target date in YYYY-MM-DD format.
          required: true
    - name: api-ephemeris-center-of-mass
      path: /api/ephemeris/center-of-mass
      operations:
      - name: getephemeriscenterofmass
        method: GET
        description: Download GPS ephemeris (Center of Mass)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: date
          in: query
          type: string
          description: Target date in YYYY-MM-DD format.
          required: true
  exposes:
  - type: rest
    namespace: national-geospatial-intelligence-agency-ephemeris-rest
    port: 8080
    description: REST adapter for NGA Earth-Info REST API — Ephemeris. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/ephemeris/antenna-phase-center
      name: api-ephemeris-antenna-phase-center
      description: REST surface for api-ephemeris-antenna-phase-center.
      operations:
      - method: GET
        name: getephemerisantennaphasecenter
        description: Download GPS ephemeris (Antenna Phase Center)
        call: national-geospatial-intelligence-agency-ephemeris.getephemerisantennaphasecenter
        with:
          date: rest.date
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/ephemeris/center-of-mass
      name: api-ephemeris-center-of-mass
      description: REST surface for api-ephemeris-center-of-mass.
      operations:
      - method: GET
        name: getephemeriscenterofmass
        description: Download GPS ephemeris (Center of Mass)
        call: national-geospatial-intelligence-agency-ephemeris.getephemeriscenterofmass
        with:
          date: rest.date
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: national-geospatial-intelligence-agency-ephemeris-mcp
    port: 9090
    transport: http
    description: MCP adapter for NGA Earth-Info REST API — Ephemeris. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: download-gps-ephemeris-antenna-phase
      description: Download GPS ephemeris (Antenna Phase Center)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: national-geospatial-intelligence-agency-ephemeris.getephemerisantennaphasecenter
      with:
        date: tools.date
      outputParameters:
      - type: object
        mapping: $.
    - name: download-gps-ephemeris-center-mass
      description: Download GPS ephemeris (Center of Mass)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: national-geospatial-intelligence-agency-ephemeris.getephemeriscenterofmass
      with:
        date: tools.date
      outputParameters:
      - type: object
        mapping: $.