Get Settled Positions
Get Settled Positions
Returns historical positions that have been settled after event resolution. Includes payout amounts, cost basis, and profit/loss calculations for positions held until settlement. Results are limited to the past year. Use this endpoint for reconciliation, tax reporting, and displaying settlement history. Differs from Get Positions in that it returns closed positions from settled contracts rather than current open positions.
curl --request POST \
--url 'https://api.gemini.com/v1/prediction-markets/positions/settled?eventTicker=FEDJAN26' \
--header 'X-GEMINI-APIKEY: <string>' \
--header 'X-GEMINI-PAYLOAD: <string>' \
--header 'X-GEMINI-SIGNATURE: <string>'Roles
The API key you use to access this endpoint must have the Trader role assigned. See Roles for more information.
Headers
Query Parameters
Responses
Successful response
Key Features
Settlement Data
Each settled position includes:
- Payout: Total amount received from settlement in USD
- Cost Basis: Total amount spent to acquire the position (nullable)
- Realized P&L: Realized profit/loss from prior trading activity (nullable)
- Net Profit: Net profit or loss calculated as
payout - costBasis + realizedPnl(nullable) - Resolution Side: How the contract resolved (
YES,NO, orUNSPECIFIED) - Outcome: The side held (
YESorNO)
Position Values
- position: Raw signed position value (positive for YES, negative for NO)
- positionQuantity: Absolute quantity of contracts held
Cash-Out Data (Optional)
When withCashOuts=true, the response includes additional fields for positions that were exited early before settlement:
- cashOuts: Array of early position exits with proceeds, cost basis, and net profit
- totalCashOutProceeds: Sum of all proceeds from cash-outs
- totalCashOutCostBasis: Sum of all cost basis for cash-outs
- totalCashOutNetProfit: Sum of all net profits from cash-outs
Query Parameters
- eventTicker: Filter by specific event (e.g., "BTC100K2025")
- limit: Maximum results to return (1-1000, default: 1000)
- offset: Pagination offset (default: 0)
- sort: Sort order (
date,-date,payout,+payout,-payout) - search: Case-insensitive substring filter (min 3, max 64 characters)
- category: Filter by category or descendants (e.g., "sports")
- withCashOuts: Include cash-out data (default: false)
Example Response
Code
Example with Cash-Outs
Code
Response includes additional cashOuts, totalCashOutProceeds, totalCashOutCostBasis, and totalCashOutNetProfit fields.