Full Futures List
Get the full futures list, optionally filtered by contract type.
API Information
- Method:
GET - Path:
/api/v1/stock/open-api/products/list
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | int | Yes | Contract type, 1=US stock futures, 3=crypto futures |
Request Example
# US stock futures
GET /api/v1/stock/open-api/products/list?type=1
# Crypto futures
GET /api/v1/stock/open-api/products/list?type=3
Response Fields
| Field | Type | Description |
|---|---|---|
| code | int | Status code, 0 indicates success |
| data | array | Futures list |
Fields for each item in data:
| Field | Type | Description |
|---|---|---|
| symbol | string | Contract symbol |
| name | string | Contract name in English |
| nameZh | string | Contract name in Chinese |
| logo | object | Contract icon |
| logo.light | string | Icon URL for light theme |
| logo.dark | string | Icon URL for dark theme |
| price | number | Current 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
}
]
}