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 参数
account_number
string 
必需
示例值:
{{account_number}}

示例代码

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}}/'

返回响应

🟢200成功
application/json
Body
url
string 
必需
portfolio_cash
string 
投资组合现金
必需
can_downgrade_to_cash
string 
必需
user
string 
必需
account_number
string 
账户号
必需
type
string 
类型
必需
cash适用于普通账户,margin适用于即时账户
brokerage_account_type
string 
必需
created_at
string 
创建日期
必需
updated_at
string 
更新日期
必需
deactivated
boolean 
必需
deposit_halted
boolean 
必需
withdrawal_halted
boolean 
必需
only_position_closing_trades
boolean 
必需
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
object 
必需
sma
string 
必需
day_trade_buying_power_held_for_orders
string 
必需
start_of_day_dtbp
string 
必需
overnight_buying_power_held_for_orders
string 
必需
leverage_enabled
boolean 
必需
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
boolean 
必需
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
boolean 
必需
is_pdt_forever
boolean 
必需
sweep_enabled
boolean 
必需
sweep_enrolled
boolean 
必需
instant_eligibility
object 
必需
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
boolean 
必需
rhs_account_number
integer 
必需
state
string 
必需
active_subscription_id
null 
必需
locked
boolean 
必需
permanently_deactivated
boolean 
必需
ipo_access_restricted
boolean 
必需
ipo_access_restricted_reason
null 
必需
received_ach_debit_locked
boolean 
必需
drip_enabled
boolean 
必需
eligible_for_fractionals
boolean 
必需
eligible_for_drip
boolean 
必需
eligible_for_cash_management
boolean 
必需
cash_management_enabled
boolean 
必需
option_trading_on_expiration_enabled
boolean 
必需
cash_held_for_options_collateral
string 
必需
fractional_position_closing_only
boolean 
必需
user_id
string 
必需
equity_trading_lock
string 
必需
option_trading_lock
string 
必需
disable_adt
boolean 
必需
management_type
string 
必需
dynamic_instant_limit
string 
必需
affiliate
string 
必需
second_trade_suitability_completed
boolean 
必需
has_futures_account
boolean 
必需
示例
{
    "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