API

Get Started

WelcomeQuickstartExamplesChangelogSDKs and ToolsOrder Limits

Authorization

POSTCreate personal access token

List Accounts

GETGet accounts

Account Details

GETGet account portfolio v2GETGet history

Instrument Details

GETGet all instrumentsGETGet instrument

Market Data

POSTGet quotesPOSTGet option expirationsPOSTGet option chainGETGet bars v2GETGet bars v2 with aggregation

Order Placement

POSTPreflight single legPOSTPreflight multi legPOSTPlace orderPUTReplace orderPOSTPlace multileg orderGETGet orderDELETECancel order

Option Details

GETGet option greeks
HelpFeedback

Get Started

Examples

Step-by-step templates for trading stocks, options, and crypto through the Public API — including placing equity, options, and multi-leg orders, retrieving account balance data, and using Claude as a trading agent from Claude Desktop.

Generate a new Access token

Access tokens are required for all subsequent API requests

Get account balance

Retrieve account details such as available funds, holdings, and equity distribution.

Placing your first equity order

Learn how to place your first equity order by getting market data, running preflight checks, placing the order, and verifying execution.

Placing your first options order

Learn how to place your first options order by getting option expiration dates & option chain data, running preflight checks, and placing the order.

Placing your first multi-leg options order

Learn how to place multi-leg options strategies like bull call spreads by getting option chain data, running multi-leg preflight checks, placing the strategy, and monitoring execution.

Placing your first bond order

Learn how to place your first bond order by getting bond quote data, running preflight checks, placing the order, and verifying execution.

Placing your first short order

Learn how to open and close a short position by confirming a margin account, checking if the stock is shortable, placing the short, and covering the position.

Perplexity Trading Agent: Getting Started with the Perplexity Agent Skill

Learn how to get started with the offical Public Agent Skill for Perplexity Computer. We'll go through setup and placing your first option order.

OpenClaw Trading Agent: Getting OpenClaw Setup With Public Agent Skill

Learn how to get started with the official Public Agent Skill for OpenClaw. We'll go through setup and connecting your Public brokerage account.

Claude Desktop: Connecting the Public MCP Server to Claude Desktop

Learn how to use Claude for trading by connecting your Public.com brokerage to Claude Desktop using the official Public MCP server. Covers installation, configuration, and placing stock, options, and crypto trades from natural-language prompts.

Getting Started with the Public CLI

Install the publicdotcom-cli, authenticate with your brokerage account, and go from a live quote to a placed order without leaving the terminal.