Swarm Tips Games API

The games API from Swarm Tips — 8 operation(s) for games.

GitHub OpenAPI

Operations 8

POST /games/both-committed Game both committed #
POST /games/committed Game committed #
POST /games/cosign Game cosign #
POST /games/cosign-join Game cosign join #
POST /games/joined Game joined #
POST /games/resolved Game resolved #
GET /games/session-status Game session status #
POST /games/started Game started #

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-games-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-games-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Swarm Tips Unified Agent Games 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: Games
paths:
  /games/both-committed:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    post:
      tags:
      - Games
      operationId: game_both_committed
      parameters:
      - name: network
        in: path
        required: true
        schema:
          type:
          - string
          - 'null'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BothCommittedRequest'
        required: true
      responses:
        '200':
          description: Verified on-chain commits and returned r_matchup
          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 both committed
      x-summary-source: derived
  /games/committed:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    post:
      tags:
      - Games
      operationId: game_committed
      parameters:
      - name: network
        in: path
        required: true
        schema:
          type:
          - string
          - 'null'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GameCommittedRequest'
        required: true
      responses:
        '200':
          description: Recorded commit for session
          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 committed
      x-summary-source: derived
  /games/cosign:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    post:
      tags:
      - Games
      operationId: game_cosign
      parameters:
      - name: network
        in: path
        required: true
        schema:
          type:
          - string
          - 'null'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CosignRequest'
        required: true
      responses:
        '200':
          description: Matchmaker signature for create_game
          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 cosign
      x-summary-source: derived
  /games/cosign-join:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    post:
      tags:
      - Games
      operationId: game_cosign_join
      parameters:
      - name: network
        in: path
        required: true
        schema:
          type:
          - string
          - 'null'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CosignRequest'
        required: true
      responses:
        '200':
          description: Matchmaker signature for join_game
          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 cosign join
      x-summary-source: derived
  /games/joined:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    post:
      tags:
      - Games
      operationId: game_joined
      parameters:
      - name: network
        in: path
        required: true
        schema:
          type:
          - string
          - 'null'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GameJoinedRequest'
        required: true
      responses:
        '200':
          description: Recorded player two on-chain join
          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 joined
      x-summary-source: derived
  /games/resolved:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    post:
      tags:
      - Games
      operationId: game_resolved
      parameters:
      - name: network
        in: path
        required: true
        schema:
          type:
          - string
          - 'null'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GameResolvedRequest'
        required: true
      responses:
        '200':
          description: Recorded resolved game outcome
          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 resolved
      x-summary-source: derived
  /games/session-status:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    get:
      tags:
      - Games
      operationId: game_session_status
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
      - name: network
        in: path
        description: '`mainnet` or `devnet`. Optional — defaults to mainnet.'
        required: true
        schema:
          type:
          - string
          - 'null'
      responses:
        '200':
          description: Current session status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionStatusResponse'
      security:
      - bearer_jwt: []
      servers:
      - url: https://api.coordination.game
        description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
      summary: Game session status
      x-summary-source: derived
  /games/started:
    servers:
    - url: https://api.coordination.game
      description: Coordination Game Auth, Solana/EVM & Cross-Chain Matchmaking API
    post:
      tags:
      - Games
      operationId: game_started
      parameters:
      - name: network
        in: path
        required: true
        schema:
          type:
          - string
          - 'null'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GameStartedRequest'
        required: true
      responses:
        '200':
          description: Linked session to on-chain game ID
          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 started
      x-summary-source: derived
components:
  schemas:
    GameJoinedRequest:
      properties:
        game_id:
          format: int64
          minimum: 0
          type: integer
        session_id:
          type: string
      required:
      - game_id
      - session_id
      type: object
    GameResolvedRequest:
      properties:
        agent_guess_reasoning:
          description: LLM reasoning for the AI agent's guess decision (for A/B analysis).
          type:
          - string
          - 'null'
        agent_guess_source:
          description: '"llm" if LLM decided, "fallback" if defaulted due to error.'
          type:
          - string
          - 'null'
        first_committer:
          description: 'Player who committed first, in the on-chain encoding: 1 = P1, 2 = P2

            (255 is the pre-commit sentinel and is never posted here). NOT 0-indexed —

            reading it as such caused the 2026-05-09 production bug documented below.'
          format: int32
          minimum: 0
          type: integer
        game_id:
          format: int64
          minimum: 0
          type: integer
        matchup_type:
          description: 0 = same-team, 1 = different-team (from on-chain game account).
          format: int32
          minimum: 0
          type: integer
        p1_guess:
          format: int32
          minimum: 0
          type: integer
        p1_return:
          format: int64
          minimum: 0
          type: integer
        p2_guess:
          format: int32
          minimum: 0
          type: integer
        p2_return:
          format: int64
          minimum: 0
          type: integer
      required:
      - game_id
      - p1_guess
      - p2_guess
      - p1_return
      - p2_return
      type: object
    GameCommittedRequest:
      properties:
        session_id:
          type: string
      required:
      - session_id
      type: object
    CosignRequest:
      properties:
        message:
          description: 'Base64-encoded serialized transaction message bytes.

            The frontend builds the transaction, serializes the message, and sends

            just the message bytes for the matchmaker to sign. This avoids the

            Solana web3.js serialization bug that loses signer metadata.'
          type: string
        session_id:
          description: 'The session this create_game belongs to. Required: without it the

            matchmaker had nothing to compare the commitment against, so its

            signature attested to nothing but its own participation.'
          type: string
      required:
      - session_id
      - message
      type: object
    BothCommittedRequest:
      properties:
        session_id:
          type: string
      required:
      - session_id
      type: object
    GameStartedRequest:
      properties:
        game_id:
          format: int64
          minimum: 0
          type: integer
        session_id:
          type: string
      required:
      - game_id
      - session_id
      type: object
    SessionStatusResponse:
      properties:
        abandoned:
          type: boolean
        caller_role:
          description: 0 = P1, 1 = P2 relative to the authenticated caller.
          format: int32
          minimum: 0
          type: integer
        game_id:
          format: int64
          minimum: 0
          type:
          - integer
          - 'null'
        game_joined:
          type: boolean
        game_started:
          type: boolean
        p1_committed:
          type: boolean
        p2_committed:
          type: boolean
        r_matchup:
          description: Only present after both players have committed and r_matchup has been delivered.
          type:
          - string
          - 'null'
        r_matchup_delivered:
          type: boolean
        resolved:
          type: boolean
        session_id:
          type: string
      required:
      - session_id
      - game_started
      - game_joined
      - p1_committed
      - p2_committed
      - r_matchup_delivered
      - resolved
      - abandoned
      - caller_role
      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).