Robinhood
API actions for the Robinhood integration.
Robinhood
Trade stocks, review watchlists, and view account data with Robinhood.
Cancel order
Cancel a pending Robinhood order.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
order_id | string | Yes | ID of the order to cancel. |
Response
{
"result": {}
}Get account profile
Fetch account profile details such as status and buying power.
Response
{
"profile": {}
}Get stock quote
Look up the latest price quote for a stock.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Stock ticker symbol to look up, for example AAPL. |
Response
{
"quote": {}
}List positions
List the current stock holdings (positions) in the portfolio.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
nonzero_only | boolean | No | Set to true to show only positions where you still hold shares. |
Response
{
"positions": {}
}List watchlists
Retrieve all watchlists set up in the account.
Response
{
"watchlists": {}
}Place limit order
Submit a limit order to buy or sell shares at your chosen price or better.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Stock ticker symbol to trade, for example AAPL. |
quantity | number | Yes | Number of shares to trade. |
side | string | Yes | Whether to buy or sell shares. Enter buy or sell. |
limit_price | number | Yes | Price per share: the highest you'll pay when buying, or the lowest you'll accept when selling. |
Response
{
"order": {}
}Place market order
Submit a market order to buy or sell shares at the current market price.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Stock ticker symbol to trade, for example AAPL. |
quantity | number | Yes | Number of shares to trade. |
side | string | Yes | Whether to buy or sell shares. Enter buy or sell. |
Response
{
"order": {}
}