US Space Command · Capability

Space-Track.org REST API — General Perturbations

Space-Track.org REST API — General Perturbations. 1 operations. Lead operation: List Current General Perturbation Orbital Elements. Self-contained Naftiko capability covering one Us Space Comman business surface.

Run with Naftiko Us Space CommanGeneral Perturbations

What You Can Do

GET
Listcurrentgp — List Current General Perturbation Orbital Elements
/v1/basicspacedata/query/class/gp/format/{format}

MCP Tools

list-current-general-perturbation-orbital

List Current General Perturbation Orbital Elements

read-only idempotent

Capability Spec

us-space-command-space-track-general-perturbations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Space-Track.org REST API — General Perturbations
  description: 'Space-Track.org REST API — General Perturbations. 1 operations. Lead operation: List Current General Perturbation
    Orbital Elements. Self-contained Naftiko capability covering one Us Space Comman business surface.'
  tags:
  - Us Space Comman
  - General Perturbations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    US_SPACE_COMMAN_API_KEY: US_SPACE_COMMAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: us-space-command-space-track-general-perturbations
    baseUri: https://www.space-track.org
    description: Space-Track.org REST API — General Perturbations business capability. Self-contained, no shared references.
    resources:
    - name: basicspacedata-query-class-gp-format-format
      path: /basicspacedata/query/class/gp/format/{format}
      operations:
      - name: listcurrentgp
        method: GET
        description: List Current General Perturbation Orbital Elements
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: path
          type: string
          description: Response format
          required: true
        - name: NORAD_CAT_ID
          in: query
          type: string
          description: NORAD catalog number (e.g., 25544 for ISS)
        - name: OBJECT_NAME
          in: query
          type: string
          description: Object name (supports wildcard ~~)
        - name: EPOCH
          in: query
          type: string
          description: Epoch filter (e.g., >now-30 for last 30 days)
        - name: DECAY_DATE
          in: query
          type: string
          description: Filter for active (null-val) or decayed objects
        - name: INCLINATION
          in: query
          type: string
          description: Orbital inclination filter
        - name: PERIOD
          in: query
          type: string
          description: Orbital period filter (minutes)
        - name: APOGEE
          in: query
          type: string
          description: Apogee altitude filter (km)
        - name: PERIGEE
          in: query
          type: string
          description: Perigee altitude filter (km)
        - name: COUNTRY_CODE
          in: query
          type: string
          description: ISO country code of object owner
        - name: orderby
          in: query
          type: string
          description: Sort field and direction (e.g., NORAD_CAT_ID asc)
        - name: limit
          in: query
          type: integer
          description: Max number of results
    authentication:
      type: apikey
      key: chocolatechip
      value: '{{env.US_SPACE_COMMAN_API_KEY}}'
      placement: cookie
  exposes:
  - type: rest
    namespace: us-space-command-space-track-general-perturbations-rest
    port: 8080
    description: REST adapter for Space-Track.org REST API — General Perturbations. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/basicspacedata/query/class/gp/format/{format}
      name: basicspacedata-query-class-gp-format-format
      description: REST surface for basicspacedata-query-class-gp-format-format.
      operations:
      - method: GET
        name: listcurrentgp
        description: List Current General Perturbation Orbital Elements
        call: us-space-command-space-track-general-perturbations.listcurrentgp
        with:
          format: rest.format
          NORAD_CAT_ID: rest.NORAD_CAT_ID
          OBJECT_NAME: rest.OBJECT_NAME
          EPOCH: rest.EPOCH
          DECAY_DATE: rest.DECAY_DATE
          INCLINATION: rest.INCLINATION
          PERIOD: rest.PERIOD
          APOGEE: rest.APOGEE
          PERIGEE: rest.PERIGEE
          COUNTRY_CODE: rest.COUNTRY_CODE
          orderby: rest.orderby
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: us-space-command-space-track-general-perturbations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Space-Track.org REST API — General Perturbations. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-current-general-perturbation-orbital
      description: List Current General Perturbation Orbital Elements
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: us-space-command-space-track-general-perturbations.listcurrentgp
      with:
        format: tools.format
        NORAD_CAT_ID: tools.NORAD_CAT_ID
        OBJECT_NAME: tools.OBJECT_NAME
        EPOCH: tools.EPOCH
        DECAY_DATE: tools.DECAY_DATE
        INCLINATION: tools.INCLINATION
        PERIOD: tools.PERIOD
        APOGEE: tools.APOGEE
        PERIGEE: tools.PERIGEE
        COUNTRY_CODE: tools.COUNTRY_CODE
        orderby: tools.orderby
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.