[00]Developers // API First

BUILD ON
REALTREND_

Launch prediction-market experiences with API keys, market primitives, live data, and infrastructure components designed for partner teams.

QUICKSTART4 STEPS
01

Create API keys from the RealTrend dashboard

02

Install the SDK or call the REST API directly

03

Create, read, and manage prediction markets

04

Stream market and orderbook updates through WebSockets

[01]Integration Surfaces
API.01

REST API

Create markets, fetch orderbooks, submit orders, and manage operational workflows.

API.02

WebSockets

Subscribe to market, price, orderbook, and resolution events for live interfaces.

API.03

SDK Ready

Use SDK primitives for faster integrations and consistent request patterns.

API.04

Backoffice

Operate markets, monitor activity, and connect partner workflows from one stack.

[02]SDK Pattern

SHIP MARKET
INTERFACES_

Keep product teams focused on user experience while the RealTrend stack handles the market infrastructure layer.

EXAMPLE.TSSDK
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)