SnapTrade Trading API

Manage orders on user accounts.

GitHub OpenAPI
Business capability
Trading Order Management BC-1370.30

Operations 13

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /accounts/{accountId}/quotes Get equity quotes for an account · Get equity symbol quotes #
Ask an LLM
“Can I get delayed quotes for several stocks from a brokerage account?”
“How many symbols can I request quotes for at once?”
Tell an agent
Get quotes for {symbols} on account {account}.
Pull delayed equity quotes for {symbols} from account {account}.
POST /trade/place Place an order without checking impact · Place equity order #
Ask an LLM
“How do I place an order on a brokerage account without simulating its impact first?”
“Can I buy or sell shares at a limit price right away?”
Tell an agent
Place a {action} {order_type} order for {units} shares of {symbol} on account {account} at {price}, {time_in_force}.
Buy {units} shares of {symbol} on account {account} at {price} with {time_in_force} using {order_type}, {action}.
POST /accounts/{accountId}/trading/complex Place an OCO, OTO or OTOCO order · Place complex order #
Ask an LLM
“Can I place an OCO or OTO order on a brokerage account?”
“Which brokerages support complex conditional orders?”
Tell an agent
Place an {type} complex order with {orders} on account {account}.
Create an OCO order on account {account} with {orders} and client ID {client_order_id}.
POST /accounts/{accountId}/trading/replace Replace a pending brokerage order · Replace order #
Ask an LLM
“How do I change a pending order by cancelling it and placing a new one?”
“Does the brokerage order ID change when I replace an order?”
Tell an agent
Replace pending order {brokerage_order_id} on account {account} with a {action} {order_type} {time_in_force} order for {units} shares of {symbol}.
Change the price of pending order {brokerage_order_id} on account {account} to {price}.
POST /trade/impact Simulate an equity order's impact · Check equity order impact #
Ask an LLM
“How much will an order cost and how will it affect my account balance before I place it?”
“Can I check an order's impact on a brokerage account?”
Tell an agent
Check the impact of a {action} {order_type} {time_in_force} order for {units} shares of {symbol} on account {account}.
Simulate a {action} {order_type} order at {price} on account {account} with {time_in_force} and {units} shares of {symbol}.
POST /trade/{tradeId} Place a checked equity order · Place checked equity order #
Ask an LLM
“How do I place an order I already checked for impact?”
“How long does a checked order stay valid before I place it?”
Tell an agent
Place checked order {tradeId} on account {account}.
Execute the checked equity order {tradeId} with wait set to {wait_to_confirm}.
POST /accounts/{accountId}/trading/crypto Place a crypto order · Place crypto order #
Ask an LLM
“How do I buy or sell a cryptocurrency on a brokerage account?”
“Can I place a crypto order with a limit price or stop price?”
Tell an agent
Place a {side} {type} {time_in_force} order for {amount} {instrument} on account {account}.
Buy {amount} {instrument} on account {account} at {limit_price} with {time_in_force} and {type}, {side}.
POST /accounts/{accountId}/trading/cancel Cancel an order on an account · Cancel order #
Ask an LLM
“How do I cancel an order on a brokerage account?”
“Can I cancel an order by its brokerage order ID?”
Tell an agent destructive · confirm first
Cancel order {brokerage_order_id} on account {account}.
Cancel pending order {brokerage_order_id} on account {account} for user {user}.
POST /accounts/{accountId}/trading/crypto/preview Preview a crypto order · Preview crypto order #
Ask an LLM
“Can I preview a crypto order before placing it?”
“What will a crypto order cost before I submit it?”
Tell an agent
Preview a {side} {type} {time_in_force} order for {amount} {instrument} on account {account}.
Show the preview of a {side} {type} order for {amount} {instrument} on account {account} with {limit_price} and {time_in_force}.
GET /accounts/{accountId}/trading/instruments/cryptocurrencyPairs List crypto currency pairs for an account · Get crypto pairs #
Ask an LLM
“Which cryptocurrency pairs can I trade on a brokerage account?”
“Can I filter crypto pairs by base or quote currency?”
Tell an agent
List crypto pairs for account {account}.
Find crypto pairs on account {account} with base {base} and quote {quote}.
GET /accounts/{accountId}/trading/instruments/cryptocurrencyPairs/{instrumentSymbol}/quote Get a crypto pair quote · Get crypto pair quote #
Ask an LLM
“Can I get a live price quote for a cryptocurrency pair?”
“How do I look up the quote for one crypto pair on an account?”
Tell an agent
Get the quote for {instrument} on account {account}.
Pull a live price for crypto pair {instrument} from account {account}.
POST /accounts/{accountId}/trading/options/impact Simulate an option order's impact · Get option order impact #
Ask an LLM
“How much will an option order cost before I place it?”
“Can I simulate a multi-leg option order on an account?”
Tell an agent
Check the impact of an {order_type} option order with legs {legs} on account {account}.
Simulate an {order_type} option order with legs {legs} on account {account} at {limit_price} and {time_in_force}.
POST /accounts/{accountId}/trading/options Place a multi-leg option order · Place option order #
Ask an LLM
“How do I place a multi-leg option order on an account?”
“Which brokerages support placing option orders with several legs?”
Tell an agent
Place a {order_type} multi-leg option order with legs {legs} on account {account}.
Execute a {order_type} option order with legs {legs} on account {account} at {limit_price} and {time_in_force}.

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/snaptrade:snaptrade-trading-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

