# Robinhood

> Read Robinhood Crypto accounts, holdings, prices and orders.

App · 8 actions. Web page: https://docs.lodol.com/docs/integrations/robinhood

## Actions

### Cancel a crypto order

Cancel a crypto order.

**Inputs**

- ID (`id`, text, required): Id.

**Outputs**

- `data` (object): The response from Robinhood.

**Example output**

```json
{
  "data": {}
}
```

### Get a crypto order

Get a crypto order.

**Inputs**

- Order ID (`order_id`, text, required): Order id.
- Account number (`account_number`, text, required): Choose the crypto account.

**Outputs**

- `data` (object): The response from Robinhood.

**Example output**

```json
{
  "data": {
    "id": "example",
    "state": "example",
    "symbol": "example"
  }
}
```

### Get accounts

Get accounts.

**Inputs**

- Cursor (`cursor`, text): Optional cursor for pagination. Use the value from `next` or `previous` in the response to navigate through pages.
- Limit (`limit`, number): Optional page size limit. Specifies the number of accounts to return per page. Maximum value is determined by system configuration.

**Outputs**

- `data` (object): The response from Robinhood.

**Example output**

```json
{
  "data": {
    "next": "example",
    "previous": "example",
    "results": [
      {}
    ]
  }
}
```

### Get best price

Get best price.

**Inputs**

- Symbol (`symbol`, text, required): List of trading pair symbol(s) to retrieve data for.

**Outputs**

- `data` (object): The response from Robinhood.

**Example output**

```json
{
  "data": {
    "results": [
      {}
    ]
  }
}
```

### Get estimated price

Get estimated price.

**Inputs**

- Symbol (`symbol`, text, required): A string matching a valid currency pair, for example `BTC-USD`. Ensure that the symbol is provided in all uppercase. Only USD symbols that have `is_api_tradable=true` as defined in our Get Crypto Trading Pairs endpoint are accepted.
- Side (`side`, text, required): Order side: `bid`, `ask`, or `both`. One of: `bid`, `ask`, `both`.
- Quantity (`quantity`, text, required): Quantity must be smaller than `max_order_size` as defined in our Get Crypto Trading Pairs endpoint. Multiple quantities can be comma-separated. A max of 10 quantities can be specified for each request.

**Outputs**

- `data` (object): The response from Robinhood.

**Example output**

```json
{
  "data": {
    "results": [
      {}
    ]
  }
}
```

### Get holdings

Get holdings.

**Inputs**

- Account number (`account_number`, text, required): **Required.** The account number to retrieve holdings for. This parameter must be provided.
- Asset code (`asset_code`, text): Optional. Filter holdings by specific asset code (e.g., "BTC").
- Cursor (`cursor`, text): Optional cursor for pagination. Use the value from `next` or `previous` in the response to navigate through pages.
- Limit (`limit`, number): Optional page size limit. Specifies the number of results to return per page. Maximum value is determined by system configuration.

**Outputs**

- `data` (object): The response from Robinhood.

**Example output**

```json
{
  "data": {
    "next": "example",
    "previous": "example",
    "results": [
      {}
    ]
  }
}
```

### Get orders

Get orders.

**Inputs**

- Account number (`account_number`, text, required): Required. The number of the crypto account to retrieve orders from.
- Cursor (`cursor`, text): Optional cursor for pagination.
- Created at start (`created_at_start`, date and time): Filter orders created on or after this timestamp (ISO 8601 format).
- Created at end (`created_at_end`, date and time): Filter orders created on or before this timestamp (ISO 8601 format).
- Updated at start (`updated_at_start`, date and time): Filter orders updated on or after this timestamp (ISO 8601 format).
- Updated at end (`updated_at_end`, date and time): Filter orders updated on or before this timestamp (ISO 8601 format).
- Symbol (`symbol`, text): Filter orders by trading pair symbol.
- Side (`side`, text): Filter orders by side. One of: `buy`, `sell`.
- Type (`type`, text): Filter orders by type. One of: `market`, `limit`, `stop_loss` (Stop loss), `stop_limit` (Stop limit).
- State (`state`, text): Filter orders by state. One of: `open`, `canceled`, `filled`, `failed`, `pending`.

**Outputs**

- `data` (object): The response from Robinhood.

**Example output**

```json
{
  "data": {
    "next": "example",
    "previous": "example",
    "results": [
      {}
    ]
  }
}
```

### Get trading pairs

Get trading pairs.

**Inputs**

- Symbol (`symbol`, text): Optional. Filter by trading pair symbol(s). Example: `symbol=BTC-USD`. Multiple symbols can be provided by using the "symbol" parameter with different values. Ensure that the symbol(s) are provided in all uppercase.
- Cursor (`cursor`, text): Optional cursor for pagination. Use the value from `next` or `previous` in the response to navigate through pages.
- Limit (`limit`, number): Optional page size limit. Specifies the number of results to return per page. Maximum value is determined by system configuration.

**Outputs**

- `data` (object): The response from Robinhood.

**Example output**

```json
{
  "data": {
    "next": "example",
    "previous": "example",
    "results": [
      {}
    ]
  }
}
```
