Skip to main content
Version: Next

Spot Product List

Get the spot product list.

Interface Information

  • Method: GET
  • Path: /api/v1/stock/open-api/spotProducts

Request Parameters

ParameterTypeRequiredDescription
typeintYesProduct type, 1=US stocks; currently only 1 is supported

Request Example

GET /api/v1/stock/open-api/spotProducts?type=1

Response Fields

FieldTypeDescription
codeintStatus code, 0 indicates success
dataarraySpot product list

Fields for each item in data:

FieldTypeDescription
symbolstringProduct symbol
namestringProduct name in English
nameZhstringProduct name in Chinese
logoobjectProduct icon
logo.lightstringIcon URL for light theme
logo.darkstringIcon URL for dark theme
pricenumberCurrent price

Response Example

{
"code": 0,
"data": [
{
"symbol": "NVDA",
"name": "NVIDIA Corporation",
"nameZh": "英伟达公司",
"logo": {
"light": "https://test.test9529.xyz/files/uploads/stock_icons/NVDA_icon.png",
"dark": "https://test.test9529.xyz/files/uploads/stock_icons/NVDA_icon.png"
},
"price": 195.22
}
]
}