Skip to main content

Account Detail

Interface Description

  • Function description: Query account details according to account ID, which only contains static information.

  • Applicable objects: Customers who connect to webull through the OpenApi development platform.

  • Request URL: /account/profile

  • Request method: GET

  • Frequency limit: The calling frequency of each AppId is limited to 10 times in 30 seconds.

Request parameters

ParameterTypeRequired fieldsDescriptionExample value
account_idStringYesAccount ID863417315629211648

Response parameter

ParameterTypeDescriptionExample value
account_numberStringUser's brokerage accountCJP0024207
account_typeStringAccount type item: refer to the dictionary value AccountTypeMARGIN
account_statusStringAccount StatusNORMAL-Normal;CANCELING-Account closing;CANCELED-Account closed

Request example

from webullsdktrade.api import API
from webullsdkcore.client import ApiClient
from webullsdkcore.common.region import Region

api_client = ApiClient(your_app_key, your_app_secret, Region.JP.value)
api = API(api_client)
response = api.account.get_account_profile(account_id)
if response.status_code == 200:
account_profile = response.json()

Response example

Exception example