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

PERPS

Perpetual markets, orders, fills, positions and funding under /v2/perps.

SPOT

Spot markets, orders and fills under /v2/spot.
Balances, currencies and other account-wide or venue-wide paths stay under /v2/. Both product pages link to them. The path migration table lists the old paths.