Choose the product first. Perps paths start with /v2/perps/. Spot paths start with /v2/spot/.

SPOT

Spot markets, orders and fills under /v2/spot.

PERPS

Perpetual markets, orders, fills, positions and funding under /v2/perps.
Balances, currencies and other account-wide or venue-wide paths stay under /v2/. Both product pages link to them, and the Common group holds the common operations and references. The path migration table lists the old paths. Download the OpenAPI specification for each group: