Products
List Portfolio Products
List tradable products for a given portfolio.
GET
List Portfolio Products
Use the Prime SDK or CLI to test this endpoint by following the quickstart guide and running with the following examples
For more information, please visit the Prime Java SDK.
- Java
- .NET
- Go
- Python
- CLI
- TS/JS
Query Parameters
Filter by contract expiry type (EXPIRING or PERPETUAL). Only applicable when product_type = FUTURE. If unset, returns all futures kinds.
- CONTRACT_EXPIRY_TYPE_UNSPECIFIED: Unspecified contract expiry type
- CONTRACT_EXPIRY_TYPE_EXPIRING: Expiring futures contract
- CONTRACT_EXPIRY_TYPE_PERPETUAL: Perpetual futures contract (no expiry)
Available options:
CONTRACT_EXPIRY_TYPE_UNSPECIFIED, CONTRACT_EXPIRY_TYPE_EXPIRING, CONTRACT_EXPIRY_TYPE_PERPETUAL Filter by expiry status for expiring futures. If unset, returns all expiring futures.
- EXPIRING_CONTRACT_STATUS_UNKNOWN: Unknown/unset — returns all expiring contracts (backward compatible default)
- EXPIRING_CONTRACT_STATUS_UNEXPIRED: Only unexpired contracts (contract_expiry is in the future)
- EXPIRING_CONTRACT_STATUS_EXPIRED: Only expired contracts (contract_expiry is in the past)
- EXPIRING_CONTRACT_STATUS_ALL: All contracts regardless of expiry status
Available options:
EXPIRING_CONTRACT_STATUS_UNEXPIRED, EXPIRING_CONTRACT_STATUS_EXPIRED, EXPIRING_CONTRACT_STATUS_ALL