What Does the Robinhood API Cover?
There are three ways into Robinhood from code:
To use the Crypto Trading API, you make an Ed25519 key pair, give Robinhood the public key when you create your API credential, and sign every request with three headers:
x-api-key, x-signature and x-timestamp. Each account gets 100 requests a minute and 300 in bursts, and Robinhood says those limits can change.
Robinhood opened its MCP server to AI agents on May 27, 2026. An AI app you connect trades only in a dedicated MCP account that you fund, though it can read all your Robinhood accounts. It sends market, limit, stop limit and stop market orders, and in MCP accounts trade approvals are off by default, so the agent can place eligible orders without asking you first.
Can You Trade Stocks on Robinhood With Python?
No, not through any REST API Robinhood documents. A Python script has two ways in:- Through an AI agent. Your script doesn’t place the order. An AI app connected to Robinhood’s MCP server does, in your MCP account.
- Through an unofficial library. robin_stocks is a community project, not Robinhood’s. Its latest release, 3.4.0, came out on May 18, 2025.
How Do You Place a Stock Order From Python With the Aries API?
You’ll need:- An Aries account with a simulation account beside the live one. Stock and options brokerage comes from RAM Financial LLC (DBA Aries), member FINRA and SIPC.
- A personal-token client (a client ID that starts with
ARI-PERSONAL-TK.) and its secret. Create one in Client Center under the API tab. - Python 3. Nothing to install.

The API tab in Aries Client Center. Generate Key gives you the client ID and secret the script uses.
order.py:
order.py
ARIES_CLIENT_ID and ARIES_CLIENT_SECRET, then run python3 order.py. We ran it in an Aries simulation account on December 2, 2026, during market hours. The quote showed a bid of $351.24 and an ask of $351.27. The order came back with 'success': True and 'status': 'PENDING_NEW', so Aries had accepted it.
From here:
- Preview first.
POST /v1/orders/previewtakes the same body and returns the cost, fees and buying power impact without placing anything. - Trade options. Single-leg orders and spreads of 2 to 4 legs go to the same
POST /v1/ordersas one order. - Follow fills. The WebSockets stream updates to your orders, positions and balances, plus quotes from the full SIP feed with level 2.
- Keep it running. A token lasts 15 minutes. The trading bot guide shows how to get a new one before it runs out, and the paper trading guide keeps live and simulation accounts apart.
Can You Connect Robinhood to ChatGPT or Claude?
Yes. Addhttps://agent.robinhood.com/mcp/trading to Claude Code, Claude Desktop, ChatGPT in Developer Mode, Codex, Cursor or Grok, among others. The Aries MCP server works the same way in Claude, ChatGPT, Cursor and Perplexity: add https://mcp.aries.com/mcp, sign in to Aries and click Allow, with no key to copy. Trading MCP Servers compares how ten brokers’ servers sign you in and where orders get approved.
FAQ
Where do you get a Robinhood API key?
Where do you get a Robinhood API key?
Sign in to Robinhood’s web classic site, go to your crypto account settings and select Add key, then pick the API actions the key can perform.
Which brokers allow API trading?
Which brokers allow API trading?
Aries, Alpaca, Interactive Brokers, Tradier, TradeStation, tastytrade and Charles Schwab all offer APIs that place orders from your own code. On the Aries API, one token can both pull research data and place orders. The Alpaca alternatives guide compares them side by side.