SpaceX API · Capability

SpaceX API — Landing Pads

SpaceX API — Landing Pads. 2 operations. Lead operation: List All Landing Pads. Self-contained Naftiko capability covering one Spacex Api business surface.

Run with Naftiko Spacex ApiLanding Pads

What You Can Do

GET
Listlandpads — List All Landing Pads
/v1/landpads
GET
Getlandpad — Get Landing Pad
/v1/landpads/{id}

MCP Tools

list-all-landing-pads

List All Landing Pads

read-only idempotent
get-landing-pad

Get Landing Pad

read-only idempotent

Capability Spec

spacex-landing-pads.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SpaceX API — Landing Pads
  description: 'SpaceX API — Landing Pads. 2 operations. Lead operation: List All Landing Pads. Self-contained Naftiko capability
    covering one Spacex Api business surface.'
  tags:
  - Spacex Api
  - Landing Pads
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SPACEX_API_API_KEY: SPACEX_API_API_KEY
capability:
  consumes:
  - type: http
    namespace: spacex-landing-pads
    baseUri: https://api.spacexdata.com/v5
    description: SpaceX API — Landing Pads business capability. Self-contained, no shared references.
    resources:
    - name: landpads
      path: /landpads
      operations:
      - name: listlandpads
        method: GET
        description: List All Landing Pads
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: landpads-id
      path: /landpads/{id}
      operations:
      - name: getlandpad
        method: GET
        description: Get Landing Pad
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Unique landing pad identifier
          required: true
  exposes:
  - type: rest
    namespace: spacex-landing-pads-rest
    port: 8080
    description: REST adapter for SpaceX API — Landing Pads. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/landpads
      name: landpads
      description: REST surface for landpads.
      operations:
      - method: GET
        name: listlandpads
        description: List All Landing Pads
        call: spacex-landing-pads.listlandpads
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/landpads/{id}
      name: landpads-id
      description: REST surface for landpads-id.
      operations:
      - method: GET
        name: getlandpad
        description: Get Landing Pad
        call: spacex-landing-pads.getlandpad
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: spacex-landing-pads-mcp
    port: 9090
    transport: http
    description: MCP adapter for SpaceX API — Landing Pads. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-all-landing-pads
      description: List All Landing Pads
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: spacex-landing-pads.listlandpads
      outputParameters:
      - type: object
        mapping: $.
    - name: get-landing-pad
      description: Get Landing Pad
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: spacex-landing-pads.getlandpad
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.