Projects
Manage projects, API keys, accounts, and sessions for your integration
Create Project API Key
/api/v1/project/api-keyGenerate a new API key pair for your project. The secret key is only shown once — store it securely.
X-API-KeystringrequiredProject-scoped API key via X-API-Key header.
Body Parameters
namestringName for the API key (alphanumeric, hyphens, underscores, max 64 chars)
domainstringDomain restriction for the key (max 255 chars)
/api/v1/project/api-keycurl -X POST "https://synthesis.trade/api/v1/project/api-key" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"name": "production-key",
"domain": "myapp.com"
}'{
"success": true,
"data": {
"public_key": "pk_abc123...",
"secret_key": "sk_xyz789..."
}
}{
"success": false,
"error": "Invalid name"
}Update Project Settings
/api/v1/project/settingsUpdate project-level settings as a JSON object.
X-API-KeystringrequiredProject-scoped API key via X-API-Key header.
Body Parameters
settingsobjectrequiredJSON object of settings to update
/api/v1/project/settingscurl -X PUT "https://synthesis.trade/api/v1/project/settings" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"settings": "<object>"
}'{
"success": true,
"data": {
"settings": { ... }
}
}List Project Accounts
/api/v1/project/accountList all accounts under your project with pagination.
X-API-KeystringrequiredProject-scoped API key via X-API-Key header.
Query Parameters
limitintegerMax accounts to return Defaults to 1000
offsetintegerOffset for pagination Defaults to 0
/api/v1/project/accountcurl -X GET "https://synthesis.trade/api/v1/project/account" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": {
"accounts": [
{
"account_id": "01234567-89ab-cdef-0123-456789abcdef",
"metadata": { ... }
}
]
}
}Create Project Account
/api/v1/project/accountCreate a new account under your project with optional metadata (max 8KB).
X-API-KeystringrequiredProject-scoped API key via X-API-Key header.
Body Parameters
metadataobjectCustom metadata for the account (max 8KB JSON)
/api/v1/project/accountcurl -X POST "https://synthesis.trade/api/v1/project/account" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"metadata": "{ \"user_id\": \"ext_123\", \"plan\": \"pro\" }"
}'{
"success": true,
"data": {
"account_id": "01234567-89ab-cdef-0123-456789abcdef",
"metadata": { ... }
}
}Get Project Account
/api/v1/project/account/{account_id}Get details of a specific account under your project.
X-API-KeystringrequiredProject-scoped API key via X-API-Key header.
Path Parameters
account_idstringrequiredThe account ID
/api/v1/project/account/{account_id}curl -X GET "https://synthesis.trade/api/v1/project/account/{account_id}" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": {
"account_id": "01234567-89ab-cdef-0123-456789abcdef",
"metadata": { ... }
}
}{
"success": false,
"error": "Account not found"
}Update Account Metadata
/api/v1/project/account/{account_id}/metadataUpdate the metadata for a specific account (max 8KB JSON).
X-API-KeystringrequiredProject-scoped API key via X-API-Key header.
Path Parameters
account_idstringrequiredThe account ID
Body Parameters
metadataobjectrequiredNew metadata object (max 8KB)
/api/v1/project/account/{account_id}/metadatacurl -X PUT "https://synthesis.trade/api/v1/project/account/{account_id}/metadata" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"metadata": "<object>"
}'{
"success": true,
"data": {
"account_id": "01234567-89ab-cdef-0123-456789abcdef",
"metadata": { ... }
}
}Create Account Session
/api/v1/project/account/{account_id}/sessionCreate a new session for a project account. Returns a session ID that can be used for authentication.
X-API-KeystringrequiredProject-scoped API key via X-API-Key header.
Path Parameters
account_idstringrequiredThe account ID
/api/v1/project/account/{account_id}/sessioncurl -X POST "https://synthesis.trade/api/v1/project/account/{account_id}/session" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": {
"account_id": "01234567-89ab-cdef-0123-456789abcdef",
"session_id": "sess_abc123...",
"created_at": "2025-01-15T10:30:00Z",
"expires_at": "2025-01-22T10:30:00Z"
}
}Refresh Account Session
/api/v1/project/account/{account_id}/session/{session_id}/refreshRefresh an active session, returning a new session ID. The old session is expired.
X-API-KeystringrequiredProject-scoped API key via X-API-Key header.
Path Parameters
account_idstringrequiredThe account ID
session_idstringrequiredThe current session ID
/api/v1/project/account/{account_id}/session/{session_id}/refreshcurl -X POST "https://synthesis.trade/api/v1/project/account/{account_id}/session/{session_id}/refresh" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": {
"session_id": "sess_new456..."
}
}Expire Account Session
/api/v1/project/account/{account_id}/session/{session_id}/expireExpire (invalidate) a specific session for an account.
X-API-KeystringrequiredProject-scoped API key via X-API-Key header.
Path Parameters
account_idstringrequiredThe account ID
session_idstringrequiredThe session ID to expire
/api/v1/project/account/{account_id}/session/{session_id}/expirecurl -X POST "https://synthesis.trade/api/v1/project/account/{account_id}/session/{session_id}/expire" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": {
"expired": true
}
}Expire All Sessions
/api/v1/project/account/{account_id}/sessions/expire-allExpire all active sessions for a specific account.
X-API-KeystringrequiredProject-scoped API key via X-API-Key header.
Path Parameters
account_idstringrequiredThe account ID
/api/v1/project/account/{account_id}/sessions/expire-allcurl -X POST "https://synthesis.trade/api/v1/project/account/{account_id}/sessions/expire-all" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": {
"expired": 3
}
}List Account API Keys
/api/v1/project/account/{account_id}/api-keyList all API keys for a specific account.
X-API-KeystringrequiredProject-scoped API key via X-API-Key header.
Path Parameters
account_idstringrequiredThe account ID
/api/v1/project/account/{account_id}/api-keycurl -X GET "https://synthesis.trade/api/v1/project/account/{account_id}/api-key" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": {
"api_keys": [
{
"public_key": "pk_abc123...",
"name": "my-key",
"active": true,
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z"
}
]
}
}Create Account API Key
/api/v1/project/account/{account_id}/api-keyCreate a new API key pair for a specific account. The secret key is only shown once.
X-API-KeystringrequiredProject-scoped API key via X-API-Key header.
Path Parameters
account_idstringrequiredThe account ID
Body Parameters
namestringName for the API key (max 64 chars)
/api/v1/project/account/{account_id}/api-keycurl -X POST "https://synthesis.trade/api/v1/project/account/{account_id}/api-key" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{}'{
"success": true,
"data": {
"public_key": "pk_abc123...",
"secret_key": "sk_xyz789..."
}
}Delete Account API Key
/api/v1/project/account/{account_id}/api-key/{public_key}Deactivate an API key for an account. The key will no longer be usable.
X-API-KeystringrequiredProject-scoped API key via X-API-Key header.
Path Parameters
account_idstringrequiredThe account ID
public_keystringrequiredThe public key to delete
/api/v1/project/account/{account_id}/api-key/{public_key}curl -X DELETE "https://synthesis.trade/api/v1/project/account/{account_id}/api-key/{public_key}" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": {
"deleted": true
}
}Account
Manage your account, API keys, and settings
Get Account Session
/api/v1/account/sessionCheck if the current session is valid and authenticated.
CookiestringrequiredSession-based authentication via browser cookie.
/api/v1/account/sessioncurl -X GET "https://synthesis.trade/api/v1/account/session" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": {
"authenticated": true
}
}Expire Account Session
/api/v1/account/session/expireExpire the current session (sign out).
CookiestringrequiredSession-based authentication via browser cookie.
/api/v1/account/session/expirecurl -X POST "https://synthesis.trade/api/v1/account/session/expire" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": {
"expired": true
}
}List API Keys
/api/v1/account/api-keyList all API keys for the authenticated account.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
/api/v1/account/api-keycurl -X GET "https://synthesis.trade/api/v1/account/api-key" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": {
"api_keys": [
{
"public_key": "pk_abc123...",
"name": "my-key",
"active": true,
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z"
}
]
}
}Create API Key
/api/v1/account/api-keyGenerate a new API key pair for the authenticated account. The secret key is only shown once.
CookiestringrequiredSession-based authentication via browser cookie.
Body Parameters
namestringName for the key (max 64 chars, alphanumeric/hyphens/underscores)
/api/v1/account/api-keycurl -X POST "https://synthesis.trade/api/v1/account/api-key" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"name": "my-bot-key"
}'{
"success": true,
"data": {
"public_key": "pk_abc123...",
"secret_key": "sk_xyz789..."
}
}Delete API Key
/api/v1/account/api-key/{public_key}Deactivate an API key for the authenticated account.
CookiestringrequiredSession-based authentication via browser cookie.
Path Parameters
public_keystringrequiredThe public key to deactivate
/api/v1/account/api-key/{public_key}curl -X DELETE "https://synthesis.trade/api/v1/account/api-key/{public_key}" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": {
"deleted": true
}
}Markets
Browse, search, and get data for prediction markets across venues
List Markets
/api/v1/marketsGet a paginated list of prediction markets from all venues (Polymarket and Kalshi). Supports filtering by venue, price range, tags, and sorting.
Query Parameters
venuestringFilter by venue: 'polymarket', 'kalshi', or 'all' Defaults to all
sortstringSort field: 'volume', 'liquidity', 'created_at', 'ends_at', 'newest' Defaults to volume
orderstringSort order: 'ASC' or 'DESC' Defaults to DESC
limitintegerMax results (1-250) Defaults to 100
offsetintegerPagination offset Defaults to 0
min_pricenumberMinimum market price filter (0.0-1.0)
max_pricenumberMaximum market price filter (0.0-1.0)
min_ends_atstringMinimum end date (ISO 8601)
max_ends_atstringMaximum end date (ISO 8601)
tagsstringComma-separated tag filter
rewardsbooleanFilter for markets with rewards only Defaults to false
livebooleanFilter for live-streaming markets only Defaults to false
bondsbooleanFilter for bond-like markets (high certainty) Defaults to false
marketsbooleanInclude sub-markets in response Defaults to true
/api/v1/marketscurl -X GET "https://synthesis.trade/api/v1/markets" \
-H "Content-Type: application/json"{
"success": true,
"data": [
{
"venue": "polymarket",
"event": {
"event_id": 12345,
"title": "Will Bitcoin reach $100k by end of 2025?",
"slug": "will-bitcoin-reach-100k-by-end-of-2025",
"description": "...",
"image": "https://...",
"tags": ["crypto"],
"active": true,
"liquidity": 1500000.0,
"volume": 5000000.0,
"volume24hr": 250000.0,
"created_at": "2025-01-01T00:00:00Z",
"ends_at": "2025-12-31T23:59:59Z"
},
"markets": [
{
"condition_id": "0xabc...",
"question": "Will Bitcoin reach $100k?",
"outcome": "Yes/No",
"left_price": 0.65,
"right_price": 0.35,
"left_token_id": "12345...",
"right_token_id": "67890...",
"volume": 5000000.0,
"active": true
}
]
}
]
}Get Market Sparklines
/api/v1/markets/sparklinesGet price history sparkline data for multiple markets in a single request. Pass an array of token IDs.
Body Parameters
token_idsstring[]requiredArray of token IDs to get sparklines for
/api/v1/markets/sparklinescurl -X POST "https://synthesis.trade/api/v1/markets/sparklines" \
-H "Content-Type: application/json" \
-d '{
"token_ids": "[\"12345...\", \"67890...\"]"
}'{
"success": true,
"data": {
"12345...": [0.45, 0.47, 0.52, 0.50, 0.55, 0.60, 0.65],
"67890...": [0.55, 0.53, 0.48, 0.50, 0.45, 0.40, 0.35]
}
}Get Market Prices
/api/v1/markets/pricesGet current prices for multiple markets in a single request.
Body Parameters
token_idsstring[]requiredArray of token IDs
/api/v1/markets/pricescurl -X POST "https://synthesis.trade/api/v1/markets/prices" \
-H "Content-Type: application/json" \
-d '{
"token_ids": "<string[]>"
}'{
"success": true,
"data": {
"12345...": 0.65,
"67890...": 0.35
}
}Historical Orderbooks
/api/v1/markets/orderbooksGet historical orderbook snapshots from ClickHouse. Supports both Polymarket (by token_id) and Kalshi (by market_id) with time-bucketed aggregation.
Query Parameters
venuestringrequired'polymarket' or 'kalshi'
token_idstringPolymarket token ID (required when venue=polymarket)
market_idstringKalshi market ticker (required when venue=kalshi)
startstringStart time — unix seconds, unix milliseconds, or ISO 8601. Defaults to first available record.
endstringEnd time — same formats as start. Defaults to latest available record.
bucketstringTime bucket for aggregation: e.g. '30s', '5m', '1h', '1d'. Max 1 day.
pointsintegerNumber of data points to return. Auto-calculates bucket size from time range.
orderstring'ASC' or 'DESC' Defaults to DESC
limitintegerMax rows (1-25000) Defaults to 1000
offsetintegerPagination offset Defaults to 0
/api/v1/markets/orderbookscurl -X GET "https://synthesis.trade/api/v1/markets/orderbooks" \
-H "Content-Type: application/json"{
"success": true,
"data": [
{
"condition_id": "0xabc...",
"token_id": "12345...",
"bids": { "0.64": 1000, "0.63": 500 },
"asks": { "0.65": 800, "0.66": 1200 },
"best_bid": 0.64,
"best_ask": 0.65,
"created_at": "2025-01-15T10:30:00Z"
}
]
}Search Markets
/api/v1/markets/search/{query}Full-text search across all prediction markets.
Path Parameters
querystringrequiredSearch query string
/api/v1/markets/search/{query}curl -X GET "https://synthesis.trade/api/v1/markets/search/{query}" \
-H "Content-Type: application/json"{
"success": true,
"data": [
{
"venue": "polymarket",
"event": { ... },
"markets": [ ... ]
}
]
}Get Venue Statistics
/api/v1/markets/statisticsGet aggregate statistics for prediction market venues.
/api/v1/markets/statisticscurl -X GET "https://synthesis.trade/api/v1/markets/statistics" \
-H "Content-Type: application/json"{
"success": true,
"data": {
"polymarket": {
"total_markets": 1500,
"active_markets": 800,
"total_volume": 500000000
},
"kalshi": {
"total_markets": 2000,
"active_markets": 1200,
"total_volume": 300000000
}
}
}Get Similar Markets
/api/v1/markets/similarFind markets similar to a given market using semantic matching.
Query Parameters
market_idstringrequiredThe market ID to find similar markets for
limitintegerMax results Defaults to 10
/api/v1/markets/similarcurl -X GET "https://synthesis.trade/api/v1/markets/similar" \
-H "Content-Type: application/json"{
"success": true,
"data": [
{
"venue": "kalshi",
"event": { ... },
"similarity": 0.87
}
]
}Get Similar Market Pairs
/api/v1/markets/similar-pairsFind cross-venue market pairs that track the same event.
Query Parameters
limitintegerMax pairs Defaults to 20
min_similaritynumberMinimum similarity score (0.0-1.0) Defaults to 0.8
/api/v1/markets/similar-pairscurl -X GET "https://synthesis.trade/api/v1/markets/similar-pairs" \
-H "Content-Type: application/json"{
"success": true,
"data": [
{
"polymarket": { "event": { ... }, "market": { ... } },
"kalshi": { "event": { ... }, "market": { ... } },
"similarity": 0.95,
"arbitrage": 0.02
}
]
}Polymarket
Access Polymarket-specific market data, prices, orderbooks, trades, and user data
List Polymarket Markets
/api/v1/polymarket/marketsGet a paginated list of Polymarket events with their sub-markets.
Query Parameters
sortstringSort by: 'volume', 'liquidity', 'created_at', 'ends_at' Defaults to volume
orderstring'ASC' or 'DESC' Defaults to DESC
limitintegerMax results (1-250) Defaults to 100
offsetintegerPagination offset Defaults to 0
/api/v1/polymarket/marketscurl -X GET "https://synthesis.trade/api/v1/polymarket/markets" \
-H "Content-Type: application/json"{
"success": true,
"data": [
{
"event": {
"event_id": 12345,
"title": "...",
"slug": "...",
"image": "...",
"volume": 5000000.0,
"liquidity": 1500000.0,
"active": true,
"ends_at": "2025-12-31T23:59:59Z"
},
"markets": [ ... ]
}
]
}Get Market by Slug
/api/v1/polymarket/market/slug/{slug}Get a Polymarket event and its sub-markets by slug.
Path Parameters
slugstringrequiredEvent slug
/api/v1/polymarket/market/slug/{slug}curl -X GET "https://synthesis.trade/api/v1/polymarket/market/slug/{slug}" \
-H "Content-Type: application/json"{
"success": true,
"data": {
"event": { ... },
"markets": [ ... ]
}
}Get Market by Condition ID
/api/v1/polymarket/market/{condition_id}Get a specific Polymarket market by its condition ID.
Path Parameters
condition_idstringrequiredPolymarket condition ID (0x...)
/api/v1/polymarket/market/{condition_id}curl -X GET "https://synthesis.trade/api/v1/polymarket/market/{condition_id}" \
-H "Content-Type: application/json"{
"success": true,
"data": {
"event": { ... },
"market": {
"condition_id": "0xabc...",
"question": "...",
"left_price": 0.65,
"right_price": 0.35,
"volume": 5000000.0
}
}
}Get Market Price
/api/v1/polymarket/market/{condition_id}/priceGet the current price for a specific Polymarket market.
Path Parameters
condition_idstringrequiredPolymarket condition ID
/api/v1/polymarket/market/{condition_id}/pricecurl -X GET "https://synthesis.trade/api/v1/polymarket/market/{condition_id}/price" \
-H "Content-Type: application/json"{
"success": true,
"data": {
"left_price": 0.65,
"right_price": 0.35
}
}Get Price History
/api/v1/polymarket/market/{condition_id}/price-historyGet historical price data for a Polymarket market.
Path Parameters
condition_idstringrequiredPolymarket condition ID
Query Parameters
intervalstringTime interval: '1m', '5m', '1h', '1d' Defaults to 1h
fidelityintegerData fidelity/resolution
/api/v1/polymarket/market/{condition_id}/price-historycurl -X GET "https://synthesis.trade/api/v1/polymarket/market/{condition_id}/price-history" \
-H "Content-Type: application/json"{
"success": true,
"data": [
{
"timestamp": "2025-01-15T10:00:00Z",
"price": 0.65
}
]
}Get Market Orderbook
/api/v1/polymarket/market/{condition_id}/booksGet the full orderbook for a Polymarket market.
Path Parameters
condition_idstringrequiredPolymarket condition ID
/api/v1/polymarket/market/{condition_id}/bookscurl -X GET "https://synthesis.trade/api/v1/polymarket/market/{condition_id}/books" \
-H "Content-Type: application/json"{
"success": true,
"data": {
"bids": [[0.64, 1000], [0.63, 500]],
"asks": [[0.65, 800], [0.66, 1200]],
"spread": 0.01,
"mid": 0.645
}
}Get Market Trades
/api/v1/polymarket/market/{condition_id}/tradesGet recent trades for a Polymarket market.
Path Parameters
condition_idstringrequiredPolymarket condition ID
/api/v1/polymarket/market/{condition_id}/tradescurl -X GET "https://synthesis.trade/api/v1/polymarket/market/{condition_id}/trades" \
-H "Content-Type: application/json"{
"success": true,
"data": [
{
"id": "trade_123",
"side": "BUY",
"price": 0.65,
"size": 100,
"timestamp": "2025-01-15T10:30:00Z"
}
]
}Get Market Holders
/api/v1/polymarket/market/{condition_id}/holdersGet top holders for a Polymarket market.
Path Parameters
condition_idstringrequiredPolymarket condition ID
/api/v1/polymarket/market/{condition_id}/holderscurl -X GET "https://synthesis.trade/api/v1/polymarket/market/{condition_id}/holders" \
-H "Content-Type: application/json"{
"success": true,
"data": [
{
"address": "0xabc...",
"username": "whale_trader",
"shares": 50000,
"value": 32500.0
}
]
}Get Polymarket User
/api/v1/polymarket/user/{address}Get profile and statistics for a Polymarket user.
Path Parameters
addressstringrequiredEthereum address of the user
/api/v1/polymarket/user/{address}curl -X GET "https://synthesis.trade/api/v1/polymarket/user/{address}" \
-H "Content-Type: application/json"{
"success": true,
"data": {
"address": "0xabc...",
"username": "whale_trader",
"volume": 1500000.0,
"pnl": 250000.0,
"positions_count": 45
}
}Get Crypto Price
/api/v1/polymarket/crypto-priceGet the open and close price for a crypto asset over a time range. Used for up/down target price markets. Falls back to Chainlink or cached Redis data when Polymarket API is unavailable.
Query Parameters
symbolstringrequiredCrypto symbol (e.g. 'BTC', 'ETH')
start_timestringrequiredISO 8601 start time
end_timestringrequiredISO 8601 end time
variantstring'hourly', 'five', 'fifteen', or 'thirty' Defaults to hourly
/api/v1/polymarket/crypto-pricecurl -X GET "https://synthesis.trade/api/v1/polymarket/crypto-price" \
-H "Content-Type: application/json"{
"success": true,
"data": {
"open_price": 97500.25,
"close_price": 98100.50,
"timestamp": 1736899200000,
"source": "polymarket"
}
}Get Leaderboard
/api/v1/polymarket/leaderboardGet the Polymarket trading leaderboard.
/api/v1/polymarket/leaderboardcurl -X GET "https://synthesis.trade/api/v1/polymarket/leaderboard" \
-H "Content-Type: application/json"{
"success": true,
"data": [
{
"rank": 1,
"address": "0xabc...",
"username": "top_trader",
"volume": 50000000.0,
"pnl": 2500000.0
}
]
}Kalshi
Access Kalshi-specific market data, prices, trades, and user data
List Kalshi Markets
/api/v1/kalshi/marketsGet a paginated list of Kalshi events with their sub-markets.
Query Parameters
sortstringSort by: 'volume', 'liquidity', 'created_at', 'ends_at' Defaults to volume
orderstring'ASC' or 'DESC' Defaults to DESC
limitintegerMax results (1-250) Defaults to 100
offsetintegerPagination offset Defaults to 0
/api/v1/kalshi/marketscurl -X GET "https://synthesis.trade/api/v1/kalshi/markets" \
-H "Content-Type: application/json"{
"success": true,
"data": [
{
"event": {
"event_id": "KXBTC-25",
"title": "Bitcoin price on March 7",
"series_id": "KXBTC",
"category": "Crypto",
"volume": 3000000.0,
"active": true
},
"markets": [ ... ]
}
]
}Get Kalshi Event
/api/v1/kalshi/market/event/{event_id}Get a Kalshi event by its event ID with all sub-markets.
Path Parameters
event_idstringrequiredKalshi event ID (e.g., 'KXBTC-25')
Query Parameters
sortstringSort sub-markets by field
orderstring'ASC' or 'DESC'
/api/v1/kalshi/market/event/{event_id}curl -X GET "https://synthesis.trade/api/v1/kalshi/market/event/{event_id}" \
-H "Content-Type: application/json"{
"success": true,
"data": {
"event": { ... },
"markets": [ ... ]
}
}Get Market by Slug
/api/v1/kalshi/market/slug/{slug}Get a Kalshi event by its slug.
Path Parameters
slugstringrequiredEvent slug
/api/v1/kalshi/market/slug/{slug}curl -X GET "https://synthesis.trade/api/v1/kalshi/market/slug/{slug}" \
-H "Content-Type: application/json"{
"success": true,
"data": {
"event": { ... },
"markets": [ ... ]
}
}Get Market
/api/v1/kalshi/market/{market_id}Get a specific Kalshi market by its market ID.
Path Parameters
market_idstringrequiredKalshi market ticker
/api/v1/kalshi/market/{market_id}curl -X GET "https://synthesis.trade/api/v1/kalshi/market/{market_id}" \
-H "Content-Type: application/json"{
"success": true,
"data": {
"event": { ... },
"market": {
"market_id": "KXBTC-25-T100000",
"title": "Bitcoin above $100,000?",
"left_price": 0.72,
"right_price": 0.28
}
}
}Get Market Trades
/api/v1/kalshi/market/{market_id}/tradesGet recent trades for a Kalshi market.
Path Parameters
market_idstringrequiredKalshi market ticker
/api/v1/kalshi/market/{market_id}/tradescurl -X GET "https://synthesis.trade/api/v1/kalshi/market/{market_id}/trades" \
-H "Content-Type: application/json"{
"success": true,
"data": [ ... ]
}Get Market Holders
/api/v1/kalshi/market/{market_id}/holdersGet top holders for a Kalshi market.
Path Parameters
market_idstringrequiredKalshi market ticker
/api/v1/kalshi/market/{market_id}/holderscurl -X GET "https://synthesis.trade/api/v1/kalshi/market/{market_id}/holders" \
-H "Content-Type: application/json"{
"success": true,
"data": [ ... ]
}Get Market Statistics
/api/v1/kalshi/market/{market_id}/statisticsGet aggregate statistics for a Kalshi market.
Path Parameters
market_idstringrequiredKalshi market ticker
/api/v1/kalshi/market/{market_id}/statisticscurl -X GET "https://synthesis.trade/api/v1/kalshi/market/{market_id}/statistics" \
-H "Content-Type: application/json"{
"success": true,
"data": { ... }
}Get Price History
/api/v1/kalshi/market/{series_id}/{kalshi_id}/price-historyGet historical price data for a Kalshi market.
Path Parameters
series_idstringrequiredKalshi series ID (e.g., 'KXBTC')
kalshi_idstringrequiredKalshi market ID
/api/v1/kalshi/market/{series_id}/{kalshi_id}/price-historycurl -X GET "https://synthesis.trade/api/v1/kalshi/market/{series_id}/{kalshi_id}/price-history" \
-H "Content-Type: application/json"{
"success": true,
"data": [ ... ]
}Get Candlesticks
/api/v1/kalshi/market/{series_id}/{kalshi_id}/candlesticksGet OHLC candlestick data for a Kalshi market.
Path Parameters
series_idstringrequiredKalshi series ID
kalshi_idstringrequiredKalshi market ID
Query Parameters
intervalstringCandlestick interval
/api/v1/kalshi/market/{series_id}/{kalshi_id}/candlestickscurl -X GET "https://synthesis.trade/api/v1/kalshi/market/{series_id}/{kalshi_id}/candlesticks" \
-H "Content-Type: application/json"{
"success": true,
"data": [
{
"open": 0.65,
"high": 0.70,
"low": 0.62,
"close": 0.68,
"volume": 15000,
"timestamp": "2025-01-15T10:00:00Z"
}
]
}Get Leaderboard
/api/v1/kalshi/leaderboardGet the Kalshi trading leaderboard ranked by a given metric.
Query Parameters
metricstringRanking metric: 'volume', 'profit', etc. Defaults to volume
limitintegerMax results (default 100)
sinceintegerNumber of days to look back Defaults to 30
/api/v1/kalshi/leaderboardcurl -X GET "https://synthesis.trade/api/v1/kalshi/leaderboard" \
-H "Content-Type: application/json"{
"success": true,
"data": { ... }
}Get User Profile
/api/v1/kalshi/user/{username}Get a Kalshi user's profile and trading metrics.
Path Parameters
usernamestringrequiredKalshi username (nickname)
/api/v1/kalshi/user/{username}curl -X GET "https://synthesis.trade/api/v1/kalshi/user/{username}" \
-H "Content-Type: application/json"{
"success": true,
"data": {
"profile": { ... },
"metrics": { ... }
}
}Wallets
Manage wallets, place orders, view positions, and handle transfers
List Wallets
/api/v1/walletGet all wallets for the authenticated account.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
/api/v1/walletcurl -X GET "https://synthesis.trade/api/v1/wallet" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": [
{
"wallet_id": "wal_abc123",
"address": "0x742d...",
"chain_id": "POL",
"activated": true,
"created_at": "2025-01-15T10:30:00Z"
}
]
}Create Wallet
/api/v1/walletCreate a new managed wallet for trading on prediction markets.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Body Parameters
chain_idstringrequiredChain: 'POL' (Polygon/Polymarket) or 'SOL' (Solana/Kalshi)
/api/v1/walletcurl -X POST "https://synthesis.trade/api/v1/wallet" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"chain_id": "<string>"
}'{
"success": true,
"data": {
"wallet_id": "wal_abc123",
"address": "0x742d...",
"chain_id": "POL"
}
}Get All Positions
/api/v1/wallet/{wallet_id}/positionsGet all open positions across venues for a wallet.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Path Parameters
wallet_idstringrequiredWallet ID
/api/v1/wallet/{wallet_id}/positionscurl -X GET "https://synthesis.trade/api/v1/wallet/{wallet_id}/positions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": [
{
"venue": "polymarket",
"market_title": "Will Bitcoin reach $100k?",
"outcome": "Yes",
"shares": 500,
"avg_price": 0.55,
"current_price": 0.65,
"pnl": 50.0
}
]
}Get All Orders
/api/v1/wallet/{wallet_id}/ordersGet all orders across venues for a wallet.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Path Parameters
wallet_idstringrequiredWallet ID
/api/v1/wallet/{wallet_id}/orderscurl -X GET "https://synthesis.trade/api/v1/wallet/{wallet_id}/orders" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": [
{
"order_id": "ord_abc123",
"side": "BUY",
"price": 0.65,
"amount": 100.0,
"status": "FILLED",
"created_at": "2025-01-15T10:30:00Z"
}
]
}Get Wallet Balance
/api/v1/wallet/pol/{wallet_id}/balanceGet the USDC balance for a Polymarket wallet.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Path Parameters
wallet_idstringrequiredWallet ID
/api/v1/wallet/pol/{wallet_id}/balancecurl -X GET "https://synthesis.trade/api/v1/wallet/pol/{wallet_id}/balance" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": {
"balance": 1500.50,
"currency": "USDC"
}
}Place Order
/api/v1/wallet/pol/{wallet_id}/orderPlace a new order on Polymarket. Supports limit and market orders.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Path Parameters
wallet_idstringrequiredWallet ID
Body Parameters
token_idstringrequiredToken ID of the outcome to trade
sidestringrequired'BUY' or 'SELL'
typestringrequired'LIMIT' or 'MARKET'
pricenumberLimit price (0.01-0.99), required for LIMIT orders
amountnumberrequiredAmount in USDC to spend
/api/v1/wallet/pol/{wallet_id}/ordercurl -X POST "https://synthesis.trade/api/v1/wallet/pol/{wallet_id}/order" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"token_id": "<string>",
"side": "<string>",
"type": "<string>",
"price": "0.65",
"amount": "100"
}'{
"success": true,
"data": {
"order_id": "ord_abc123",
"status": "OPEN",
"side": "BUY",
"price": 0.65,
"amount": 100.0,
"shares": 153.84
}
}{
"success": false,
"error": "Insufficient balance"
}Cancel Order
/api/v1/wallet/pol/{wallet_id}/order/{order_id}Cancel an open order.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Path Parameters
wallet_idstringrequiredWallet ID
order_idstringrequiredOrder ID to cancel
/api/v1/wallet/pol/{wallet_id}/order/{order_id}curl -X DELETE "https://synthesis.trade/api/v1/wallet/pol/{wallet_id}/order/{order_id}" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": {
"cancelled": true
}
}Get Order Quote
/api/v1/wallet/pol/{wallet_id}/order/quoteGet a price quote for an order before placing it. Shows expected fills and costs.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Path Parameters
wallet_idstringrequiredWallet ID
Body Parameters
token_idstringrequiredToken ID
sidestringrequired'BUY' or 'SELL'
amountnumberrequiredAmount in USDC
/api/v1/wallet/pol/{wallet_id}/order/quotecurl -X POST "https://synthesis.trade/api/v1/wallet/pol/{wallet_id}/order/quote" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"token_id": "<string>",
"side": "<string>",
"amount": "<number>"
}'{
"success": true,
"data": {
"avg_price": 0.652,
"total_cost": 100.0,
"expected_shares": 153.37,
"fee": 0.50
}
}Cancel All Orders
/api/v1/wallet/pol/{wallet_id}/ordersCancel all open orders and active stop-losses for a Polymarket wallet.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Path Parameters
wallet_idstringrequiredWallet ID
/api/v1/wallet/pol/{wallet_id}/orderscurl -X DELETE "https://synthesis.trade/api/v1/wallet/pol/{wallet_id}/orders" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": {
"order_ids": ["ord_abc123", "ord_def456"]
}
}Create Stop-Loss
/api/v1/wallet/pol/{wallet_id}/orderCreate a stop-loss order that triggers a market sell when price drops to the target. Set type to 'STOPLOSS', side must be 'SELL', and units must be 'SHARES'.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Path Parameters
wallet_idstringrequiredWallet ID
Body Parameters
token_idstringrequiredToken ID of the outcome
sidestringrequiredMust be 'SELL'
typestringrequiredMust be 'STOPLOSS'
pricenumberrequiredTrigger price (0.01-0.99)
amountnumberrequiredNumber of shares to sell
unitsstringrequiredMust be 'SHARES'
/api/v1/wallet/pol/{wallet_id}/ordercurl -X POST "https://synthesis.trade/api/v1/wallet/pol/{wallet_id}/order" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"token_id": "<string>",
"side": "<string>",
"type": "<string>",
"price": "0.40",
"amount": "100",
"units": "<string>"
}'{
"success": true,
"data": {
"stoploss_id": "01234567-89ab-cdef-0123-456789abcdef"
}
}{
"success": false,
"error": "Invalid stoploss side or units"
}Mint (Split) Shares
/api/v1/wallet/pol/{wallet_id}/mintSplit USDC into equal Yes and No shares for a market. Deposits USDC into the conditional token contract and receives both outcome tokens at 50/50.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Path Parameters
wallet_idstringrequiredWallet ID
Body Parameters
condition_idstringrequiredMarket condition ID (0x...)
amountnumberrequiredAmount of USDC to split
/api/v1/wallet/pol/{wallet_id}/mintcurl -X POST "https://synthesis.trade/api/v1/wallet/pol/{wallet_id}/mint" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"condition_id": "<string>",
"amount": "100"
}'{
"success": true,
"data": {
"tx_hash": "0xabc123..."
}
}{
"success": false,
"error": "Insufficient balance"
}Merge Shares
/api/v1/wallet/pol/{wallet_id}/mergeMerge equal amounts of Yes and No shares back into USDC. The inverse of minting — burns both outcome tokens and returns the underlying collateral.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Path Parameters
wallet_idstringrequiredWallet ID
Body Parameters
condition_idstringrequiredMarket condition ID (0x...)
amountnumberrequiredAmount of shares to merge (must hold equal Yes and No)
/api/v1/wallet/pol/{wallet_id}/mergecurl -X POST "https://synthesis.trade/api/v1/wallet/pol/{wallet_id}/merge" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"condition_id": "<string>",
"amount": "100"
}'{
"success": true,
"data": {
"tx_hash": "0xdef456..."
}
}{
"success": false,
"error": "Insufficient shares balance"
}Get Kalshi Order Quote
/api/v1/wallet/sol/{wallet_id}/order/quoteGet a price quote for a Kalshi order via DFlow. Returns expected amounts, price impact, and minimum output.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Path Parameters
wallet_idstringrequiredSolana wallet ID
Body Parameters
token_idstringrequiredKalshi market token ID
sidestringrequired'BUY' or 'SELL'
amountnumberrequiredAmount in USDC (buy) or shares (sell)
slippageintegerSlippage tolerance in basis points. Defaults to auto.
/api/v1/wallet/sol/{wallet_id}/order/quotecurl -X POST "https://synthesis.trade/api/v1/wallet/sol/{wallet_id}/order/quote" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"token_id": "<string>",
"side": "<string>",
"amount": "50",
"slippage": "100"
}'{
"success": true,
"data": {
"amount": 50.0,
"shares": 75.5,
"min_shares": 74.0,
"average_price": 0.662,
"price_impact": "0.5"
}
}Place Kalshi Order
/api/v1/wallet/sol/{wallet_id}/orderPlace an order on Kalshi via DFlow swap. Market orders only.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Path Parameters
wallet_idstringrequiredSolana wallet ID
Body Parameters
token_idstringrequiredKalshi market token ID
sidestringrequired'BUY' or 'SELL'
amountnumberrequiredAmount in USDC (buy) or shares (sell)
slippageintegerSlippage in basis points. Defaults to auto.
prediction_slippageintegerPrediction market slippage in basis points
/api/v1/wallet/sol/{wallet_id}/ordercurl -X POST "https://synthesis.trade/api/v1/wallet/sol/{wallet_id}/order" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"token_id": "<string>",
"side": "<string>",
"amount": "50",
"slippage": "100"
}'{
"success": true,
"data": {
"order_id": "ord_abc123",
"tx_hash": "5xYz...",
"side": "BUY",
"amount": 50.0,
"shares": 75.5,
"price": 0.662,
"status": "FILLED"
}
}{
"success": false,
"error": "Wallet verification not complete"
}Get Kalshi Positions
/api/v1/wallet/sol/{wallet_id}/positionsGet all open positions for a Solana/Kalshi wallet.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Path Parameters
wallet_idstringrequiredSolana wallet ID
/api/v1/wallet/sol/{wallet_id}/positionscurl -X GET "https://synthesis.trade/api/v1/wallet/sol/{wallet_id}/positions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": [ ... ]
}Get Kalshi Orders
/api/v1/wallet/sol/{wallet_id}/ordersGet order history for a Solana/Kalshi wallet.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Path Parameters
wallet_idstringrequiredSolana wallet ID
Query Parameters
limitintegerMax orders Defaults to 100
offsetintegerPagination offset Defaults to 0
/api/v1/wallet/sol/{wallet_id}/orderscurl -X GET "https://synthesis.trade/api/v1/wallet/sol/{wallet_id}/orders" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": [ ... ]
}Withdraw (Kalshi)
/api/v1/wallet/sol/{wallet_id}/withdrawWithdraw USDC from a Solana/Kalshi wallet.
X-API-KeystringrequiredAPI key authentication via X-API-Key header.
Path Parameters
wallet_idstringrequiredSolana wallet ID
/api/v1/wallet/sol/{wallet_id}/withdrawcurl -X POST "https://synthesis.trade/api/v1/wallet/sol/{wallet_id}/withdraw" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"{
"success": true,
"data": { ... }
}News
Get market-relevant news with automated market matching
Get News
/api/v1/newsGet recent news articles with matched prediction markets.
Query Parameters
limitintegerMax articles (1-50) Defaults to 10
offsetintegerPagination offset Defaults to 0
/api/v1/newscurl -X GET "https://synthesis.trade/api/v1/news" \
-H "Content-Type: application/json"{
"success": true,
"data": [
{
"news": {
"news_id": "news_abc123",
"title": "Federal Reserve announces rate decision",
"source": "Reuters",
"description": "...",
"url": "https://...",
"published_at": "2025-01-15T10:00:00Z"
},
"events": [
{
"venue": "polymarket",
"score": 0.92,
"event": { ... }
}
]
}
]
}Get Event News
/api/v1/news/event/{event_id}Get news articles related to a specific event.
Path Parameters
event_idstringrequiredEvent ID to get news for
Query Parameters
limitintegerMax articles (1-50) Defaults to 10
offsetintegerPagination offset Defaults to 0
/api/v1/news/event/{event_id}curl -X GET "https://synthesis.trade/api/v1/news/event/{event_id}" \
-H "Content-Type: application/json"{
"success": true,
"data": [ ... ]
}WebSockets
Real-time data streams for orderbooks, trades, balances, and chat
Orderbook WebSocket
/api/v1/orderbook/wsReal-time orderbook updates. Connect via WebSocket, then send a JSON subscribe message. On subscribe, you receive an initial snapshot of current orderbooks, then live delta updates as they change. Supports both Polymarket (numeric token IDs) and Kalshi (string market tickers). Omit markets to subscribe to all markets for a venue. Omit venue and markets to subscribe to everything.
/api/v1/orderbook/wscurl -X GET "https://synthesis.trade/api/v1/orderbook/ws" \
-H "Content-Type: application/json"// Connect
ws://synthesis.trade/api/v1/orderbook/ws
// Subscribe to specific markets
{
"type": "subscribe",
"venue": "polymarket",
"markets": ["token_id_1", "token_id_2"]
}
// Subscribe to all Kalshi orderbooks
{
"type": "subscribe",
"venue": "kalshi"
}
// Subscribe to everything (all venues)
{
"type": "subscribe"
}
// Unsubscribe
{
"type": "unsubscribe"
}
// Initial snapshot response
{
"success": true,
"data": {
"orderbooks": [
{
"venue": "polymarket",
"orderbook": { ... }
}
]
}
}
// Live update
{
"venue": "polymarket",
"orderbook": { ... }
}Trades WebSocket
/api/v1/trades/wsReal-time trade feed. Connect via WebSocket, then send a JSON subscribe message. On subscribe, you receive recent historical trades, then live trade events as they happen. Filter by venue and/or specific markets. Use offset to paginate historical trades (returns 100 per page).
/api/v1/trades/wscurl -X GET "https://synthesis.trade/api/v1/trades/ws" \
-H "Content-Type: application/json"// Connect
ws://synthesis.trade/api/v1/trades/ws
// Subscribe to specific markets
{
"type": "subscribe",
"venue": "polymarket",
"markets": ["condition_id_1", "condition_id_2"]
}
// Subscribe to all Kalshi trades
{
"type": "subscribe",
"venue": "kalshi"
}
// Subscribe to everything
{
"type": "subscribe"
}
// Paginate historical trades
{
"type": "subscribe",
"venue": "kalshi",
"markets": ["MARKET-ID"],
"offset": 100
}
// Unsubscribe
{
"type": "unsubscribe"
}
// Initial trades response
{
"success": true,
"data": {
"trades": [
{
"venue": "polymarket",
"trade": { ... },
"event": { ... },
"market": { ... }
}
]
}
}
// Live trade update
{
"venue": "kalshi",
"trade": { ... },
"event": { ... },
"market": { ... }
}Balance WebSocket
/api/v1/balance/wsReal-time balance updates for wallets. Connect via WebSocket, then subscribe with wallet addresses. On subscribe, you receive current balances, then live updates as balances change. Supports both Polygon (0x...) and Solana addresses. Optionally filter to specific asset IDs per wallet.
/api/v1/balance/wscurl -X GET "https://synthesis.trade/api/v1/balance/ws" \
-H "Content-Type: application/json"// Connect
ws://synthesis.trade/api/v1/balance/ws
// Subscribe to wallets
{
"type": "subscribe",
"wallets": [
{ "address": "0x742d..." },
{ "address": "So1ana...", "assets": ["token_id_1"] }
]
}
// Unsubscribe
{
"type": "unsubscribe"
}
// Initial balance response
{
"success": true,
"data": {
"wallets": [
{
"chain_id": "POL",
"address": "0x742d...",
"balances": {
"token_id_1": 150.5,
"USDC": 1000.0
}
}
]
}
}
// Live balance update
{
"data": {
"address": "0x742d...",
"asset": "token_id_1",
"balance": 200.0
}
}Data WebSocket
/api/v1/data/wsMultipurpose real-time data feed. Connect via WebSocket, then subscribe to a specific data type. Supports: prices, kalshi_prices, news, holders, holder_counts, sports, signals, movers.
/api/v1/data/wscurl -X GET "https://synthesis.trade/api/v1/data/ws" \
-H "Content-Type: application/json"// Connect
ws://synthesis.trade/api/v1/data/ws
// Subscribe to a data type
{
"type": "subscribe",
"data_type": "prices",
"params": { ... },
"limit": 50,
"offset": 0
}
// Unsubscribe
{
"type": "unsubscribe"
}
// Available data_type values:
// "prices" - Polymarket live prices
// "kalshi_prices" - Kalshi live prices
// "news" - Real-time news feed
// "holders" - Holder updates
// "holder_counts" - Batch holder counts
// "sports" - Live sports data
// "signals" - Whale activity signals
// "movers" - Market moversSports
Sports data integration with prediction market matching
Get Sports Categories
/api/v1/sports/categoriesGet available sports categories and leagues.
/api/v1/sports/categoriescurl -X GET "https://synthesis.trade/api/v1/sports/categories" \
-H "Content-Type: application/json"{
"success": true,
"data": [
{
"sport": "basketball",
"leagues": ["NBA", "NCAAB"]
},
{
"sport": "football",
"leagues": ["NFL", "NCAAF"]
}
]
}Get Sports Games
/api/v1/sports/gamesGet upcoming and recent sports games with prediction market data.
Query Parameters
sportstringFilter by sport
leaguestringFilter by league
/api/v1/sports/gamescurl -X GET "https://synthesis.trade/api/v1/sports/games" \
-H "Content-Type: application/json"{
"success": true,
"data": [ ... ]
}Get Sports Markets
/api/v1/sports/marketsGet prediction markets related to sports events.
/api/v1/sports/marketscurl -X GET "https://synthesis.trade/api/v1/sports/markets" \
-H "Content-Type: application/json"{
"success": true,
"data": [ ... ]
}