Shumi AI Trade decisions API

Regime, funding, futures, pairs, and per-coin verdicts.

GitHub OpenAPI

Operations 9

GET /api/cli/signal/{symbol} Verdict for one coin #
GET /api/cli/regime Market regime #
GET /api/cli/funding/momentum Perpetual funding momentum #
GET /api/cli/funding/alerts Recent funding alert events #
GET /api/cli/futures Futures signals #
GET /api/cli/pairs Pair trading and delta-neutral #
GET /api/cli/trends Trend state across the market #
GET /api/cli/walkforward Signal track record #
GET /api/cli/signal-quality Signal quality scoring #

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/shumi-ai:shumi-ai-trade-decisions-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

shumi-ai-trade-decisions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shumi Trade decisions API
  description: 'Market data, verdicts and plain-word answers for crypto and real-world assets. Data routes return a versioned envelope that holds either `data` or `error`.


    The `shumi` CLI and the `@shumi-ai/mcp` MCP server call the same routes.'
  version: 1.0.0
servers:
- url: https://api.shumi.ai
  description: Production
security:
- bearerAuth: []
tags:
- name: Trade decisions
  description: Regime, funding, futures, pairs, and per-coin verdicts.
paths:
  /api/cli/signal/{symbol}:
    get:
      operationId: getSignal
      summary: Verdict for one coin
      description: A verdict for one coin, with its evidence. `coverage` (`high`, `medium` or `low`) says how many of the four inputs (trend, funding, sentiment, regime) answered. `confidence` carries the same value.
      tags:
      - Trade decisions
      parameters:
      - $ref: '#/components/parameters/SymbolPath'
      responses:
        '200':
          $ref: '#/components/responses/Ok'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/AuthRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
  /api/cli/regime:
    get:
      operationId: getRegime
      summary: Market regime
      tags:
      - Trade decisions
      parameters:
      - name: action
        in: query
        schema:
          type: string
          enum:
          - active
          - signals
          - confidence
          - history
          default: active
      - name: symbol
        in: query
        schema:
          type: string
        description: Required when `action=history`.
      responses:
        '200':
          $ref: '#/components/responses/Ok'
        '400':
          $ref: '#/components/responses/BadRequest'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/AuthRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
  /api/cli/funding/momentum:
    get:
      operationId: getFundingMomentum
      summary: Perpetual funding momentum
      description: Market-wide when `symbol` is omitted, otherwise scoped to one asset.
      tags:
      - Trade decisions
      parameters:
      - name: symbol
        in: query
        schema:
          type: string
        example: BTC
      responses:
        '200':
          $ref: '#/components/responses/Ok'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/AuthRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
  /api/cli/funding/alerts:
    get:
      operationId: getFundingAlerts
      summary: Recent funding alert events
      tags:
      - Trade decisions
      responses:
        '200':
          $ref: '#/components/responses/Ok'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/AuthRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
  /api/cli/futures:
    get:
      operationId: getFutures
      summary: Futures signals
      tags:
      - Trade decisions
      parameters:
      - name: action
        in: query
        schema:
          type: string
          enum:
          - state
          - log
          - history
          default: state
        description: '`state` is currently open signals; `log` is recent fires across assets.'
      - name: asset
        in: query
        schema:
          type: string
        description: Required when `action=history`.
      responses:
        '200':
          $ref: '#/components/responses/Ok'
        '400':
          $ref: '#/components/responses/BadRequest'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/AuthRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
  /api/cli/pairs:
    get:
      operationId: getPairs
      summary: Pair trading and delta-neutral
      description: '`suggestions` pairs two different coins. `delta-neutral` is the same coin across two venues, earning the funding spread. They are not interchangeable.'
      tags:
      - Trade decisions
      parameters:
      - name: action
        in: query
        schema:
          type: string
          enum:
          - suggestions
          - history
          - signal
          - delta-neutral
          default: suggestions
      - name: tokenA
        in: query
        schema:
          type: string
        description: Required when `action=signal`.
        example: eth
      - name: tokenB
        in: query
        schema:
          type: string
        description: Required when `action=signal`.
        example: sol
      responses:
        '200':
          $ref: '#/components/responses/Ok'
        '400':
          $ref: '#/components/responses/BadRequest'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/AuthRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
  /api/cli/trends:
    get:
      operationId: getTrends
      summary: Trend state across the market
      tags:
      - Trade decisions
      parameters:
      - name: action
        in: query
        schema:
          type: string
          enum:
          - fresh
          - stale
          - aligned
          - extreme
          - historical
          default: fresh
      responses:
        '200':
          $ref: '#/components/responses/Ok'
        '400':
          $ref: '#/components/responses/BadRequest'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/AuthRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
  /api/cli/walkforward:
    get:
      operationId: getWalkforward
      summary: Signal track record
      description: 'The forward-tested record of Shumi''s signals: the signals, the positions they opened and their outcomes.'
      tags:
      - Trade decisions
      parameters:
      - name: action
        in: query
        schema:
          type: string
          enum:
          - signals
          - positions
          - outcomes
          default: signals
      responses:
        '200':
          $ref: '#/components/responses/Ok'
        '400':
          $ref: '#/components/responses/BadRequest'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/AuthRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
  /api/cli/signal-quality:
    get:
      operationId: getSignalQuality
      summary: Signal quality scoring
      tags:
      - Trade decisions
      responses:
        '200':
          $ref: '#/components/responses/Ok'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/AuthRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  responses:
    Unauthorized:
      description: 'The token was rejected: malformed, unknown, expired or revoked.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            schemaVersion: 1
            error:
              code: AUTH_INVALID
              message: API key has expired
    BadRequest:
      description: A parameter is missing or invalid. The message names it.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            schemaVersion: 1
            error:
              code: BAD_REQUEST
              message: action=movements requires ?contract=<token address>
    AuthRequired:
      description: No token was sent.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            schemaVersion: 1
            error:
              code: AUTH_REQUIRED
              message: 'Authentication required. Send an API key as "Authorization: Bearer shumi_sk_...", or run: shumi login'
    Ok:
      description: Success.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Envelope'
    RateLimited:
      description: 'Quota used up on a call that cannot be paid per call: a paid plan''s daily limit, a live stream, or a Free account when pay-per-call is unavailable.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            schemaVersion: 1
            error:
              code: RATE_LIMITED
              message: Quota exceeded (50/50 on access); resets at 00:00 UTC, or upgrade to Pro for unlimited
    PaymentRequired:
      description: 'Your free questions are used up. The body is an x402 challenge: pay for this one call in USDC on Base and resend it with the `X-PAYMENT` header. A data call costs 0.005 USDC; a plain-word question, `pairs` or `walkforward` 0.05 USDC.'
      content:
        application/json:
          schema:
            type: object
            properties:
              x402Version:
                type: integer
              accepts:
                type: array
                items:
                  type: object
                  properties:
                    scheme:
                      type: string
                    network:
                      type: string
                    maxAmountRequired:
                      type: string
                      description: 'Price in USDC''s smallest unit (6 decimals): `5000` is 0.005 USDC.'
                    resource:
                      type: string
                    payTo:
                      type: string
                    asset:
                      type: string
                      description: USDC contract on Base.
                    maxTimeoutSeconds:
                      type: integer
                    extra:
                      type: object
          example:
            x402Version: 1
            accepts:
            - scheme: exact
              network: base
              maxAmountRequired: '5000'
              resource: https://api.shumi.ai/api/cli/coin/risk/DOGE
              payTo: 0x...
              asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
              maxTimeoutSeconds: 60
              extra:
                name: USD Coin
                version: '2'
  schemas:
    Error:
      type: object
      required:
      - schemaVersion
      - error
      properties:
        schemaVersion:
          type: integer
          example: 1
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              enum:
              - BAD_REQUEST
              - AUTH_REQUIRED
              - AUTH_INVALID
              - RATE_LIMITED
              - UPSTREAM_4XX
              - UPSTREAM_5XX
              - NETWORK
              - INTERNAL
            message:
              type: string
            details:
              description: Present when the route can say something more specific.
    Envelope:
      type: object
      description: Success envelope. `schemaVersion` only changes on a breaking shape change, so a pinned client can detect one.
      required:
      - schemaVersion
      - data
      - meta
      properties:
        schemaVersion:
          type: integer
          example: 1
        data:
          description: Route-specific payload.
        meta:
          type: object
          properties:
            ts:
              type: string
              format: date-time
              description: When this response was produced.
            as_of:
              type: string
              format: date-time
              description: Timestamp of the underlying data, when it carries one.
            data_age_seconds:
              type: integer
              description: Age of the underlying data. Present alongside `as_of`.
  parameters:
    SymbolPath:
      name: symbol
      in: path
      required: true
      schema:
        type: string
      description: Uppercase ticker.
      example: BTC
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An API key (`shumi_sk_…`) or a session JWT. Create a key with `shumi login` and `shumi keys create`.