# Totalis - [Totalis](https://docs.totalis.trade/index.md): APIs for building and settling custom parlays across prediction markets — Kalshi, Polymarket, and more — on Solana. - [Quickstart](https://docs.totalis.trade/guides/quickstart.md): Authenticate, make your first call, and find your way to placing a parlay. - [Authentication](https://docs.totalis.trade/guides/authentication.md): How to authenticate against the Totalis REST API and WebSocket — scoped API keys for programmatic clients and Privy JWTs for the web dashboard. - [How parlays work](https://docs.totalis.trade/guides/lifecycle.md): The path a parlay takes from a quote request, through market-maker pricing and acceptance, to on-chain settlement — and how to close one early. - [Funding your wallet](https://docs.totalis.trade/guides/funding.md): Fund your Totalis account by sending USDC to your Solana wallet, enable trading, and withdraw. - [Vaults & custody](https://docs.totalis.trade/guides/vault-architecture.md): How Totalis holds collateral: non-custodial on-chain Solana vaults, delegated signing, gas sponsorship, and automatic settlement. - [Real time & data channels](https://docs.totalis.trade/guides/realtime-and-data.md): Which channel to use when: SSE for live quote pricing, WebSocket for live trade events, webhooks for durable delivery, and REST reads for state on demand. - [Event catalog](https://docs.totalis.trade/guides/event-catalog.md): Every lifecycle moment mapped across SSE, WebSocket, webhooks, and REST — plus the field and identity names that mean the same thing on different channels. - [Reading your data](https://docs.totalis.trade/guides/reading-data.md): Pull your account state on demand — portfolio, parlay history, settlement outcomes, P&L, and balances — to complement the webhook push channel. - [Webhooks](https://docs.totalis.trade/guides/webhooks.md): Receive HMAC-signed events when your positions settle, get bought back, or your funds move. Configure an endpoint, verify signatures, handle retries, and replay deliveries. - [WebSocket](https://docs.totalis.trade/guides/websocket.md): Real-time trade confirmations and position updates via WebSocket. - [Live quote requests](https://docs.totalis.trade/guides/live-quote-requests.md): How Totalis parlay trading works: create quote requests, receive real-time pricing from market makers, and commit with stale-price protection. - [Market making](https://docs.totalis.trade/guides/market-maker.md): Get started as a market maker on Totalis — stream live parlay quote requests, submit competitive quotes via the Quote Service, and earn the spread. - [Early cashout](https://docs.totalis.trade/guides/early-cashout.md): Bid on parlay exits: one broadcast auction, one all-in price. - [FAQ](https://docs.totalis.trade/guides/faq.md): Frequently asked questions about Totalis — the derivatives layer for prediction markets, custom parlays, Solana vaults, fees, limits, and security - [Referrals](https://docs.totalis.trade/referrals.md): Earn a share of the trading fees from the users you refer - [Terms of Service](https://docs.totalis.trade/terms-of-service.md): Totalis Terms of Service governing access to and use of the Totalis trading platform, RFQ system, vaults, and related technologies. - [Privacy Policy](https://docs.totalis.trade/privacy-policy.md): Totalis Privacy Policy describing how UCALLEDIT, Inc. collects, uses, and shares personal information through the Totalis trading platform and related Service. - [API overview](https://docs.totalis.trade/api-reference/introduction.md): The Totalis REST + SSE API — base URL, authentication, response envelope, pagination, and errors. - [Create Quote Request](https://docs.totalis.trade/api-reference/quote-service/create.md): Create a new quote request for a multi-leg parlay. - [Update Quote Request](https://docs.totalis.trade/api-reference/quote-service/update.md): Update the legs or bet amount on an active quote request. - [Get Quote Request](https://docs.totalis.trade/api-reference/quote-service/get.md): Retrieve a quote request with all active quotes and the current best quote. - [Commit Quote Request](https://docs.totalis.trade/api-reference/quote-service/commit.md): Lock in the best available quote and create a trade. - [Cancel Quote Request](https://docs.totalis.trade/api-reference/quote-service/cancel.md): Cancel an active quote request. - [Stream Quote Updates](https://docs.totalis.trade/api-reference/quote-service/stream.md): Subscribe to real-time best-quote updates for a quote request via Server-Sent Events. - [Create Cashout Request](https://docs.totalis.trade/api-reference/quote-service/cashout-create.md): Open an early cashout auction for an on-chain position. - [Stream Cashout Quote](https://docs.totalis.trade/api-reference/quote-service/cashout-stream.md): Follow the best live bid and terminal status for an early cashout auction via Server-Sent Events. - [Commit Cashout](https://docs.totalis.trade/api-reference/quote-service/cashout-commit.md): Accept the winning bid on an early cashout auction and drive it on-chain. - [Stream Quote Requests](https://docs.totalis.trade/api-reference/quote-service-mm/stream.md): Subscribe to all active quote requests in real time via Server-Sent Events. - [Submit or Replace Quote](https://docs.totalis.trade/api-reference/quote-service-mm/submit-quote.md): Submit a price quote for an active quote request, or replace your existing quote. - [Withdraw Quote](https://docs.totalis.trade/api-reference/quote-service-mm/withdraw-quote.md): Withdraw your active quote from a quote request before the user commits it. - [Bid on a Cashout Auction](https://docs.totalis.trade/api-reference/quote-service-mm/cashout-quote.md): Bid one all-in price on a user's early cashout auction. - [List Quotes](https://docs.totalis.trade/api-reference/mm/list-quotes.md): List your quotes and their lifecycle status. Filter by status or RFQ, with cursor pagination. - [Confirm Quote](https://docs.totalis.trade/api-reference/mm/confirm-quote.md): Confirm an accepted quote to lock in the trade and begin vault settlement. - [List Positions](https://docs.totalis.trade/api-reference/mm/list-positions.md): List your active market-maker positions, each with its full parlay legs. Offset paginated, with an optional exposure filter. - [Get Position](https://docs.totalis.trade/api-reference/mm/get-position.md): Fetch one of your active market-maker positions by its RFQ id, with full parlay legs. - [List Markets](https://docs.totalis.trade/api-reference/markets/list.md): List active prediction markets on Totalis, grouped by event. Supports both Kalshi and Polymarket venues, with filters for category, subcategory, frequency, date window, and full-text search. - [List Markets (Flat)](https://docs.totalis.trade/api-reference/markets/list-flat.md): A flat, paginated feed of every individual market — ungrouped and never truncated. Built for market makers and partners syncing the full tradeable universe. - [Get Market](https://docs.totalis.trade/api-reference/markets/get.md): Fetch a single market by Kalshi ticker or Polymarket condition ID. Use the optional venue query parameter when you already know the source venue. - [List Parlays](https://docs.totalis.trade/api-reference/parlays/list.md): List your parlays (RFQs) with cursor pagination and optional status filter. - [Get Parlay](https://docs.totalis.trade/api-reference/parlays/get.md): Fetch one parlay (RFQ) by id, with quotes and — once terminal — its settlement detail (per-leg outcomes, payout, and settle/buyback transaction). - [Get Profile](https://docs.totalis.trade/api-reference/user/get-profile.md): Get the authenticated Totalis user profile. Auto-creates a record on first call. Pass ?ref= on first login to auto-redeem an invite code (auto_redeemed and airdrop fields surface on success). - [Update Username](https://docs.totalis.trade/api-reference/user/update-username.md): Update your Totalis username. Must be 3-20 alphanumeric characters or underscores - [Check Username](https://docs.totalis.trade/api-reference/user/check-username.md): Check if a username is available on Totalis before updating your profile - [Get Wallet](https://docs.totalis.trade/api-reference/user/get-wallet.md): Get the authenticated user wallet snapshot — address, SOL/USDC wallet balance, vault balance, and aggregated locked_amount across active RFQs and vault positions. - [Submit Transaction](https://docs.totalis.trade/api-reference/user/submit-tx.md): Submit a client-signed serialized Solana transaction (base64). Used by browser flows that do not have direct RPC access. Rate-limited to 10 requests/minute. - [List API Keys](https://docs.totalis.trade/api-reference/user/list-api-keys.md): List all API keys for your Totalis account. Returns metadata and prefixes, never full secrets - [Create API Key](https://docs.totalis.trade/api-reference/user/create-api-key.md): Create a new API key for your Totalis account. The full secret is returned only on this response — save it immediately. Requires a Privy JWT (web dashboard); cannot be called with an existing API key. - [Revoke API Key](https://docs.totalis.trade/api-reference/user/revoke-api-key.md): Revoke one of your Totalis API keys by prefix. Takes effect immediately on all requests - [Get Vault](https://docs.totalis.trade/api-reference/funds/get-vault.md): The caller's vault state and active position summaries. - [Withdraw to External Address](https://docs.totalis.trade/api-reference/funds/wallet-withdraw.md): Withdraw USDC from the embedded wallet to an external Solana address. - [Wallet Delegation Status](https://docs.totalis.trade/api-reference/funds/delegation-status.md): Check whether the embedded (TEE) wallet has trading delegation enabled. - [Enable Trading](https://docs.totalis.trade/api-reference/funds/enable-trading.md): Confirm TEE wallet delegation and drain any pending welcome airdrop. - [Portfolio](https://docs.totalis.trade/api-reference/funds/portfolio.md): Consolidated portfolio: balance, stats, status counts, and summary. - [P&L Timeseries](https://docs.totalis.trade/api-reference/funds/pnl.md): Realized P&L per day over the requested window (1D / 1W / 1M / ALL). - [Get Webhook Config](https://docs.totalis.trade/api-reference/webhooks/get-config.md): Current webhook endpoint config + the subscribable event catalog. - [Set Webhook Config](https://docs.totalis.trade/api-reference/webhooks/set-config.md): Set the endpoint URL and subscribed events. - [Rotate Signing Secret](https://docs.totalis.trade/api-reference/webhooks/rotate-secret.md): Mint a fresh HMAC signing secret (returned once). - [List Deliveries](https://docs.totalis.trade/api-reference/webhooks/list-deliveries.md): Recent webhook delivery attempts, newest first. - [Replay Delivery](https://docs.totalis.trade/api-reference/webhooks/redeliver.md): Re-queue a delivered or dead-lettered delivery. ## OpenAPI Specs - [openapi](/api-reference/openapi.json)