TradingAgentStack API

TradingAgentStack API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-27); not the provider's own document.

GitHub OpenAPI

Operations 6

GET /api/x402 PayAPI route to check a tool via x402 payment. #
GET /portfolio/balance GET /portfolio/balance has its own bucket (1/sec on Basic and Advanced). #
GET /portfolio/credit_history new GET /portfolio/credit_history endpoint was added. #
GET /v1/accounting/snapshot GET /v1/accounting/snapshot has no v2 counterpart, is not part of that retirement and keeps its existing route. #
POST /v1/api/iserver/auth/ssodh/init Initialise the brokerage session with POST /v1/api/iserver/auth/ssodh/init before calling trading endpoints. #
GET /v1/feetiers Fees are tiered by volume and set per market; the docs give no rates and point to the API (GET /v1/feetiers). #

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/tradingagentstack-com:tradingagentstack-com-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

tradingagentstack-com-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: TradingAgentStack API
  version: '2026-11-27'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-27: 6 operation(s) read from 10 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; TradingAgentStack has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 0
    documentation: 6
    pages-with-code: 0
    pages-read: 10
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-27'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://tradingagentstack.com/tool/kalshi-api
  - https://tradingagentstack.com/tool/polymarket-api
  - https://tradingagentstack.com/tool/polymarket-api/is-it-safe
  - https://tradingagentstack.com/compare/polymarket-api-vs-kalshi-api
  - https://tradingagentstack.com/guides/ibkr-paper-trading-api-for-ai-agents
  - https://tradingagentstack.com/mcp
  - https://tradingagentstack.com/best-perp-dex-for-trading-bots
  - https://tradingagentstack.com/changes
  - https://tradingagentstack.com/changes/rss.xml
  - https://tradingagentstack.com/prediction-market-apis
paths:
  /api/x402:
    get:
      operationId: get_api_x402
      tags:
      - Api
      summary: PayAPI route to check a tool via x402 payment.
      description: Agents that pay with x402 can call this endpoint to get the same JSON answer as the free check tool. The first request returns
        HTTP 402 with the price; after payment the request returns the JSON result. A request without the query parameter returns HTTP 400.
      x-source: https://tradingagentstack.com/mcp
      parameters:
      - name: query
        in: query
        required: true
        schema:
          type: string
        description: The name, link, @handle or GitHub repo of a Telegram trading bot, exchange, swap service or wallet to check.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /portfolio/balance:
    get:
      operationId: get_portfolio_balance
      tags:
      - Portfolio
      summary: GET /portfolio/balance has its own bucket (1/sec on Basic and Advanced).
      x-source: https://tradingagentstack.com/tool/kalshi-api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /portfolio/credit_history:
    get:
      operationId: get_portfolio_credit_history
      tags:
      - Portfolio
      summary: new GET /portfolio/credit_history endpoint was added.
      x-source: https://tradingagentstack.com/tool/kalshi-api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/accounting/snapshot:
    get:
      operationId: get_v1_accounting_snapshot
      tags:
      - Accounting
      summary: GET /v1/accounting/snapshot has no v2 counterpart, is not part of that retirement and keeps its existing route.
      x-source: https://tradingagentstack.com/tool/polymarket-api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/api/iserver/auth/ssodh/init:
    post:
      operationId: post_v1_api_iserver_auth_ssodh_init
      tags:
      - Api
      summary: Initialise the brokerage session with POST /v1/api/iserver/auth/ssodh/init before calling trading endpoints.
      x-source: https://tradingagentstack.com/guides/ibkr-paper-trading-api-for-ai-agents
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/feetiers:
    get:
      operationId: get_v1_feetiers
      tags:
      - Feetiers
      summary: Fees are tiered by volume and set per market; the docs give no rates and point to the API (GET /v1/feetiers).
      x-source: https://tradingagentstack.com/best-perp-dex-for-trading-bots
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
tags:
- name: Accounting
- name: Api
- name: Feetiers
- name: Portfolio