Kayhan Space LEOP API

The LEOP API from Kayhan Space — 5 operation(s) for leop.

Operations 5

POST /leop/ccsds_opm Opm To Tle #
POST /leop/oem Oem To Tle #
POST /leop/spacex_opm_transporter Spacex Transporter Opm To Tle #
POST /leop/spacex_opm_transporter_single Spacex Transporter Single Opm To Tle #
POST /leop/spacex_opm_operator Spacex Operator Opm To Tle #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/kayhan-space-leop-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

kayhan-space-leop-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Satcat Service Authentication LEOP API
  description: '

    Kayhan Space''s Satcat Service API.


    ## Features

    * **View** historical CDM data for an object.

    * **View** latest CDM data for an object.

    '
  contact:
    email: help@kayhan.space
  version: 1.0.0
servers:
- url: /api/satcat
tags:
- name: LEOP
paths:
  /leop/ccsds_opm:
    post:
      tags:
      - LEOP
      summary: Opm To Tle
      operationId: opm_to_tle_leop_ccsds_opm_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_opm_to_tle_leop_ccsds_opm_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - Oauth2Scheme: []
  /leop/oem:
    post:
      tags:
      - LEOP
      summary: Oem To Tle
      operationId: oem_to_tle_leop_oem_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_oem_to_tle_leop_oem_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - Oauth2Scheme: []
  /leop/spacex_opm_transporter:
    post:
      tags:
      - LEOP
      summary: Spacex Transporter Opm To Tle
      description: "Returns TLE for all the assets in the SpaceX OPM file.\nThe NORAD ID is assigned as either:\n  - The provided norad_id field in the YAML (if present)\n  - Otherwise 99001, 99002, ...\nThe COSPAR ID is 2024-152A, 2024-152B, ...\nTLE can be derived from ECEF state or \"mean\" orbital elements.\n\n.. note:\nThe SpaceX OPM does not clarify what the \"mean\" elements mean. Here, they are\nassumed to be Kozai mean elements."
      operationId: spacex_transporter_opm_to_tle_leop_spacex_opm_transporter_post
      security:
      - Oauth2Scheme: []
      parameters:
      - name: from_mean_elements_instead_of_osculating_ecef
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: From Mean Elements Instead Of Osculating Ecef
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_spacex_transporter_opm_to_tle_leop_spacex_opm_transporter_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /leop/spacex_opm_transporter_single:
    post:
      tags:
      - LEOP
      summary: Spacex Transporter Single Opm To Tle
      description: Returns a single TLE for one deployment entry from a SpaceX transporter OPM.
      operationId: spacex_transporter_single_opm_to_tle_leop_spacex_opm_transporter_single_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SpaceXTransporterDeployment'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - Oauth2Scheme: []
  /leop/spacex_opm_operator:
    post:
      tags:
      - LEOP
      summary: Spacex Operator Opm To Tle
      operationId: spacex_operator_opm_to_tle_leop_spacex_opm_operator_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_spacex_operator_opm_to_tle_leop_spacex_opm_operator_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - Oauth2Scheme: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_oem_to_tle_leop_oem_post:
      properties:
        oem_file:
          type: string
          contentMediaType: application/octet-stream
          title: Oem File
        norad_id:
          type: string
          title: Norad Id
        cospar_id:
          type: string
          title: Cospar Id
        ballistic_coefficient_kg_per_m2:
          anyOf:
          - type: number
          - type: string
            pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Ballistic Coefficient Kg Per M2
      type: object
      required:
      - oem_file
      - norad_id
      - cospar_id
      - ballistic_coefficient_kg_per_m2
      title: Body_oem_to_tle_leop_oem_post
    Body_spacex_transporter_opm_to_tle_leop_spacex_opm_transporter_post:
      properties:
        opm_file:
          type: string
          contentMediaType: application/octet-stream
          title: Opm File
      type: object
      required:
      - opm_file
      title: Body_spacex_transporter_opm_to_tle_leop_spacex_opm_transporter_post
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    Body_spacex_operator_opm_to_tle_leop_spacex_opm_operator_post:
      properties:
        opm_file:
          type: string
          contentMediaType: application/octet-stream
          title: Opm File
        norad_id:
          type: string
          title: Norad Id
        cospar_id:
          type: string
          title: Cospar Id
        ballistic_coefficient_kg_per_m2:
          anyOf:
          - type: number
          - type: string
            pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Ballistic Coefficient Kg Per M2
      type: object
      required:
      - opm_file
      - norad_id
      - cospar_id
      - ballistic_coefficient_kg_per_m2
      title: Body_spacex_operator_opm_to_tle_leop_spacex_opm_operator_post
    SpaceXTransporterDeployment:
      properties:
        name:
          type: string
          title: Name
        sequence_number:
          type: integer
          exclusiveMinimum: 0.0
          title: Sequence Number
        date:
          type: string
          title: Date
        launch_date:
          anyOf:
          - type: string
          - type: 'null'
          title: Launch Date
        mission_time_s:
          anyOf:
          - type: number
            minimum: 0.0
          - type: 'null'
          title: Mission Time S
        r_ecef_m:
          items:
            type: number
          type: array
          title: R Ecef M
        v_ecef_m_per_s:
          items:
            type: number
          type: array
          title: V Ecef M Per S
        ballistic_coef_kg_per_m2:
          type: number
          exclusiveMinimum: 0.0
          title: Ballistic Coef Kg Per M2
        catid:
          anyOf:
          - type: integer
          - type: string
          - type: 'null'
          title: Catid
        norad_id:
          anyOf:
          - type: integer
          - type: string
          - type: 'null'
          title: Norad Id
        propagation_duration_hours:
          type: number
          title: Propagation Duration Hours
          default: 12
      type: object
      required:
      - name
      - sequence_number
      - date
      - r_ecef_m
      - v_ecef_m_per_s
      - ballistic_coef_kg_per_m2
      title: SpaceXTransporterDeployment
    Body_opm_to_tle_leop_ccsds_opm_post:
      properties:
        opm_file:
          type: string
          contentMediaType: application/octet-stream
          title: Opm File
        norad_id:
          type: string
          title: Norad Id
        cospar_id:
          type: string
          title: Cospar Id
        ballistic_coefficient_kg_per_m2:
          anyOf:
          - type: number
          - type: string
            pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Ballistic Coefficient Kg Per M2
      type: object
      required:
      - opm_file
      - norad_id
      - cospar_id
      - ballistic_coefficient_kg_per_m2
      title: Body_opm_to_tle_leop_ccsds_opm_post
  securitySchemes:
    Oauth2Scheme:
      type: oauth2
      flows:
        password:
          scopes:
            internal: Access from an internal API.
          tokenUrl: login
        clientCredentials:
          scopes:
            internal: Access from an internal API.
          tokenUrl: oauth/token