Documentation Index
Fetch the complete documentation index at: https://docs.bayse.markets/llms.txt
Use this file to discover all available pages before exploring further.
New endpoints
Get PnL — GET /v1/pm/pnl
Track your realized profit and loss across all markets. Filter by time period (12H, 24H, 1W, 1M, 1Y) or a custom date range, and optionally get a per-event breakdown of your top 30 most recent events.
PnL is computed per currency — if you query USD but only traded in NGN, all values will be zero.
{
"realizedPnl": 31.11,
"settlementPnl": 24.50,
"tradePnl": 6.61,
"wins": 8,
"losses": 6,
"currency": "USD"
}
See Get PnL for full documentation.
Mint shares — POST /v1/pm/markets/{marketId}/mint
Deposit funds and receive equal YES and NO shares for a market. Each pair costs the market’s base unit ($1.00 in USD, ₦100 in NGN). Minting does not affect market prices.
See Mint shares for full documentation.
Burn shares — POST /v1/pm/markets/{marketId}/burn
Surrender equal YES and NO shares and receive funds back. The reverse of minting. You must hold sufficient shares of both outcomes.
See Burn shares for full documentation.