DENPA · DEVELOPER PLATFORM

BUILD ON THE
BROADCAST NETWORK

Denpa is a live broadcast network where attention behaves like a financial market. The API gives you real-time access to signal rankings, live prediction market data, PRIME volatility state, and programmatic trade execution.

INTERACTIVE DOCS →OPENAPI JSONSANDBOX
WHAT YOU CAN BUILD
ACCESS TIERS
PUBLIC
No application required

Read-only signal API · WebSocket feed · Embed widget · Sandbox

RATE LIMIT300 req/min
BUILDER
Free — apply to unlock

Stream submission · Overlay config · Analytics · Listed in dev directory

RATE LIMIT1,000 req/min
PARTNER
Paid or revenue share

Custom PRIME triggers · Market creation · Custom branding · Dedicated support

RATE LIMIT5,000 req/min
PROTOCOL FORK
By arrangement

Full infrastructure access — build a Denpa-powered product in a new vertical. Revenue share on protocol fees.

RATE LIMITUnlimited
QUICK START
STEP 01
Public API
No auth required. Fetch broadcast state, leaderboard, and markets immediately.
STEP 02
WebSocket
Connect to wss://api-production-802f5.up.railway.app/ws for 500ms live updates.
STEP 03
Agent API
Create an API key via SIWE to access trade execution and stream submission.
const res = await fetch("https://api-production-802f5.up.railway.app/api/v1/feed");
const { source, prime, topSignal, volume } = await res.json();

console.log(`Source: ${source}`);
console.log(`PRIME: ${prime}`);
console.log(`Top signal: ${topSignal}`);
console.log(`Volume: $${volume.toLocaleString()}`);
API REFERENCE
INTERACTIVE DOCS →
BROADCAST
GET/prime/statusCurrent PRIME state — volatility index, active flag
GET/api/v1/feedLive broadcast state — source, PRIME flag, session volume
GET/api/v1/scheduleUpcoming UTC time slots for culture and sports events
GET/api/v1/channels/livePartner channels currently on air
MARKET
GET/api/v1/leaderboardRanked signal sources by probability and attention weight
GET/api/v1/marketsActive signal markets with live YES/NO prices
GET/api/v1/historyHistorical probability curve and PRIME events for a signal
SIGNALS
GET/api/v1/signals/curatedClaude-curated signals, ranked by cultural relevance
GET/api/v1/polymarket/searchSearch markets by keyword
GET/api/v1/polymarket/eventsSignal event index — tag-filtered
AGENTAPI KEY REQUIRED
POST/api/v1/agent/keysCreate API key (SIWE auth)
GET/api/v1/agent/marketsAll active markets across shows
GET/api/v1/agent/markets/{showId}/orderbookLive signal market orderbook snapshot
POST/api/v1/agent/quoteGet trade price impact — no execution
POST/api/v1/agent/tradeExecute market order
OVERLAYAPI KEY REQUIRED
POST/api/v1/stream/submitSubmit HLS, MP4, or iframe source to segment queue
GET/api/v1/embed/configEmbed config — stream URL, market IDs, PRIME state
POST/api/v1/overlay/configConfigure overlay appearance for your integration
GET/api/v1/analyticsSession duration, trade volume, PRIME conversion
PRIMEPARTNER ONLY
POST/api/v1/prime/triggerManually trigger PRIME state with condition payload
POST/api/v1/prime/conditionsRegister custom volatility rule for a segment
POST/api/v1/markets/createCreate a market linked to a show segment
WEBSOCKET
wss://api-production-802f5.up.railway.app/ws
CONNECT/api/v1/signalDocumented SDK endpoint alias for /ws — same connection
→ sendsubscribe_showSubscribe to a show's realtime feed
→ sendpingKeepalive (every 25s)
← receiveleaderboard_updateRanked rows pushed every 500ms
← receiveprime_activatedPRIME state triggered
← receiveprime_deactivatedPRIME state resolved
← receivechat_messageNew chat message from a viewer
← receivesource_changedActive broadcast source changed
AUTHENTICATION
PUBLIC APINo authentication required. All /api/v1/feed, /leaderboard, /markets, /channels endpoints are open.
BUILDER APIRequires x-api-key header. Obtain a key by calling POST /api/v1/agent/keys with a SIWE-signed wallet message.
PARTNER APIRequires x-api-key header with partner permission. Contact us to unlock PRIME triggers and market creation.
SDK REFERENCE
COMING P1
INSTALL
npm install @denpa/sdkBrowser SDK — WebSocket client + TypeScript types
npm install denpa-reactReact component library — embeddable TV interface
DENPA SDK — DreambothSignal
connect()Opens WebSocket connection to /api/v1/signal. Reconnects automatically on drop.
disconnect()Closes the WebSocket connection and clears all listeners.
onSignal(cb)Fires on every leaderboard tick (500ms). Payload: { rank, label, probabilityPct, volumeUsd, primeActive }
onPrime(cb)Fires when PRIME state activates or deactivates. Payload: { active, index, marketId, remainingSeconds }
onLeaderboard(cb)Fires on ranked update. Payload: { sources: LeaderboardRow[], showId, timestamp }
onMarket(cb)Fires when market prices change. Payload: { marketId, yesPct, noPct, volumeUsd }
DENPA REACT — COMPONENTS
<DreambothPlayer />Full TV interface embed — stream, leaderboard, PRIME overlay, chat.
apiKeystringREQYour Denpa API key
widthstring | numberOPTContainer width (default: 100%)
heightstring | numberOPTContainer height (default: 100%)
theme'dark' | 'crt' | 'minimal'OPTVisual preset (default: 'crt')
<SignalChart />Standalone probability chart for a single signal market.
marketIdstringREQMarket ID to visualise
heightnumberOPTChart height in px (default: 120)
showPrimebooleanOPTHighlight PRIME events on the curve (default: true)
<Leaderboard />Live ranked signal list. Updates in real time via WebSocket.
maxSourcesnumberOPTMax rows to render (default: 10)
showVolumebooleanOPTShow volume column (default: true)
showMomentumbooleanOPTShow momentum arrow indicator (default: true)
<TradeOverlay />YES / NO trade buttons. Can be layered over any video element.
marketIdstringREQMarket ID to trade on
apiKeystringREQBuilder-tier API key for trade execution
Interactive API DocsLIVE

Full OpenAPI 3.1 spec with request builder and response examples.

OPEN DOCS →
SandboxLIVE

Live developer dashboard — signal feed, WebSocket log, market state.

OPEN SANDBOX →
DENPA · API v1 · POLYMARKET · CLOBBASE URL: https://api-production-802f5.up.railway.app