Admiral Pairs API

The pairs API from Admiral — 3 operation(s) for pairs.

GitHub OpenAPI

Operations 4

GET /fleet/pairs List Pairs #
POST /fleet/pairs Create Pair #
DELETE /fleet/pairs/{pair_id} Delete Pair #
POST /fleet/pairs/{pair_id}/action Pair Action #

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/meetadmiral-com:meetadmiral-com-pairs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

meetadmiral-com-pairs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Admiral Pairs API
  version: 0.1.0
tags:
- name: Pairs
paths:
  /fleet/pairs:
    get:
      tags:
      - Pairs
      summary: List Pairs
      operationId: list_pairs_fleet_pairs_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
    post:
      tags:
      - Pairs
      summary: Create Pair
      operationId: create_pair_fleet_pairs_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PairCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /fleet/pairs/{pair_id}:
    delete:
      tags:
      - Pairs
      summary: Delete Pair
      operationId: delete_pair_fleet_pairs__pair_id__delete
      parameters:
      - name: pair_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Pair Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /fleet/pairs/{pair_id}/action:
    post:
      tags:
      - Pairs
      summary: Pair Action
      description: 'One receipt, two channels. The server resolves every prev value and

        floor itself — the client sends only intent (+ an idempotency key).'
      operationId: pair_action_fleet_pairs__pair_id__action_post
      parameters:
      - name: pair_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Pair Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PairActionRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
    PairActionRequest:
      properties:
        action:
          type: string
          title: Action
        amount_micros:
          anyOf:
          - type: integer
          - type: 'null'
          title: Amount Micros
        idempotency_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Idempotency Key
      type: object
      required:
      - action
      title: PairActionRequest
    PairCreate:
      properties:
        a:
          $ref: '#/components/schemas/PairSide'
        b:
          $ref: '#/components/schemas/PairSide'
      type: object
      required:
      - a
      - b
      title: PairCreate
    PairSide:
      properties:
        account_id:
          type: string
          format: uuid
          title: Account Id
        campaign_external_id:
          type: string
          title: Campaign External Id
      type: object
      required:
      - account_id
      - campaign_external_id
      title: PairSide