API

Get Started

WelcomeQuickstartGuidesChangelogSDKs and ToolsAdditional Info

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
HelpFeedback

Get Started

Grok Agent Skill for Stock & Options Trading on Public

Connect Grok to Public.com with the Public Agent Skill and trade stocks, crypto, and options from your chat using 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 connects through the Public Agent Skill instead of the hosted MCP server.

API key security

Grok 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.

Set up Grok

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 the skill is installed and your API key is provided, Grok can retrieve market data, review your portfolio, and place orders from a conversation.

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.