Coinbase CDP icon

Coinbase CDP

Interact with Coinbase CDP Advanced Trade API

Portfolio → List Perpetuals Positions

AI-generated

Summary

List perpetual positions in a specified portfolio.

Inputs

  • portfolio_uuid (required) — The UUID of the portfolio.
  • requestOptions — Options to customize the request, including batching, SSL handling, proxy settings, and timeout.

Output shape

a list of perpetual positions

The output will include details of the perpetual positions associated with the specified portfolio. If batching is enabled, responses may be split across multiple batches.

Examples

Example 1: Retrieve perpetual positions for a specific portfolio and handle up to 50 items per batch with a 1 second interval between requests.

Set 'portfolio_uuid' to the desired UUID and adjust 'requestOptions' as needed.

Discussion