robinhoodApi
  1. 账户
robinhoodApi
  • 身份验证
    • 登录
      POST
    • 登录令牌刷新
      POST
  • 账户
    • 用户信息
      GET
    • 用户基本信息
      GET
    • 账户持有人的关联信息
      GET
    • 账户列表
      GET
    • 账户信息
      GET
    • 账户持有人的就业数据
      GET
    • 账户持有人的投资概况数据
      GET
  • 持股
    • 账户头寸
      GET
    • 账户仓位
      GET
  • 股票
    • 股票列表
      GET
    • 股票信息
      GET
    • 股票信息2
      GET
    • 股票报价信息
      GET
  • 订单
    • 订单详情
      GET
    • 订单列表
      GET
    • 下单
      POST
    • 取消订单
      POST
  • 投资组合
    • 投资组合
      GET
  1. 账户

账户信息

开发中
GET
/accounts/{account_number}/

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Path 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.robinhood.com/accounts/{{account_number}}/' \
--header 'Authorization: Bearer <token>'

返回响应

🟢200成功
application/json
Body

示例
{
    "url": "string",
    "portfolio_cash": "string",
    "can_downgrade_to_cash": "string",
    "user": "string",
    "account_number": "string",
    "type": "string",
    "brokerage_account_type": "string",
    "created_at": "string",
    "updated_at": "string",
    "deactivated": true,
    "deposit_halted": true,
    "withdrawal_halted": true,
    "only_position_closing_trades": true,
    "buying_power": "string",
    "onbp": "string",
    "cash_available_for_withdrawal": "string",
    "cash_available_for_withdrawal_without_margin": "string",
    "cash": "string",
    "amount_eligible_for_deposit_cancellation": "string",
    "cash_held_for_orders": "string",
    "uncleared_deposits": "string",
    "sma": "string",
    "sma_held_for_orders": "string",
    "unsettled_funds": "string",
    "unsettled_debit": "string",
    "crypto_buying_power": "string",
    "max_ach_early_access_amount": "string",
    "cash_balances": null,
    "margin_balances": {
        "sma": "string",
        "day_trade_buying_power_held_for_orders": "string",
        "start_of_day_dtbp": "string",
        "overnight_buying_power_held_for_orders": "string",
        "leverage_enabled": true,
        "unsettled_funds": "string",
        "unsettled_debit": "string",
        "cash_held_for_crypto_orders": "string",
        "cash_held_for_dividends": "string",
        "cash_held_for_restrictions": "string",
        "cash_held_for_options_collateral": "string",
        "cash_held_for_orders": "string",
        "eligible_deposit_as_instant": "string",
        "instant_used": "string",
        "outstanding_interest": "string",
        "pending_debit_card_debits": "string",
        "settled_amount_borrowed": "string",
        "uncleared_deposits": "string",
        "cash": "string",
        "cash_held_for_nummus_restrictions": "string",
        "cash_available_for_withdrawal": "string",
        "unallocated_margin_cash": "string",
        "margin_limit": "string",
        "crypto_buying_power": "string",
        "day_trade_buying_power": "string",
        "day_trades_protection": true,
        "start_of_day_overnight_buying_power": "string",
        "overnight_buying_power": "string",
        "overnight_ratio": "string",
        "day_trade_ratio": "string",
        "marked_pattern_day_trader_date": null,
        "pattern_day_trader_expiry_date": null,
        "created_at": "string",
        "updated_at": "string",
        "portfolio_cash": "string",
        "gold_equity_requirement": "string",
        "uncleared_nummus_deposits": "string",
        "cash_pending_from_options_events": "string",
        "pending_deposit": "string",
        "funding_hold_balance": "string",
        "net_moving_cash": "string",
        "margin_withdrawal_limit": null,
        "instant_allocated": "string",
        "is_primary_account": true,
        "is_pdt_forever": true
    },
    "sweep_enabled": true,
    "sweep_enrolled": true,
    "instant_eligibility": {
        "reason": "string",
        "reinstatement_date": null,
        "reversal": null,
        "state": "string",
        "updated_at": null,
        "additional_deposit_needed": "string",
        "compliance_user_major_oak_email": null,
        "created_at": "string",
        "created_by": null
    },
    "option_level": null,
    "is_pinnacle_account": true,
    "rhs_account_number": 0,
    "state": "string",
    "active_subscription_id": null,
    "locked": true,
    "permanently_deactivated": true,
    "ipo_access_restricted": true,
    "ipo_access_restricted_reason": null,
    "received_ach_debit_locked": true,
    "drip_enabled": true,
    "eligible_for_fractionals": true,
    "eligible_for_drip": true,
    "eligible_for_cash_management": true,
    "cash_management_enabled": true,
    "option_trading_on_expiration_enabled": true,
    "cash_held_for_options_collateral": "string",
    "fractional_position_closing_only": true,
    "user_id": "string",
    "equity_trading_lock": "string",
    "option_trading_lock": "string",
    "disable_adt": true,
    "management_type": "string",
    "dynamic_instant_limit": "string",
    "affiliate": "string",
    "second_trade_suitability_completed": true,
    "has_futures_account": true
}
修改于 2024-10-08 03:59:15
上一页
账户列表
下一页
账户持有人的就业数据
Built with