Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Charles Schwab Orders API

Place, retrieve, and cancel orders

Charles Schwab Orders API is one of 10 APIs that Charles Schwab publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Orders. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, and authentication docs.

This API exposes 4 operations across 2 paths, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against a single base URL, https://api.schwabapi.com/marketdata/v1.

4 operations 2 paths 2 schemas 1 DELETE2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://api.schwabapi.com/trader/v1
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

Charles Schwab Orders API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 1 scope. By default, every request must be authenticated.

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Orders 4

Place, retrieve, and cancel orders

GET
/accounts/{accountNumber}/orders
List orders for an account
listOrdersByAccount 4 params → 200
POST
/accounts/{accountNumber}/orders
Place a new order
placeOrder 1 param body → 201
GET
/accounts/{accountNumber}/orders/{orderId}
Get a specific order
getOrder 2 params → 200
DELETE
/accounts/{accountNumber}/orders/{orderId}
Cancel an order
cancelOrder 2 params → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Order (14 properties), Instrument (4 properties). Each schema is shown below with its type and property counts.

Order
object
14 properties 4 required
Instrument
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

charles-schwab-orders-api-openapi.yml Raw ↑

Other APIs Charles Schwab publishes across the network.

Charles Schwab Accounts API
Charles Schwab Instruments API
Charles Schwab Market Hours API
Charles Schwab Movers API
Charles Schwab Options API
Charles Schwab Price History API
Charles Schwab Quotes API
Charles Schwab Transactions API
Charles Schwab User Preferences API