Public.com
Public.com is a retail brokerage for stocks, ETFs, options, crypto and bonds.
Authentication
- Secret key
Actions
Generic API request. Call any Public.com Trading API endpoint on this connection, for the case where no shipped action covers it yet. The connection supplies the base URL, the authentication and the egress route, so only the path, query and body are yours to fill.
- Cancel orderDestructiveAsk Public.com to cancel an open order.
- Get account historyList an account's history events — trades, deposits and withdrawals, dividends, interest, fees and position adjustments — newest first, optionally within a start/end time window.
- Get instrumentLook up one instrument's trading reference data: whether it can be bought and sold, traded fractionally, and have options or option spreads traded on it, plus short-selling availability, exchange and option price increments.
- Get option chainGet the full option chain for one underlying and one expiration date: every call and put with its quote, strike price, mid price and greeks.
- Get option expirationsList the option expiration dates available for an underlying equity or index.
- Get orderRead one order's current status (NEW, PARTIALLYFILLED, FILLED, CANCELLED, REJECTED, …), filled quantity, average fill price and reject reason.
- Get portfolioRead a snapshot of one account: every open position with quantity, value, last price, daily and total gain and cost basis; the equity breakdown by asset class; buying power; cash; total account value; amount available to withdraw; and the account's open orders.
- Get quotesGet real-time quotes — last trade, bid, ask, sizes, volume, previous close and one-day change, plus greeks for options — for a list of equities, options, crypto or indexes in one call.
- List accountsList the Public.com accounts the secret key's owner holds — brokerage, retirement (IRA), high-yield cash, bond and treasury accounts — with each one's accountType, options level, cash-or-margin type and trade permissions.
- Place orderPlace a REAL buy or sell order for a stock, ETF, option or crypto in a live Public.com brokerage account.
- Preflight orderEstimate a single-leg order without placing it: estimated commission, regulatory fees, order value, total cost or proceeds, buying power required, margin impact, short-selling availability and price increment.
Product names, logos and brands are the property of their respective owners and are used here for identification only. Their use does not imply endorsement by, or affiliation with, those owners.