STOCK CASINOS

REST API

Read-only JSON over HTTPS. No key, open CORS, cached for 30–60 seconds. Base URL: https://www.stocks.ventures/api/v1. Money is USD (numbers); token amounts are 18-decimal strings; times are unix seconds.

Endpoints

GET /games

Every game: slug, name, kind, status, one-liner, rules, fee, contract name and address, page URL.

Try it: /api/v1/games

GET /games/{slug}

One game in full, its all-time totals (plays, players, volume, paid out, fees, best win) and its contracts.

Try it: /api/v1/games/dice

GET /games/{slug}/stocks

Every stock with this game’s table, most liquid first. liquidity.game = the house vault (house games) or money in play now plus 7-day volume; liquidity.market = Uniswap depth. Both USD. stats = this game in this stock.

Try it: /api/v1/games/dice/stocks

GET /games/{slug}/leaderboard?stock=&limit=

Players by net profit in USD (won − staked), across every stock or one. limit up to 200 (default 50).

Try it: /api/v1/games/roulette/leaderboard?stock=TSLA&limit=10

GET /games/{slug}/play?stock=

How to play one table: game contract, token, the approve step and the game’s function signatures.

Try it: /api/v1/games/dice/play?stock=NVDA

GET /stocks

The 203 Robinhood stock tokens: symbol, name, address, USD price, Chainlink feed, logo.

Try it: /api/v1/stocks

GET /contracts

Every live contract address, the live version and the $CASINO token.

Try it: /api/v1/contracts

Example

curl -s https://www.stocks.ventures/api/v1/games/dice/stocks | jq '.stocks[:3] | map({symbol, vault: .liquidity.game, plays: .stats.plays})'
const { players } = await fetch('https://www.stocks.ventures/api/v1/games/lottery/leaderboard?limit=10').then((r) => r.json())

Notes

LotteryFOMO3DUp / DownJackpot wheel50/50 raffleKing of the HillPenny auctionCoin flipRock paper scissorsClosing-price guessStock vs stockKenoBingoLast Man StandingTontineLucky stakingRange / bullseyeDiceLimboCrashPlinkoRouletteWheel of fortuneSlotsMinesScratch cardsHi-LoVideo pokerBlackjackBaccarat