TD Ameritrade Holding · JSON Structure

Td Ameritrade Order Structure

TD Ameritrade brokerage trade order

Type: Properties: 0
FinanceBrokerageTradingMarket DataInvestmentCharles SchwabDeprecatedFortune 1000

Order is a JSON Structure definition published by TD Ameritrade Holding.

Meta-schema:

JSON Structure

Raw ↑
{
  "name": "Order",
  "description": "TD Ameritrade brokerage trade order",
  "fields": [
    {"name": "orderId", "type": "integer", "description": "Unique order identifier", "required": false},
    {
      "name": "orderType",
      "type": "string",
      "description": "Order type",
      "required": true,
      "enum": ["MARKET", "LIMIT", "STOP", "STOP_LIMIT", "TRAILING_STOP"]
    },
    {
      "name": "session",
      "type": "string",
      "description": "Trading session",
      "required": true,
      "enum": ["NORMAL", "AM", "PM", "SEAMLESS"]
    },
    {"name": "price", "type": "number", "description": "Limit price (for LIMIT orders)", "required": false},
    {
      "name": "duration",
      "type": "string",
      "description": "Order duration",
      "required": true,
      "enum": ["DAY", "GOOD_TILL_CANCEL", "FILL_OR_KILL"]
    },
    {
      "name": "status",
      "type": "string",
      "description": "Order status",
      "required": false,
      "enum": ["QUEUED", "WORKING", "FILLED", "CANCELED", "REJECTED", "EXPIRED"]
    },
    {"name": "accountId", "type": "string", "description": "Account identifier", "required": false},
    {"name": "enteredTime", "type": "string", "description": "Order entry timestamp", "required": false},
    {
      "name": "orderLegCollection",
      "type": "array",
      "description": "Order legs",
      "required": true,
      "items": {
        "name": "OrderLeg",
        "type": "object",
        "fields": [
          {"name": "instruction", "type": "string", "description": "Buy/sell instruction"},
          {"name": "quantity", "type": "number", "description": "Number of shares/contracts"},
          {
            "name": "instrument",
            "type": "object",
            "description": "Security being traded",
            "fields": [
              {"name": "symbol", "type": "string", "description": "Ticker symbol"},
              {"name": "assetType", "type": "string", "description": "Asset type (EQUITY, OPTION, etc.)"}
            ]
          }
        ]
      }
    }
  ]
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • 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 JSON Structure
curl "https://apis.io/api/v1/json-structures/td-ameritrade-order-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.