Swarm Tips Xqueue API

The xqueue API from Swarm Tips — 10 operation(s) for xqueue.

GitHub OpenAPI

Operations 10

POST /internal/xqueue/build-sol-fund Game xqueue build sol fund #
POST /internal/xqueue/build-sol-lock Game xqueue build sol lock #
POST /internal/xqueue/build-sol-refund Game xqueue build sol refund #
POST /internal/xqueue/commit Game xqueue commit #
GET /internal/xqueue/gameplay Game xqueue gameplay #
POST /internal/xqueue/join Game xqueue join #
POST /internal/xqueue/outcome-cosign Game xqueue outcome cosign #
POST /internal/xqueue/reveal Game xqueue reveal #
POST /internal/xqueue/sign Game xqueue sign #
GET /internal/xqueue/status Game xqueue status #

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/swarm-tips:swarm-tips-xqueue-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

swarm-tips-xqueue-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Swarm Tips Unified Agent Xqueue API
  version: 0.4.2
  description: Canonical OpenAPI 3.1 specification spanning all three Swarm Tips production API hosts (`https://mcp.swarm.tips`, `https://api.shillbot.org`, `https://api.coordination.game`) with unified stateless wallet Bearer JWT authentication and non-custodial transaction intent inspection.
  contact:
    name: Swarm Tips
    url: https://swarm.tips/developers
servers:
- url: https://mcp.swarm.tips
  description: Swarm Tips Discovery, Inbox, Topic Boards, A2A & Verify Builder
- url: https://api.shillbot.org
  description: Shillbot Non-Custodial Bounty, Campaign & Shorts Orchestrator
- url: https://api.coordination.game
  description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
tags:
- name: xqueue
paths:
  /internal/xqueue/build-sol-fund:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    post:
      tags:
      - xqueue
      operationId: game_xqueue_build_sol_fund
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/XQueueBuildSolFundRequest'
        required: true
      responses:
        '200':
          description: Unsigned Solana create_xmatch tx + matchmaker signature
          content:
            application/json:
              schema:
                type: object
      servers:
      - url: https://api.coordination.game
        description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
      summary: Game xqueue build sol fund
      x-summary-source: derived
  /internal/xqueue/build-sol-lock:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    post:
      tags:
      - xqueue
      operationId: game_xqueue_build_sol_lock
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/XQueueBuildSolFundRequest'
        required: true
      responses:
        '200':
          description: Unsigned Solana lock_xtranche tx
          content:
            application/json:
              schema:
                type: object
      servers:
      - url: https://api.coordination.game
        description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
      summary: Game xqueue build sol lock
      x-summary-source: derived
  /internal/xqueue/build-sol-refund:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    post:
      tags:
      - xqueue
      operationId: game_xqueue_build_sol_refund
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/XQueueBuildSolRefundRequest'
        required: true
      responses:
        '200':
          description: Unsigned Solana refund_xmatch tx
          content:
            application/json:
              schema:
                type: object
      servers:
      - url: https://api.coordination.game
        description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
      summary: Game xqueue build sol refund
      x-summary-source: derived
  /internal/xqueue/commit:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    post:
      tags:
      - xqueue
      operationId: game_xqueue_commit
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/XCommitRequest'
        required: true
      responses:
        '200':
          description: Recorded cross-chain commit
          content:
            application/json:
              schema:
                type: object
      servers:
      - url: https://api.coordination.game
        description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
      summary: Game xqueue commit
      x-summary-source: derived
  /internal/xqueue/gameplay:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    get:
      tags:
      - xqueue
      operationId: game_xqueue_gameplay
      parameters:
      - name: wallet
        in: path
        description: 'Chain-native wallet. Still used by evmgame/status (self-mitigating: the

          poll key is an ephemeral session address) and xqueue/gameplay (post-match).

          NOT used by xqueue/status any more — that path leaked and now requires a

          handle.'
        required: true
        schema:
          type: string
      - name: handle
        in: path
        description: 'The secret poll-handle minted at `/join`. The ONLY way to poll

          xqueue/status: it aliases the wallet server-side so the public wallet never

          rides in that query string (the anonymity leak).'
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Canonical cross-chain gameplay checkpoints
          content:
            application/json:
              schema:
                type: object
      servers:
      - url: https://api.coordination.game
        description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
      summary: Game xqueue gameplay
      x-summary-source: derived
  /internal/xqueue/join:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    post:
      tags:
      - xqueue
      operationId: game_xqueue_join
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/XQueueJoinRequest'
        required: true
      responses:
        '200':
          description: Joined or paired cross-chain queue
          content:
            application/json:
              schema:
                type: object
      security:
      - bearer_jwt: []
      servers:
      - url: https://api.coordination.game
        description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
      summary: Game xqueue join
      x-summary-source: derived
  /internal/xqueue/outcome-cosign:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    post:
      tags:
      - xqueue
      operationId: game_xqueue_outcome_cosign
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/XQueueOutcomeCosignRequest'
        required: true
      responses:
        '200':
          description: Operator-cosigned cross-chain outcome payload
          content:
            application/json:
              schema:
                type: object
      servers:
      - url: https://api.coordination.game
        description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
      summary: Game xqueue outcome cosign
      x-summary-source: derived
  /internal/xqueue/reveal:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    post:
      tags:
      - xqueue
      operationId: game_xqueue_reveal
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/XRevealRequest'
        required: true
      responses:
        '200':
          description: Recorded cross-chain guess preimage reveal
          content:
            application/json:
              schema:
                type: object
      servers:
      - url: https://api.coordination.game
        description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
      summary: Game xqueue reveal
      x-summary-source: derived
  /internal/xqueue/sign:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    post:
      tags:
      - xqueue
      operationId: game_xqueue_sign
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/XSignRequest'
        required: true
      responses:
        '200':
          description: Recorded cross-chain checkpoint signature
          content:
            application/json:
              schema:
                type: object
      servers:
      - url: https://api.coordination.game
        description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
      summary: Game xqueue sign
      x-summary-source: derived
  /internal/xqueue/status:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    get:
      tags:
      - xqueue
      operationId: game_xqueue_status
      parameters:
      - name: wallet
        in: path
        description: 'Chain-native wallet. Still used by evmgame/status (self-mitigating: the

          poll key is an ephemeral session address) and xqueue/gameplay (post-match).

          NOT used by xqueue/status any more — that path leaked and now requires a

          handle.'
        required: true
        schema:
          type: string
      - name: handle
        in: path
        description: 'The secret poll-handle minted at `/join`. The ONLY way to poll

          xqueue/status: it aliases the wallet server-side so the public wallet never

          rides in that query string (the anonymity leak).'
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Cross-chain pairing status by handle
          content:
            application/json:
              schema:
                type: object
      security:
      - bearer_jwt: []
      servers:
      - url: https://api.coordination.game
        description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
      summary: Game xqueue status
      x-summary-source: derived
