Get product prices
pionex_earn_dual_pricesFetch Dual Investment product prices and yield rates to verify investability and get the profit value needed for orders.
Instructions
Get product prices
Returns the latest yield rate and investability status for Dual Investment products. Weight: 1.
All three parameters are required: base, quote, and productIds.
Omitting any one of them will return a DUAL_PARAMETER_ERROR.
productIds is a comma-separated list of product IDs. Works for both USDT and USDXO quoted pairs.
When canInvest is false, profit and baseSize will be empty strings.
Workflow note: Always call this endpoint before placing an order. The
profitvalue returned here must be passed as-is toPOST /api/v1/earn/dual/invest. Submitting a stale or mismatchedprofitwill be rejected.
Example request (USDT pair):
GET /api/v1/earn/dual/prices?base=LRC"e=USDT&productIds=LRC-USDT-260410-0.03-C-USDT,LRC-USDT-260410-0.02-C-USDTExample request (USDXO pair):
GET /api/v1/earn/dual/prices?base=ETH"e=USDXO&productIds=ETH-USDXO-260410-3000-C-USDT,ETH-USDXO-260410-2900-C-USDTExample response:
{
"result": true,
"data": {
"products": [
{
"productId": "LRC-USDT-260410-0.02-C-USDT",
"canInvest": true,
"profit": "0.01242",
"baseSize": "8000000",
"updateTime": 1775026225630
},
{
"productId": "LRC-USDT-260410-0.03-C-USDT",
"canInvest": false,
"profit": "0",
"baseSize": "",
"updateTime": 0
}
]
},
"timestamp": 1775026244892
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Base currency (e.g. `BTC`, `ETH`, `LRC`) | |
| quote | Yes | Quote currency. Use `USDXO` for BTC/ETH pairs; use `USDT` for all other base currencies. | |
| productIds | Yes | Comma-separated product ID list. Multiple IDs are supported (e.g. `ETH-USDXO-260410-3000-C-USDT,ETH-USDXO-260410-2900-C-USDT`). Obtain IDs from `/openProducts`. |