Trade It Brokerage Connection API

The BrokerageConnection API from Trade It — 1 operation(s) for brokerageconnection.

GitHub OpenAPI

Operations 1

DELETE /api/brokerageConnection/{id} Delete a brokerage connection and its accounts #

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/tradeit-app:tradeit-app-brokerageconnection-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

tradeit-app-brokerageconnection-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trade It Brokerage Connection API
  version: 1.0.0
  description: Read brokerage accounts and holdings, create reviewable orders, and execute approved trades. Authenticate with a user API key or per-user OAuth token.
  contact:
    name: Trade It
    url: https://tradeit.app/llm-resources
servers:
- url: https://api.tradeit.app
security:
- OAuth2:
  - tool:execute
- TradeItApiKey: []
tags:
- name: BrokerageConnection
paths:
  /api/brokerageConnection/{id}:
    delete:
      operationId: deleteConnection
      externalDocs:
        url: https://docs.tradeit.app/api/delete-connection
      summary: Delete a brokerage connection and its accounts
      description: Deletes the authenticated user’s brokerage connection, all accounts on that connection, and their stored trades in Trade It. Currently applies to the entire connection across Trade It and all partners, regardless of which client created the token. Use connection.id or account.connection_id from get_accounts. Requires a user bearer token with brokerage:write; organization client credentials are not accepted. Sends ACCOUNT_DELETED webhooks for the deleted accounts to subscribed partners. Does not remove organization membership or revoke OAuth authorization.
      security:
      - OAuth2:
        - brokerage:write
      - TradeItApiKey: []
      parameters:
      - name: id
        in: path
        required: true
        description: Trade It brokerage connection ID, returned as connection.id or account.connection_id by get_accounts.
        schema:
          type: integer
          minimum: 1
        example: 395
      responses:
        '200':
          description: Connection and associated records deleted.
          content:
            application/json:
              schema:
                type: object
                required:
                - success
                properties:
                  success:
                    type: boolean
                    const: true
              example:
                success: true
        '401':
          description: Invalid or expired bearer token.
        '403':
          description: The caller cannot access the connection or lacks brokerage:write permission.
        '404':
          description: Connection not found.
      tags:
      - BrokerageConnection
components:
  securitySchemes:
    PartnerClientCredentials:
      type: http
      scheme: basic
      description: Use the organization’s client_id and client_secret from your server. URL-encode each value before joining with a colon and Base64-encoding.
    OAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://auth.tradeit.app/auth/v1/authorize
          tokenUrl: https://auth.tradeit.app/auth/v1/token
          scopes:
            asset:read: Read market asset metadata and prices.
            brokerage:read: Read linked brokerage accounts and balances.
            brokerage:write: Create, update, or delete brokerage connections.
            trade:read: Read trade history and order state.
            trade:write: Create draft trades and order updates.
            tool:execute: Execute Trade It MCP and agent tools.
            user:read: Read the authenticated Trade It user profile.
    TradeItApiKey:
      type: http
      scheme: bearer
      description: Create a user API key at https://tradeit.app/account/api-keys.
x-supported-brokerages:
  all:
  - Charles Schwab
  - Coinbase
  - ETrade
  - Kraken
  - Moomoo
  - Public
  - Robinhood
  - Tastytrade
  - TradeStation
  - TradeStation Paper
  - Webull
  equitiesAndOptions:
  - Charles Schwab
  - ETrade
  - Moomoo
  - Public
  - Robinhood
  - Tastytrade
  - TradeStation
  - TradeStation Paper
  - Webull
  crypto:
  - Coinbase
  - Kraken
  - Public
  futures:
  - Tastytrade
  - TradeStation
  - TradeStation Paper
  futuresOptions:
  - Tastytrade