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.
Trading
What are Yes and No shares?
What are Yes and No shares?
Are share prices fixed?
Are share prices fixed?
How much do I need to start trading?
How much do I need to start trading?
price × currency base multiplier.Can I trade in multiple markets at once?
Can I trade in multiple markets at once?
Can I trade shares before a market closes?
Can I trade shares before a market closes?
Can I cancel a trade after placing it?
Can I cancel a trade after placing it?
- AMM markets: Trades execute instantly and cannot be cancelled. To exit, sell your shares back to the market.
- CLOB markets: Limit orders that have not yet been filled can be cancelled via
DELETE /v1/pm/orders/{orderId}. Once an order is fully or partially filled, the filled portion cannot be reversed.
What happens if the event doesn't go as I predicted?
What happens if the event doesn't go as I predicted?
Wallets and currencies
What currencies does Bayse Markets support?
What currencies does Bayse Markets support?
- USD (US Dollar) — base multiplier of 1. Shares cost
price × 1and win pays$1.00. - NGN (Nigerian Naira) — base multiplier of 100. Shares cost
price × 100and win pays₦100.00.
currency field. USD is the default if omitted.Can I use both currencies at the same time?
Can I use both currencies at the same time?
Can I withdraw into an account with a different name?
Can I withdraw into an account with a different name?
Accounts
Can I have more than one account?
Can I have more than one account?
API
How do I authenticate API requests?
How do I authenticate API requests?
- Session auth (for managing API keys programmatically): Call
POST /v1/user/loginwith your email and password to get a sessiontokenanddeviceId. Use these as headers when creating, listing, revoking, or rotating API keys through the API. - API key auth (for trading and data):
- Read endpoints: Include your public key in the
X-Public-Keyheader. - Write endpoints: Include
X-Public-Key,X-Timestamp(Unix seconds), andX-Signature(HMAC-SHA256 of{timestamp}.{METHOD}.{path}.{bodyHash}, base64-encoded using your secret key).
- Read endpoints: Include your public key in the
Are there rate limits?
Are there rate limits?
POST /v1/user/login) is rate-limited to 1 request per 2 minutes per email address. Cache your session token and reuse it for API key operations. See Rate limits for details.What is the difference between an event and a market?
What is the difference between an event and a market?
What market engines are available?
What market engines are available?
- AMM (Automated Market Maker): Algorithmic pricing with instant execution. No order book. Liquidity is always available.
- CLOB (Central Limit Order Book): Traditional limit order matching. You specify a price and the order fills when a counterparty matches. Supports GTC, FAK, FOK, and GTD time-in-force options.
How do I get real-time market data?
How do I get real-time market data?
wss://relay.bayse.markets/v1/ws. Available channels are orderbook, trades, and ticker. See the WebSocket documentation for details.