curl --request GET \
--url https://relay.bayse.markets/v1/pm/portfolio{
"outcomeBalances": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"outcome": "YES",
"outcomeId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"balance": 138.21,
"availableBalance": 138.21,
"averagePrice": 0.7235,
"cost": 100,
"currentValue": 107.60,
"sellPrice": 0.7786,
"payoutIfOutcomeWins": 138.21,
"percentageChange": 7.60,
"currency": "USD",
"market": {
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"title": "Will Super Eagles qualify?",
"event": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"title": "Will Super Eagles qualify for AFCON 2026?",
"type": "single",
"engine": "AMM"
}
},
"createdAt": "2026-02-17T12:00:00Z",
"updatedAt": "2026-02-17T12:05:00Z"
}
],
"portfolioCost": 100,
"portfolioCurrentValue": 107.60,
"portfolioPercentageChange": 7.60,
"pagination": {
"page": 1,
"size": 20,
"lastPage": 1,
"totalCount": 1
}
}
Get your current positions across all markets
curl --request GET \
--url https://relay.bayse.markets/v1/pm/portfolio{
"outcomeBalances": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"outcome": "YES",
"outcomeId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"balance": 138.21,
"availableBalance": 138.21,
"averagePrice": 0.7235,
"cost": 100,
"currentValue": 107.60,
"sellPrice": 0.7786,
"payoutIfOutcomeWins": 138.21,
"percentageChange": 7.60,
"currency": "USD",
"market": {
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"title": "Will Super Eagles qualify?",
"event": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"title": "Will Super Eagles qualify for AFCON 2026?",
"type": "single",
"engine": "AMM"
}
},
"createdAt": "2026-02-17T12:00:00Z",
"updatedAt": "2026-02-17T12:05:00Z"
}
],
"portfolioCost": 100,
"portfolioCurrentValue": 107.60,
"portfolioPercentageChange": 7.60,
"pagination": {
"page": 1,
"size": 20,
"lastPage": 1,
"totalCount": 1
}
}
X-Public-Key header. See the Authentication guide.
curl "https://relay.bayse.markets/v1/pm/portfolio" \
-H "X-Public-Key: pk_live_abcdef123456"
Show position fields
YES or NO.Show market fields
{
"outcomeBalances": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"outcome": "YES",
"outcomeId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"balance": 138.21,
"availableBalance": 138.21,
"averagePrice": 0.7235,
"cost": 100,
"currentValue": 107.60,
"sellPrice": 0.7786,
"payoutIfOutcomeWins": 138.21,
"percentageChange": 7.60,
"currency": "USD",
"market": {
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"title": "Will Super Eagles qualify?",
"event": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"title": "Will Super Eagles qualify for AFCON 2026?",
"type": "single",
"engine": "AMM"
}
},
"createdAt": "2026-02-17T12:00:00Z",
"updatedAt": "2026-02-17T12:05:00Z"
}
],
"portfolioCost": 100,
"portfolioCurrentValue": 107.60,
"portfolioPercentageChange": 7.60,
"pagination": {
"page": 1,
"size": 20,
"lastPage": 1,
"totalCount": 1
}
}