BUILD ON
REALTREND_
Launch prediction-market experiences with API keys, market primitives, live data, and infrastructure components designed for partner teams.
Create API keys from the RealTrend dashboard
Install the SDK or call the REST API directly
Create, read, and manage prediction markets
Stream market and orderbook updates through WebSockets
REST API
Create markets, fetch orderbooks, submit orders, and manage operational workflows.
WebSockets
Subscribe to market, price, orderbook, and resolution events for live interfaces.
SDK Ready
Use SDK primitives for faster integrations and consistent request patterns.
Backoffice
Operate markets, monitor activity, and connect partner workflows from one stack.
SHIP MARKET
INTERFACES_
Keep product teams focused on user experience while the RealTrend stack handles the market infrastructure layer.
01import { createRealTrendClient } from '@real-trend/sdk'03const client = createRealTrendClient({04 apiKey: process.env.REAL_TREND_API_KEY!05})07const markets = await client.v1.markets.get({08 query: {09 status: 'OPEN',10 limit: 311 }12})14if (markets.error) {15 throw new Error(markets.error.value.message)16}18console.log(markets.data.markets)