API

Get Started

WelcomeQuickstartGuidesChangelogSDKs and ToolsAdditional InfoFAQ

Authorization

POSTCreate personal access token

List Accounts

GETGet accounts

Account Details

GETGet account portfolio v2GETGet history

Tax Lot Selling

GETGet unrealized tax lotsGETGet unrealized tax lots for symbolGETGet unrealized tax lots csv

Instrument Details

GETGet all instrumentsGETGet instrumentGETSearch bonds

Market Data

POSTGet quotesGETGet bond detailsPOSTGet option expirationsPOSTGet option chainGETGet bars v2GETGet bars v2 with aggregation

Orders

POSTPreflight single legPOSTPreflight multi legPOSTPlace orderPUTReplace orderPOSTSearch ordersPOSTPlace multileg orderGETGet orderDELETECancel order

Option Details

GETGet option greeksPOSTGet strategy quote

Event Contracts

POSTGet event summaryGETGet event categoriesGETGet event details
HelpFeedback

Get Started

Grok Connector for Stock & Options Trading on Public MCP

Connect Grok to Public.com and trade stocks, crypto, and options from your chat. Powered by the Public MCP server with OAuth sign-in, or the Public Agent Skill with your Public API key.

Before You Get Started

  • →You will need a Public.com brokerage account. Create one at public.com/signup.
  • →You will need a Grok account.
  • →Grok can connect through the hosted MCP server with OAuth, or through the Public Agent Skill with a Public API key. The hosted MCP server URL is https://mcp.public.com/mcp.

API key security

The Agent Skill connects with a Public API key instead of OAuth. Treat the key like a password: only paste it into tools you trust, and never share it publicly.

Setup Grok with MCP

3 steps
  1. 1

    Open the connector setup

    In Grok.com, go to:
    Plugins→Connectors→New Connector→Custom
  2. 2

    Complete the connector form

    NamePublic
    Server URLhttps://mcp.public.com/mcp
  3. 3

    Sign in to Public

    Follow the OAuth prompts and sign in with your Public.com credentials to authorize the connector.

Setup Grok with Agent Skills

4 steps
  1. 1

    Download the Public Agent Skill

    Grab the skill as a ZIP file. You'll upload it to Grok in step 3.publicdotcom-agent-skill.zipPublic Agent Skill · ZIP archiveDownload

    Open source on GitHub.

  2. 2

    Open the skill uploader

    In Grok, go to:
    Plugins→Skills→New Skill→Upload skill file
  3. 3

    Upload the ZIP

    Drag the file from step 1 into the upload area.
  4. 4

    Connect your Public account

    Create an API key in your Public API settings, then paste it into your first message to Grok. For example:
    Here is my Public API key: YOUR_API_KEY. How is my portfolio performing today?

Trade with Grok through Public

Once connected through the Public MCP server or the Agent Skill, Grok can retrieve market data, review your portfolio, and place orders from a conversation.

Markets

Research and trade stocks, ETFs, options, and crypto supported by Public.

Trading access

Submit supported order types during the trading sessions available for each asset. Eligible equity orders can use extended hours.

Accounts and permissions

Grok uses the accounts and trading permissions you authorize when you connect. Options strategies require the appropriate approval level.

Tools available

View balances, positions, quotes, option chains, open orders, and transaction history; run preflight checks; and submit or cancel orders.

Prompts to try

Use these examples after you connect your Public account.

  1. 01Show me my current account balance and buying power.
  2. 02How is my portfolio performing today?
  3. 03What is the current price of TSLA?
  4. 04Show me the options chain for AAPL expiring next Friday.
  5. 05Show me my recent transactions.
  6. 06What are my open orders?
  7. 07Cancel my open AAPL order.
  8. 08Find a good covered call opportunity on SPY based on my holdings.
  9. 09Place a buy order for 1 share of NVDA at market.

Important

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