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.
WHAT YOU CAN BUILD
ACCESS TIERS
No application required
Read-only signal API · WebSocket feed · Embed widget · Sandbox
RATE LIMIT300 req/min
Free — apply to unlock
Stream submission · Overlay config · Analytics · Listed in dev directory
RATE LIMIT1,000 req/min
Paid or revenue share
Custom PRIME triggers · Market creation · Custom branding · Dedicated support
RATE LIMIT5,000 req/min
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 REFERENCEINTERACTIVE DOCS →
BROADCAST
GET
/prime/statusCurrent PRIME state — volatility index, active flagGET
/api/v1/feedLive broadcast state — source, PRIME flag, session volumeGET
/api/v1/scheduleUpcoming UTC time slots for culture and sports eventsGET
/api/v1/channels/livePartner channels currently on airMARKET
GET
/api/v1/leaderboardRanked signal sources by probability and attention weightGET
/api/v1/marketsActive signal markets with live YES/NO pricesGET
/api/v1/historyHistorical probability curve and PRIME events for a signalSIGNALS
GET
/api/v1/signals/curatedClaude-curated signals, ranked by cultural relevanceGET
/api/v1/polymarket/searchSearch markets by keywordGET
/api/v1/polymarket/eventsSignal event index — tag-filteredAGENTAPI KEY REQUIRED
POST
/api/v1/agent/keysCreate API key (SIWE auth)GET
/api/v1/agent/marketsAll active markets across showsGET
/api/v1/agent/markets/{showId}/orderbookLive signal market orderbook snapshotPOST
/api/v1/agent/quoteGet trade price impact — no executionPOST
/api/v1/agent/tradeExecute market orderOVERLAYAPI KEY REQUIRED
POST
/api/v1/stream/submitSubmit HLS, MP4, or iframe source to segment queueGET
/api/v1/embed/configEmbed config — stream URL, market IDs, PRIME statePOST
/api/v1/overlay/configConfigure overlay appearance for your integrationGET
/api/v1/analyticsSession duration, trade volume, PRIME conversionPRIMEPARTNER ONLY
POST
/api/v1/prime/triggerManually trigger PRIME state with condition payloadPOST
/api/v1/prime/conditionsRegister custom volatility rule for a segmentPOST
/api/v1/markets/createCreate a market linked to a show segmentWEBSOCKET
wss://api-production-802f5.up.railway.app/wsCONNECT
/api/v1/signalDocumented SDK endpoint alias for /ws — same connection→ send
subscribe_showSubscribe to a show's realtime feed→ send
pingKeepalive (every 25s)← receive
leaderboard_updateRanked rows pushed every 500ms← receive
prime_activatedPRIME state triggered← receive
prime_deactivatedPRIME state resolved← receive
chat_messageNew chat message from a viewer← receive
source_changedActive broadcast source changedAUTHENTICATION
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 REFERENCECOMING P1
INSTALL
npm install @denpa/sdkBrowser SDK — WebSocket client + TypeScript typesnpm install denpa-reactReact component library — embeddable TV interfaceDENPA 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 keywidthstring | 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 visualiseheightnumberOPTChart 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 onapiKeystringREQBuilder-tier API key for trade executionInteractive API DocsLIVE
Full OpenAPI 3.1 spec with request builder and response examples.
OPEN DOCS →DENPA · API v1 · POLYMARKET · CLOBBASE URL: https://api-production-802f5.up.railway.app