RIP.BET Docs

API reference

This is the public route map. The generated OpenAPI spec may include internal or admin routes until a filtered public spec is published. Where generated specs and the router differ, this page follows the public router behavior.

Examples use {API_BASE_URL}.

Health and runtime

MethodPathAuthNotes
GET/liveNoneProcess is running
GET/readyNoneService is ready to serve traffic
GET/versionNoneAPI version metadata
GET/v1/runtime-configNoneWaitlist and feature flags

/metrics is not a public API endpoint.

Access

MethodPathAuthNotes
GET/v1/access/selfJWTCurrent identity and access state
GET/v1/access/requestJWTCurrent user's access request
POST/v1/access/requestJWTSubmit or update an access request

Scalar market data

These routes are available in scalar mode. When waitlist access is enabled, they require an allowed JWT.

MethodPathNotes
GET/v1/marketsScalar asset metadata
GET/v1/bucketCurrent and next bucket
GET/v1/bucketsHistorical buckets
GET/v1/buckets/{asset_code}/{start_ts}One bucket
GET/v1/book?asset=NYCTMP1Cached order book
GET/v1/ticker?asset=NYCTMP1Current mark, OI, and utilization
GET/v1/oi-statusOI and close-only state

Scalar trading

MethodPathAuthNotes
POST/v1/predictJWTSimple scalar prediction package
POST/v1/ordersJWT + wallet signatureDirect signed scalar order
POST/v1/orders/prepareJWTPrepare an agent-signed order
POST/v1/orders/submitJWT + agent signatureSubmit prepared order
POST/v1/leverage/prepareJWTPrepare leverage action
POST/v1/leverage/submitJWT + agent signatureSubmit leverage action
POST/v1/closeJWT + wallet signatureReduce-only close
POST/v1/agent/approveJWTApprove an agent wallet

/v1/close-all currently returns 501 Not Implemented. Build clients around explicit position reads and individual closes.

Binary markets

Binary routes are available in binary mode and are hidden in scalar mode. Send a JWT and expect allowlist checks.

MethodPathAuthNotes
GET/v1/binary/statusJWTHealth, pause state, active asset
GET/v1/binary/marketsJWTBinary assets and phases
GET/v1/binary/bucketJWTCurrent binary bucket
GET/v1/binary/book?asset=GBETAJWTBest bid/ask snapshot
POST/v1/binary/setupJWT + signaturesSet binary leverage to 2
POST/v1/binary/predictJWTServer-assisted binary entry
POST/v1/binary/closeJWTReduce-only binary close

Binary diagnostic endpoints are not documented here as public trading APIs.

Outcome markets

Outcome routes require the outcome feature to be enabled. Check /v1/runtime-config before showing outcome flows; when outcomes are disabled, the outcome routes are unavailable.

When outcome writes are enabled, order and cancel prepare routes require JWT authentication, RIPBET allowlist access, and an active approved agent. If the API returns agent_not_approved, call POST /v1/agent/approve first, then retry the prepare request.

MethodPathAuthNotes
GET/v1/outcomes/metaNoneOutcome registry, sides, expiry state
GET/v1/outcomes/price-historyNoneRecent price series for outcome coins
POST/v1/outcomes/transfer/prepareJWTPrepare USDH transfer
POST/v1/outcomes/transfer/submitJWT + wallet signatureSubmit prepared transfer
POST/v1/outcomes/orders/prepareJWT + approved agentPrepare outcome order
POST/v1/outcomes/orders/submitJWT + agent signatureSubmit prepared order
POST/v1/outcomes/cancel/prepareJWT + approved agentPrepare cancel by cloid
POST/v1/outcomes/cancel/submitJWT + agent signatureSubmit prepared cancel
GET/v1/outcomes/orders/open/{address}JWTOpen outcome orders
POST/v1/outcomes/order-statusJWTLookup order status by oid or cloid

Account and history

Some address-scoped reads may accept an address in the path, but access policy is deployment and partner-contract dependent. Clients should be ready to send a JWT and handle 403.

MethodPathAuthNotes
GET/v1/positions/{address}JWT or deployment policyReconstructed positions
GET/v1/account/{address}JWT or deployment policyAccount summary
GET/v1/fees/{address}JWT or deployment policyEffective fee rates
GET/v1/trades/{address}JWT or deployment policyFills
GET/v1/orders/open/{address}JWT or deployment policyOpen orders
GET/v1/orders/history/{address}JWT or deployment policyFilled order history
GET/v1/profile/{address}JWT or deployment policyTrader profile
PUT/v1/profileJWTUpdate own profile
GET/v1/stats/{address}JWT when gatedTrading statistics
GET/v1/pnl/calendar/{address}JWT when gatedPnL calendar

Referrals and rewards

MethodPathAuthNotes
GET/v1/referrals/resolve?code=...NoneResolve a referral code
GET/v1/referrals/codeJWTUser's codes
POST/v1/referrals/codeJWTCreate or update a code
POST/v1/referrals/intentJWTSet referral relationship
GET/v1/referrals/treeJWTReferral tree and earnings
GET/v1/referrals/payoutsJWTPayout history
GET/v1/rewards/{address}None or gated by environmentPoints and rewards

POST /v1/referrals is legacy. When the newer referral system is enabled it returns 410 Gone.

WebSocket and charts

PathNotes
/v1/wsVersioned WebSocket endpoint
/wsAlias
/tv/configTradingView UDF config
/tv/symbolsTradingView symbols
/tv/historyTradingView history
/tv/timeTradingView server time
/tv/searchTradingView symbol search
/tv-mark/*Mark-price chart endpoints in binary mode

Excluded routes

Admin, analytics, whitelist, runtime-setting mutation, HIP-3 deployer action, referral admin, service metrics, and operator routes are intentionally excluded from public docs. If your integration needs one of those capabilities, treat it as a partner contract issue, not a public API assumption.

POST /v1/cancel and POST /v1/schedule-cancel are also excluded. They look like order endpoints, but they are not public user endpoints in the current API.

On this page