Gainium API

Gainium API as documented publicly: 8 operations. Contract generated from the documentation by API Evangelist (2026-11-09); not the provider's own document.

GitHub OpenAPI

Operations 8

POST /api/v2/bots/combo When creating a combo bot, set useMulti: true, pass the pairs in pair, and optionally maxDealsPerPair. #
PUT /api/v2/bots/combo/{botid} To change the pairs of a running multi‑coin combo, send pair to PUT /api/v2/bots/combo/{botId}. #
PUT /api/v2/bots/combo/{botid}/pairs Use PUT /api/v2/bots/combo/{botId}/pairs to add, remove or replace pairs. #
GET /api/v2/bots/dca Get bots: GET /api/v2/bots/dca #
DELETE /api/v2/bots/dca/{botid} Archive a bot: DELETE /api/v2/bots/dca/{botId} #
PUT /api/v2/bots/dca/{botid} Update a bot: PUT /api/v2/bots/dca/{botId} #
POST /messages Legacy messages endpoint #
GET /sse Legacy SSE endpoint #

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/gainium-io:gainium-io-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

gainium-io-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Gainium API
  version: '2026-11-09'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-09: 8 operation(s) read from 3 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Gainium has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 0
    documentation: 8
    pages-with-code: 0
    pages-read: 3
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-09'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://gainium.io/help/gainium-api-for-developers
  - https://gainium.io/help/mcp
  - https://gainium.io/help/multi-coin-combo-bots
servers:
- url: https://api.gainium.io
paths:
  /api/v2/bots/combo:
    post:
      operationId: post_api_v2_bots_combo
      tags:
      - Api
      summary: 'When creating a combo bot, set useMulti: true, pass the pairs in pair, and optionally maxDealsPerPair.'
      x-source: https://gainium.io/help/multi-coin-combo-bots
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV2BotsComboRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV2BotsComboResponse'
      x-evidence:
        kind: documentation
  /api/v2/bots/combo/{botid}:
    put:
      operationId: put_api_v2_bots_combo_botid
      tags:
      - Api
      summary: To change the pairs of a running multi‑coin combo, send pair to PUT /api/v2/bots/combo/{botId}.
      x-source: https://gainium.io/help/multi-coin-combo-bots
      parameters:
      - name: botid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutApiV2BotsComboBotidRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutApiV2BotsComboBotidResponse'
      x-evidence:
        kind: documentation
  /api/v2/bots/combo/{botid}/pairs:
    put:
      operationId: put_api_v2_bots_combo_botid_pairs
      tags:
      - Api
      summary: Use PUT /api/v2/bots/combo/{botId}/pairs to add, remove or replace pairs.
      x-source: https://gainium.io/help/multi-coin-combo-bots
      parameters:
      - name: botid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutApiV2BotsComboBotidPairsRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutApiV2BotsComboBotidPairsResponse'
      x-evidence:
        kind: documentation
  /api/v2/bots/dca:
    get:
      operationId: get_api_v2_bots_dca
      tags:
      - Api
      summary: 'Get bots: GET /api/v2/bots/dca'
      x-source: https://gainium.io/help/gainium-api-for-developers
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v2/bots/dca/{botid}:
    delete:
      operationId: delete_api_v2_bots_dca_botid
      tags:
      - Api
      summary: 'Archive a bot: DELETE /api/v2/bots/dca/{botId}'
      x-source: https://gainium.io/help/gainium-api-for-developers
      parameters:
      - name: botid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    put:
      operationId: put_api_v2_bots_dca_botid
      tags:
      - Api
      summary: 'Update a bot: PUT /api/v2/bots/dca/{botId}'
      x-source: https://gainium.io/help/gainium-api-for-developers
      parameters:
      - name: botid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /messages:
    post:
      operationId: post_messages
      tags:
      - Messages
      summary: Legacy messages endpoint
      description: Legacy endpoint for sending messages to an SSE session. Used when the client supports only SSE.
      x-source: https://gainium.io/help/mcp
      parameters:
      - name: sessionId
        in: query
        required: false
        schema:
          type: string
        description: Identifier of the SSE session to which the message should be sent.
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /sse:
    get:
      operationId: get_sse
      tags:
      - Sse
      summary: Legacy SSE endpoint
      description: Legacy Server‑Sent Events endpoint used by local HTTP mode clients.
      x-source: https://gainium.io/help/mcp
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    PostApiV2BotsComboRequest:
      type: object
      properties:
        useMulti:
          type: boolean
          description: Must be true to create a multi‑coin combo bot.
        pair:
          type: array
          description: List of trading pairs to include in the multi‑coin combo bot.
        maxDealsPerPair:
          type: integer
          description: Optional maximum number of open deals per individual pair.
      required:
      - useMulti
      - pair
    PostApiV2BotsComboResponse:
      type: object
      properties:
        botId:
          type: string
          description: Identifier of the newly created combo bot.
    PutApiV2BotsComboBotidRequest:
      type: object
      properties:
        pair:
          type: array
          description: New list of trading pairs for the bot.
      required:
      - pair
    PutApiV2BotsComboBotidResponse:
      type: object
      properties:
        status:
          type: string
          description: Result of the update operation.
    PutApiV2BotsComboBotidPairsRequest:
      type: object
      properties:
        pair:
          type: array
          description: Array of pairs to add, remove, or replace for the bot.
      required:
      - pair
    PutApiV2BotsComboBotidPairsResponse:
      type: object
      properties:
        status:
          type: string
          description: Result of the pair‑modification operation.
tags:
- name: Api
- name: Messages
- name: Sse