API

Get Started

WelcomeQuickstartGuidesChangelogSDKs 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 greeksPOSTGet strategy quote
HelpFeedback

Get Started

Using the Public Hosted MCP Server

Connect your Public.com brokerage account to AI agents through the Public-hosted MCP server. Unlike the self-hosted setup, you don't need to install anything locally. Just point your MCP-compatible client at the hosted endpoint and authenticate. This tutorial walks through setting up the hosted MCP in Perplexity Computer.

Before You Get Started

  • →You will need a Public.com brokerage account. Create one at public.com/signup.
  • →An MCP-compatible client. In this tutorial we'll be using Perplexity Computer.
  • →An API key. Generate one from the API settings page of your Public account.

Perplexity Computer

Paid plan required

Adding a custom connector to your Perplexity account requires a paid Perplexity plan. Make sure your account is on a paid tier before continuing.

  1. Navigate to perplexity.ai/computer/connectors.
  2. Once on the connectors page, click the + Custom connector button in the top right.The + Custom connector button on the Perplexity Computer connectors page
  3. In the Add custom connector form, fill out the fields as follows:
    • Name: public.com
    • MCP server URL: https://mcp.public.com/mcp
    • In the Advanced section, under Authentication, select API Key from the dropdown and paste your API key into the field.
    • For the Transport dropdown, select Streamable HTTP.
    • Accept the terms and click Add.
    The Add custom connector form filled out with the Public.com hosted MCP details
  4. In the Available connectors section, you should now see the public.com connector listed as an option. Click on it, then click Add connector.The public.com connector listed under Available connectors in Perplexity Computer

That's it. You're done. Start a new task in Perplexity Computer and you can begin prompting to interact with your Public brokerage account.

Prompts to try

  • Show me my current account balance and buying power.
  • How is my portfolio performing today?
  • What is the current price of TSLA?
  • Show me the options chain for AAPL expiring next Friday.
  • Show me my recent transactions.
  • What are my open orders?
  • Cancel my open AAPL order.
  • Find a good covered call opportunity on SPY based on my holdings.
  • Place a buy order for 1 share of NVDA at market.

Important

Placing a trade through any MCP client is a real order using real money in your Public account. Review all preflight details carefully before confirming.