# Synthesis API ## Docs - [Create Account API Key](https://api.synthesis.trade/docs/api-reference/accounts/create-account-api-key.md): Create an account secret API key for the authenticated account. This route requires a bearer session. - [Delete Account API Key](https://api.synthesis.trade/docs/api-reference/accounts/delete-account-api-key.md): Delete an account secret API key. This route requires a bearer session. - [Expire Current Session](https://api.synthesis.trade/docs/api-reference/accounts/expire-current-session.md): Expire the current account session. This route requires a bearer session. - [Get Account API Keys](https://api.synthesis.trade/docs/api-reference/accounts/get-account-api-keys.md): Get account secret API keys for the authenticated account. - [Get Account Interests](https://api.synthesis.trade/docs/api-reference/accounts/get-account-interests.md): Get the account interest tags used by recommendation flows. - [Get Account Session](https://api.synthesis.trade/docs/api-reference/accounts/get-account-session.md): Validate account authentication. This route accepts either a bearer session or an account API key. - [Update Account Interests](https://api.synthesis.trade/docs/api-reference/accounts/update-account-interests.md): Replace the account interest tags used by recommendation flows. - [Get Kalshi Candlesticks](https://api.synthesis.trade/docs/api-reference/kalshi/get-kalshi-candlesticks.md): Get candlestick history for a Kalshi market. - [Get Kalshi Event](https://api.synthesis.trade/docs/api-reference/kalshi/get-kalshi-event.md): Get a Kalshi event with all nested markets. - [Get Kalshi Leaderboard](https://api.synthesis.trade/docs/api-reference/kalshi/get-kalshi-leaderboard.md): Get the Kalshi leaderboard. - [Get Kalshi Market](https://api.synthesis.trade/docs/api-reference/kalshi/get-kalshi-market.md): Get a single Kalshi market with its event. - [Get Kalshi Market by Slug](https://api.synthesis.trade/docs/api-reference/kalshi/get-kalshi-market-by-slug.md): Get a Kalshi event by slug with nested markets. - [Get Kalshi Market Holders](https://api.synthesis.trade/docs/api-reference/kalshi/get-kalshi-market-holders.md): Get the holders distribution for a Kalshi market. - [Get Kalshi Market Statistics](https://api.synthesis.trade/docs/api-reference/kalshi/get-kalshi-market-statistics.md): Get aggregate statistics for a Kalshi market. - [Get Kalshi Market Trades](https://api.synthesis.trade/docs/api-reference/kalshi/get-kalshi-market-trades.md): Get recent trades for a Kalshi market. - [Get Kalshi Markets](https://api.synthesis.trade/docs/api-reference/kalshi/get-kalshi-markets.md): Get Kalshi events with nested markets. - [Get Kalshi Price History](https://api.synthesis.trade/docs/api-reference/kalshi/get-kalshi-price-history.md): Get price history for a Kalshi market. - [Get Kalshi User Profile](https://api.synthesis.trade/docs/api-reference/kalshi/get-kalshi-user-profile.md): Get Kalshi profile information for a public username. - [Get Historical Orderbooks](https://api.synthesis.trade/docs/api-reference/markets/get-historical-orderbooks.md): Fetch historical orderbook snapshots for a single market stream. This route is for stored historical orderbooks, not the live websocket feed. The response shape depends on `venue`: Polymarket returns Polymarket orderbook snapshots keyed by `token_id`, while Kalshi returns Kalshi orderbook snapshots… - [Get Market Prices](https://api.synthesis.trade/docs/api-reference/markets/get-market-prices.md): Fetch current prices for a batch of market identifiers. Accepts both Polymarket token IDs and Kalshi market IDs. Maximum 5000 markets per request. - [Get Market Sparklines](https://api.synthesis.trade/docs/api-reference/markets/get-market-sparklines.md): Fetch sparkline history for a batch of market identifiers. The request body is a JSON array of market identifiers. - [Get Markets](https://api.synthesis.trade/docs/api-reference/markets/get-markets.md): Get markets across venues with filters for venue, price, dates, labels, and sorting. - [Get Orderbooks](https://api.synthesis.trade/docs/api-reference/markets/get-orderbooks.md): Fetch current orderbooks for multiple markets. Accepts both Polymarket token IDs and Kalshi market IDs. The endpoint automatically detects the venue based on the ID format. Returns an array of orderbooks with venue information. - [Get Recommendations](https://api.synthesis.trade/docs/api-reference/markets/get-recommendations.md): Fetch market recommendations for the authenticated account. - [Get Related Markets](https://api.synthesis.trade/docs/api-reference/markets/get-related-markets.md): Fetch related markets for a market, event, or market slug input. - [Get Similar Market Pairs](https://api.synthesis.trade/docs/api-reference/markets/get-similar-market-pairs.md): Fetch cross-venue market pairs surfaced by the similarity index. - [Get Similar Markets](https://api.synthesis.trade/docs/api-reference/markets/get-similar-markets.md): Fetch markets that the similarity index considers close to the supplied market. - [Get Venue Statistics](https://api.synthesis.trade/docs/api-reference/markets/get-venue-statistics.md): Fetch aggregate market statistics for one or both venues. - [Search Markets](https://api.synthesis.trade/docs/api-reference/markets/search-markets.md): Search markets by text query. - [Get Event News](https://api.synthesis.trade/docs/api-reference/news/get-event-news.md): Get news for a specific event ID. - [Get Market News](https://api.synthesis.trade/docs/api-reference/news/get-market-news.md): Get news for a specific market ID. - [Get News](https://api.synthesis.trade/docs/api-reference/news/get-news.md): Get recent news with matched prediction market context. - [Create Copytrade](https://api.synthesis.trade/docs/api-reference/polygon-copytrades/create-copytrade.md): Create a Polymarket copytrade configuration for a Polygon wallet. - [Delete Copytrade](https://api.synthesis.trade/docs/api-reference/polygon-copytrades/delete-copytrade.md): Delete a Polymarket copytrade configuration for a Polygon wallet. - [Get Copytrade Orders](https://api.synthesis.trade/docs/api-reference/polygon-copytrades/get-copytrade-orders.md): Get orders associated with a Polymarket copytrade. - [Get Copytrades](https://api.synthesis.trade/docs/api-reference/polygon-copytrades/get-copytrades.md): Get Polymarket copytrade configurations for a Polygon wallet. - [Pause Copytrade](https://api.synthesis.trade/docs/api-reference/polygon-copytrades/pause-copytrade.md): Pause a Polymarket copytrade configuration for a Polygon wallet. - [Unpause Copytrade](https://api.synthesis.trade/docs/api-reference/polygon-copytrades/unpause-copytrade.md): Unpause a Polymarket copytrade configuration for a Polygon wallet. - [Update Copytrade](https://api.synthesis.trade/docs/api-reference/polygon-copytrades/update-copytrade.md): Update a Polymarket copytrade configuration for a Polygon wallet. - [Cancel All Orders](https://api.synthesis.trade/docs/api-reference/polygon/cancel-all-orders.md): Cancel all open Polymarket orders for a Polygon wallet. - [Cancel Order](https://api.synthesis.trade/docs/api-reference/polygon/cancel-order.md): Cancel a Polymarket order. - [Create Order](https://api.synthesis.trade/docs/api-reference/polygon/create-order.md): Create a Polymarket order for a Polygon wallet. - [Create Order Quote](https://api.synthesis.trade/docs/api-reference/polygon/create-order-quote.md): Preview a Polymarket order against the current order book. - [Create Swap](https://api.synthesis.trade/docs/api-reference/polygon/create-swap.md): Swap supported assets inside a Polygon wallet. - [Create Withdrawal](https://api.synthesis.trade/docs/api-reference/polygon/create-withdrawal.md): Withdraw tokens from a Polygon wallet. - [Get Active Market Orders](https://api.synthesis.trade/docs/api-reference/polygon/get-active-market-orders.md): Get active Polymarket orders for a specific market. - [Get Active Orders](https://api.synthesis.trade/docs/api-reference/polygon/get-active-orders.md): Get currently active Polymarket orders for a Polygon wallet. - [Get Balance](https://api.synthesis.trade/docs/api-reference/polygon/get-balance.md): Get balances for a Polygon wallet. - [Get Order](https://api.synthesis.trade/docs/api-reference/polygon/get-order.md): Get a single Polymarket order. - [Get Orders](https://api.synthesis.trade/docs/api-reference/polygon/get-orders.md): Get Polymarket order history for a Polygon wallet. - [Get PNL](https://api.synthesis.trade/docs/api-reference/polygon/get-pnl.md): Get Polymarket PNL history for a Polygon wallet. - [Get Positions](https://api.synthesis.trade/docs/api-reference/polygon/get-positions.md): Get Polymarket positions for a Polygon wallet. - [Get Trades](https://api.synthesis.trade/docs/api-reference/polygon/get-trades.md): Get Polymarket trade history for a Polygon wallet. - [Get Transfers](https://api.synthesis.trade/docs/api-reference/polygon/get-transfers.md): Get Polygon transfer history for a wallet. - [Get Wallets](https://api.synthesis.trade/docs/api-reference/polygon/get-wallets.md): Get Polygon wallets for the authenticated account. - [Merge Shares](https://api.synthesis.trade/docs/api-reference/polygon/merge-shares.md): Merge opposing Polymarket outcome shares back into collateral. - [Mint Shares](https://api.synthesis.trade/docs/api-reference/polygon/mint-shares.md): Split USDC.e into Polymarket outcome shares. - [Redeem Position](https://api.synthesis.trade/docs/api-reference/polygon/redeem-position.md): Redeem a resolved Polymarket condition for a wallet. - [Update Order](https://api.synthesis.trade/docs/api-reference/polygon/update-order.md): Update a limit order price or modify an active stoploss order. - [Get Polymarket Event](https://api.synthesis.trade/docs/api-reference/polymarket/get-polymarket-event.md): Get a Polymarket event with all nested markets. - [Get Polymarket Market](https://api.synthesis.trade/docs/api-reference/polymarket/get-polymarket-market.md): Get a single Polymarket market with event details. - [Get Polymarket Market by Slug](https://api.synthesis.trade/docs/api-reference/polymarket/get-polymarket-market-by-slug.md): Get a Polymarket event by slug with nested markets. - [Get Polymarket Market by Token](https://api.synthesis.trade/docs/api-reference/polymarket/get-polymarket-market-by-token.md): Get a single Polymarket market by token ID with event details. - [Get Polymarket Market Statistics](https://api.synthesis.trade/docs/api-reference/polymarket/get-polymarket-market-statistics.md): Get aggregate statistics for a Polymarket market token. - [Get Polymarket Market Trades](https://api.synthesis.trade/docs/api-reference/polymarket/get-polymarket-market-trades.md): Get recent trades for a Polymarket market. - [Get Polymarket Markets](https://api.synthesis.trade/docs/api-reference/polymarket/get-polymarket-markets.md): Get Polymarket events with nested markets. - [Get Polymarket Price History](https://api.synthesis.trade/docs/api-reference/polymarket/get-polymarket-price-history.md): Get price history for a Polymarket market. - [Get UMA Market](https://api.synthesis.trade/docs/api-reference/polymarket/get-uma-market.md): Get UMA oracle request for a Polymarket market by condition ID. - [Get UMA Question](https://api.synthesis.trade/docs/api-reference/polymarket/get-uma-question.md): Get UMA oracle request for a Polymarket market by question ID. - [Get UMA Requests](https://api.synthesis.trade/docs/api-reference/polymarket/get-uma-requests.md): Get Polymarket UMA oracle requests. - [Get UMA Thread](https://api.synthesis.trade/docs/api-reference/polymarket/get-uma-thread.md): Get the UMA Discord discussion thread for a Polymarket market by condition ID. - [Create Account API Key](https://api.synthesis.trade/docs/api-reference/projects/create-account-api-key.md): Create an account secret API key for a specific project account. - [Create Account Session](https://api.synthesis.trade/docs/api-reference/projects/create-account-session.md): Create a session for a project account. The returned session is used as `Authorization: Bearer `. - [Create Project Account](https://api.synthesis.trade/docs/api-reference/projects/create-project-account.md): Create a new account under the project. - [Delete Account API Key](https://api.synthesis.trade/docs/api-reference/projects/delete-account-api-key.md): Delete a project account API key. - [Expire Account Session](https://api.synthesis.trade/docs/api-reference/projects/expire-account-session.md): Expire a specific session for a project account. - [Expire All Account Sessions](https://api.synthesis.trade/docs/api-reference/projects/expire-all-account-sessions.md): Expire every active session for the project account. - [Get Account API Keys](https://api.synthesis.trade/docs/api-reference/projects/get-account-api-keys.md): Get account secret API keys for a specific project account. - [Get Project Account](https://api.synthesis.trade/docs/api-reference/projects/get-project-account.md): Fetch a single active project account. - [Get Project Accounts](https://api.synthesis.trade/docs/api-reference/projects/get-project-accounts.md): Get active accounts for the project. - [Refresh Account Session](https://api.synthesis.trade/docs/api-reference/projects/refresh-account-session.md): Expire the existing session and issue a new one. - [Update Project Account Metadata](https://api.synthesis.trade/docs/api-reference/projects/update-project-account-metadata.md): Replace the metadata for a project account. - [Create KYC Link](https://api.synthesis.trade/docs/api-reference/solana/create-kyc-link.md): Create a DFlow KYC verification link for a Solana wallet. - [Create Order](https://api.synthesis.trade/docs/api-reference/solana/create-order.md): Create a Kalshi order for a Solana wallet. - [Create Order Quote](https://api.synthesis.trade/docs/api-reference/solana/create-order-quote.md): Preview a Kalshi order for a Solana wallet. - [Create Withdrawal](https://api.synthesis.trade/docs/api-reference/solana/create-withdrawal.md): Withdraw assets from a Solana wallet. - [Get Balance](https://api.synthesis.trade/docs/api-reference/solana/get-balance.md): Get balances for a Solana wallet. - [Get KYC Status](https://api.synthesis.trade/docs/api-reference/solana/get-kyc-status.md): Get the DFlow KYC verification status for a Solana wallet. - [Get Orders](https://api.synthesis.trade/docs/api-reference/solana/get-orders.md): Get Kalshi order history for a Solana wallet. - [Get PNL](https://api.synthesis.trade/docs/api-reference/solana/get-pnl.md): Get Kalshi PNL history for a Solana wallet. - [Get Positions](https://api.synthesis.trade/docs/api-reference/solana/get-positions.md): Get Kalshi positions for a Solana wallet. - [Get Transfers](https://api.synthesis.trade/docs/api-reference/solana/get-transfers.md): Get transfer history for a Solana wallet. - [Get Wallets](https://api.synthesis.trade/docs/api-reference/solana/get-wallets.md): Get Solana wallets for the authenticated account. - [Redeem Position](https://api.synthesis.trade/docs/api-reference/solana/redeem-position.md): Redeem a claimable Kalshi winning position from a Solana wallet. - [Create Wallet](https://api.synthesis.trade/docs/api-reference/wallets/create-wallet.md): Create a new wallet. Each wallet supports multiple chains: Polygon and Solana. - [Delete Wallet](https://api.synthesis.trade/docs/api-reference/wallets/delete-wallet.md): Delete a wallet when all chain balances are empty. - [Export Wallet](https://api.synthesis.trade/docs/api-reference/wallets/export-wallet.md): Export an encrypted wallet secret for a specific chain. Send `public_key` as a non-empty base64-encoded DER/SPKI P-256 public key. The wallet secret is encrypted with HPKE before it leaves the API. For `POL`, the underlying plaintext is the wallet private key as a `0x`-prefixed hex string. For `SOL`… - [Get Deposit Address](https://api.synthesis.trade/docs/api-reference/wallets/get-deposit-address.md): Get a deposit address for a wallet and destination chain. Supported `chain` values are `EVM`, `SOL`, and `TRON`, but `SOL` is not allowed when `chain_id` is `SOL`. - [Get Wallet Balance](https://api.synthesis.trade/docs/api-reference/wallets/get-wallet-balance.md): Get balance across all chains for a wallet. - [Get Wallet Orders](https://api.synthesis.trade/docs/api-reference/wallets/get-wallet-orders.md): Get orders across all chains for a wallet. - [Get Wallet PNL](https://api.synthesis.trade/docs/api-reference/wallets/get-wallet-pnl.md): Get combined PNL history across all chains for a wallet. - [Get Wallet Positions](https://api.synthesis.trade/docs/api-reference/wallets/get-wallet-positions.md): Get positions across all chains for a wallet. - [Get Wallet Transfers](https://api.synthesis.trade/docs/api-reference/wallets/get-wallet-transfers.md): Get transfers across all chains for a wallet. - [Get Wallets](https://api.synthesis.trade/docs/api-reference/wallets/get-wallets.md): Get wallets for the authenticated account. Each wallet supports multiple chains: Polygon and Solana. If no wallets exist yet, calling this route automatically creates the first wallet and returns it. - [Reorder Wallets](https://api.synthesis.trade/docs/api-reference/wallets/reorder-wallets.md): Update wallet positions by supplying wallet IDs in their desired order. - [Update Wallet](https://api.synthesis.trade/docs/api-reference/wallets/update-wallet.md): Update wallet name or autoredeem behavior. You must provide at least one of `name` or `autoredeem`. - [Balance WebSocket](https://api.synthesis.trade/docs/api-reference/websockets/balance-websocket.md): Connect to `wss://synthesis.trade/api/v1/balance/ws` and send JSON messages over the socket. - [Data WebSocket](https://api.synthesis.trade/docs/api-reference/websockets/data-websocket.md): Connect to `wss://synthesis.trade/api/v1/data/ws` and send JSON messages over the socket. - [Orderbook WebSocket](https://api.synthesis.trade/docs/api-reference/websockets/orderbook-websocket.md): Connect to `wss://synthesis.trade/api/v1/orderbook/ws` and send JSON messages over the socket. - [Trades WebSocket](https://api.synthesis.trade/docs/api-reference/websockets/trades-websocket.md): Connect to `wss://synthesis.trade/api/v1/trades/ws` and send JSON messages over the socket. - [UMA WebSocket](https://api.synthesis.trade/docs/api-reference/websockets/uma-websocket.md): Connect to `wss://synthesis.trade/api/v1/uma/ws` and send JSON messages over the socket. - [Dashboard](https://api.synthesis.trade/docs/dashboard.md): Manage your API keys, billing, and project settings - [Billing](https://api.synthesis.trade/docs/dashboard/billing.md): Manage your subscription and plan - [Authentication](https://api.synthesis.trade/docs/guides/authentication.md): Three ways to authenticate with the Synthesis API - [Account API key](https://api.synthesis.trade/docs/guides/authentication/account-api-key.md): Authenticate backend requests on behalf of a specific user - [Account session](https://api.synthesis.trade/docs/guides/authentication/account-session.md): Authenticate frontend requests using short-lived session tokens - [Project API key](https://api.synthesis.trade/docs/guides/authentication/project-api-key.md): Authenticate backend requests for account management, sessions, and API keys - [Getting started](https://api.synthesis.trade/docs/guides/getting-started.md): Complete walkthrough from account creation to placing your first Polymarket order - [Pricing](https://api.synthesis.trade/docs/guides/pricing.md): Plans, limits, and what's included at each tier - [Real-time data](https://api.synthesis.trade/docs/guides/websockets.md): Stream live data via WebSockets for balances, orderbooks, and trades - [Balance](https://api.synthesis.trade/docs/guides/websockets/balance.md): Stream real-time wallet balances, order fills, and position changes - [Orderbook](https://api.synthesis.trade/docs/guides/websockets/orderbook.md): Stream real-time orderbook snapshots and delta updates for prediction markets - [Trades](https://api.synthesis.trade/docs/guides/websockets/trades.md): Stream real-time trade executions and build live trade feeds - [Introduction](https://api.synthesis.trade/docs/index.md): Unified prediction market API for Polymarket and Kalshi ## OpenAPI Specs - [openapi](https://api.synthesis.trade/docs/openapi.json)