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.
openapi: 3.2.0
info:
title: Trade It Partner 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: Partner
paths:
/api/partner/membership:
delete:
operationId: removeMembership
externalDocs:
url: https://docs.tradeit.app/api/remove-membership
summary: Remove a member using organization client credentials
description: Authenticate with HTTP Basic using the organization’s client_id and client_secret. Supply the target member’s Trade It user_id in the JSON body. A user access token is not required, so removal works after user authorization is revoked or tokens expire. Uses the same sponsorship cleanup and last-admin protection as administrator member removal. Current-cycle usage remains billable; removed members do not carry into future billing cycles unless they rejoin. Does not revoke OAuth authorization or delete brokerage connections or accounts.
security:
- PartnerClientCredentials: []
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
user_id:
description: The Trade It user ID of the organization member to remove.
type:
- number
- string
required:
- user_id
additionalProperties: false
responses:
'200':
description: Membership removed.
content:
application/json:
schema:
type: object
required:
- success
properties:
success:
type: boolean
const: true
example:
success: true
'400':
description: Invalid user_id or request body, or the member is the organization’s last administrator.
'401':
description: Missing or invalid HTTP Basic client credentials.
'404':
description: The organization or active membership was not found.
tags:
- Partner
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