snaptrade-trading-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'Connect brokerage accounts to your app for live positions and trading.


    ## Rate limiting


    Two limits apply to requests signed with your `clientId`. The stricter one

    wins, and exceeding either returns `429 Too Many Requests`.


    - **Customer-level** — 250 requests/minute by default, scoped to your

    `clientId` and applied across all endpoints. Reported in

    `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`.

    - **Account-level** — 10 requests/minute per account, scoped to

    (`clientId`, `accountId`). All covered operations for one account draw on

    the same bucket — reading balances and reading positions share it — and

    enforcement does not depend on the HTTP method, so updating an account

    consumes the same bucket as reading it. Only enforced for Personal users,

    and only for integrations it has been rolled out to — it is not yet in

    force for every Personal integration. It also does not apply on every

    operation that documents a 429 below. Where it applies it is reported in

    `X-RateLimit-Account-Limit`, `X-RateLimit-Account-Remaining` and

    `X-RateLimit-Account-Reset`. Do not read the absence of those headers as

    proof the limit is off — some configurations omit the rate limit headers

    while still enforcing the limit, so header absence tells you nothing

    about your allowance.


    On a 429, `X-RateLimit-Remaining: 0` means you hit the customer-level limit

    and `X-RateLimit-Account-Remaining: 0` means the account-level one. Wait for

    the corresponding `*-Reset` value (seconds) before retrying, or fall back to

    exponential backoff with jitter.


    Not every 429 is explained by those headers. A separate

    per-authenticated-user limit, reported in no `X-RateLimit-*` header, covers

    OAuth-authenticated requests and signed requests in configurations where the

    customer-level limit is not in effect — on the operations that use the

    default throttles. A few operations override those and are governed by the

    customer-level limit alone. The two do not stack: a signed request

    governed by the customer-level limit above is not additionally subject to the

    per-user one. If a 429 arrives with no header at zero — or with no

    `X-RateLimit-*` headers at all — honour `Retry-After` and back off. Treat the

    remaining counts as a hint, not a guarantee that the next request will

    succeed.


    Because the customer-level limit applies everywhere, any signed request can

    return 429.


    **OAuth-authenticated requests are an exception.** They are not subject to

    the customer-level limit and do not receive `X-RateLimit-Limit`,

    `X-RateLimit-Remaining` or `X-RateLimit-Reset` — do not wait on those headers

    or design around a customer-level allowance on this path. The account-level

    limit still applies to them on the account-data endpoints above, reported in

    the `X-RateLimit-Account-*` headers. On operations using the default

    throttles the per-user limit above applies to them as well, so an OAuth

    request can be rejected while the account headers still show capacity; on

    the few operations that override those throttles, OAuth callers have no

    per-user ceiling at all. Drive retries from `Retry-After` and exponential

    backoff with jitter rather than from the headers.


    See https://docs.snaptrade.com/docs/ratelimiting.'
  version: 1.0.0
  title: SnapTrade Trading API
  termsOfService: N/A
  contact:
    email: api@snaptrade.com
  x-konfig-ignore:
    potential-incorrect-type: true
  x-readme:
    explorer-enabled: false
servers:
- description: SnapTrade Production API
  url: https://api.snaptrade.com
security:
- PartnerSignature: []
  PartnerClientId: []
  PartnerTimestamp: []
tags:


# --- truncated at 32 KB (87 KB total) ---
# Full source: https://artifacts.apis.io/snaptrade/openapi/snaptrade-trading-api-openapi.yml