Skip to main content

Get Instruments

Interface Description

  • Function description: Query the underlying information according to the security symbol list and security type.

  • URL: /instrument/list

  • Method: GET

  • Rate limit: The calling frequency of each App ID is limited to 30 times per minute.

Request Parameters

ParameterTypeRequired fieldsDescription
symbolsStringYesSecurities symbol, such as: BTCUSD,ETHUSD. Multiple symbols should be separated by ",". A single query supports up to 100 symbols.
categoryStringYesSecurity type, enumeration. Reference: Category,Currently only CRYPTO is supported.

Response Parameter

FieldTypeDescription
nameStringName
symbolStringSecurity symbol, such as BTCUSD
instrument_idStringUnique identifier for the security
currencyStringCurrency, reference: Currency

Request Example

from webullpaysdktrade.api import API
from webullpaysdkcore.client import ApiClient
from webullpaysdkcore.common.region import Region

your_app_key = "<your_app_key>"
your_app_secret = "<your_app_secret>"

api_client = ApiClient(your_app_key, your_app_secret, Region.US.value)
api = API(api_client)
response = api.instrument.get_instrument("BTCUSD,ETHUSD", "CRYPTO")
if response.status_code == 200:
instruments = response.json()
print(instruments)

Response Example

[
{
"name": "Bitcoin",
"symbol": "BTCUSD",
"instrument_id": "950160802",
"currency": "USD"
},
{
"name": "Ethereum",
"symbol": "ETHUSD",
"instrument_id": "950160804",
"currency": "USD"
}
]