components:
  schemas:
    XSignRequest:
      properties:
        handle:
          description: 'The secret poll-handle minted at /join. The ONLY identifier: a caller

            no longer supplies a public wallet (any `wallet` still sent is ignored).'
          type: string
        signature:
          description: '`0x` 65-byte session-key signature over the canonical checkpoint digest.'
          type: string
        step:
          description: 'Checkpoint step being co-signed: 2 (both committed) or 4 (terminal).'
          format: int32
          minimum: 0
          type: integer
      required:
      - step
      - signature
      type: object
    XCommitRequest:
      properties:
        commit:
          description: '`0x` SHA-256 of the player''s guess preimage.'
          type: string
        handle:
          description: 'The secret poll-handle minted at /join. The ONLY identifier: a caller

            no longer supplies a public wallet (any `wallet` still sent is ignored).'
          type: string
      required:
      - commit
      type: object
    XQueueBuildSolRefundRequest:
      properties:
        kind:
          description: '"timeout" (default, after the claim window) or "nocert".'
          type:
          - string
          - 'null'
        match_id:
          description: '`0x` hex match id of the cross-chain match to refund.'
          type: string
        wallet:
          description: The Solana player's base58 wallet (fee payer + refund recipient).
          type: string
      required:
      - wallet
      - match_id
      type: object
    XQueueJoinRequest:
      properties:
        chain:
          description: CAIP-2 chain id the player is staking on.
          type: string
        session_key:
          description: '`0x` eth address of the player''s per-match secp256k1 session key.'
          type: string
        tournament_id:
          format: int64
          minimum: 0
          type: integer
        wallet:
          description: 'Chain-native address: base58 pubkey (Solana) or `0x` address (EVM).'
          type: string
      required:
      - wallet
      - chain
      - session_key
      - tournament_id
      type: object
    XQueueOutcomeCosignRequest:
      properties:
        handle:
          description: 'Secret poll-handle minted at /join. Required — the public wallet is no

            longer accepted (any `wallet` a client still sends is ignored).'
          type: string
      type: object
    XQueueBuildSolFundRequest:
      properties:
        handle:
          description: 'Secret poll-handle minted at /join. Required — the public wallet is no

            longer accepted (any `wallet` a client still sends is ignored).'
          type: string
      type: object
    XRevealRequest:
      properties:
        handle:
          description: 'The secret poll-handle minted at /join. The ONLY identifier: a caller

            no longer supplies a public wallet (any `wallet` still sent is ignored).'
          type: string
        preimage:
          description: '`0x` 32-byte guess preimage that opens the player''s commit.'
          type: string
      required:
      - preimage
      type: object
  securitySchemes:
    bearer_jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Unified stateless wallet JWT minted via POST https://api.coordination.game/auth/challenge + /auth/verify (Solana Ed25519) or /auth/evm/challenge + /auth/evm/verify (EVM EIP-191). Accepted across api.shillbot.org, api.coordination.game, and mcp.swarm.tips.
    inbox_session:
      type: apiKey
      in: header
      name: X-Inbox-Session
      description: Optional opaque inbox session header from POST https://mcp.swarm.tips/internal/inbox/session. Never send Authorization and X-Inbox-Session on the same request (returns 400 conflicting_auth_headers).