Changelog

All notable changes to StakeAPI are documented here.


πŸ’‘ Don't have a Stake.com account yet? Sign up here to get started and unlock all API features.

This project follows Semantic Versioning.


[Unreleased]

Added

  • Public casino data: get_casino_games() and get_game_details() now work (lobby groups and game slugs), plus search_casino_games(), get_casino_collection(), get_game_payouts(), get_crash_history(), get_crash_game(), get_slide_history() and get_highroller_bets()
  • Public sports data: get_sports_events() now works, plus get_sport_index(), get_sports(), get_trending_sports(), get_fixtures(), get_sport_fixtures(), get_tournament(), search_sports(), get_trending_matches(), get_top_picks() and get_top_multis()
  • Promotions and info: get_challenges(), get_active_races() and get_currency_limits()
  • Game model: new slug and player_count fields
  • Live data over WebSocket: StakeWebSocket (via client.websocket()) with streams for Crash, Slide, casino and sports bet feeds, live odds and scores, races, chat and session expiry, plus subscribe() for any subscription
  • get_public_chats() lists public chat rooms
  • Account data: get_account_status(), get_vip_info(), get_claimable_bonuses(), get_unclaimed_bonuses(), get_active_rollovers(), get_seed_pair(), get_sport_bet_history(), get_active_sport_bets(), get_deposits(), get_withdrawals(), get_tip_history(), get_game_statistics(), get_favourite_games(), get_recent_games(), get_race_positions(), get_notifications(), get_gambling_limits() and get_sessions()
  • get_user_stats(name) looks up any player’s public profile without logging in
  • get_bet_history() takes offset and a game filter

  • Betting (unvalidated): dice_roll(), casino_bet() for any Stake Original, crash_bet(), crash_cashout(), slide_bet(), flip_bet(), flip_next(), flip_cashout(), zoo_bet(), place_sport_bet() and cashout_sport_bet(). They are off unless the client is created with allow_betting=True (BettingDisabledError otherwise), and all support dry_run=True

Changed

  • place_bet() now explains which per-game method to use instead of saying betting is unmapped
  • β€œPlease log in.” errors now raise PermissionDeniedError instead of a plain GraphQLError

[0.1.0] β€” 2026-03-31

πŸŽ‰ Initial Release

The first public release of StakeAPI β€” the most comprehensive Python wrapper for the Stake.com API.

Added

  • Core Client (StakeAPI)
    • Async context manager support
    • Automatic session and header management
    • Configurable timeout and rate limiting
    • GraphQL and REST API support
  • Authentication (AuthManager)
    • Access token authentication
    • Session cookie support
    • Token expiration tracking
    • cURL command credential extraction
  • Casino API
    • get_casino_games() β€” Browse all games with category filtering
    • get_game_details() β€” Get detailed game information
  • Sports API
    • get_sports_events() β€” Browse events with sport filtering
    • Live event detection
  • User API
    • get_user_profile() β€” User profile information
    • get_user_balance() β€” Multi-currency balance (available + vault)
  • Betting API
    • place_bet() β€” Place bets programmatically
    • get_bet_history() β€” Retrieve bet history with pagination
  • GraphQL Support
    • Pre-built queries for common operations
    • Custom query support with variables
    • Cursor-based pagination
  • Data Models (Pydantic)
    • User β€” User profile model
    • Game β€” Casino game model
    • SportEvent β€” Sports event model
    • Bet β€” Bet model
    • Transaction β€” Transaction model
    • Statistics β€” Aggregated statistics model
  • Exception Hierarchy
    • StakeAPIError β€” Base exception
    • AuthenticationError β€” Auth failures
    • RateLimitError β€” Rate limiting
    • ValidationError β€” Input validation
    • NetworkError β€” Connection issues
    • GameNotFoundError β€” Missing games
    • InsufficientFundsError β€” Insufficient balance
  • Utilities
    • API key validation
    • Safe decimal conversion
    • Datetime parsing
    • Currency formatting
    • Win rate calculation
    • Bet amount validation
    • Game name sanitization
  • Documentation
    • Complete API reference
    • Getting started guides
    • Code examples
    • GitHub Pages integration

Upcoming

Planned for v0.2.0

  • WebSocket real-time data streaming
  • Chat message support
  • VIP level tracking
  • Promotions and rakeback API
  • Data export utilities
  • CLI tool for common operations

Planned for v0.3.0

  • Multi-account support
  • Proxy rotation
  • Database integration helpers
  • Discord/Telegram bot templates
  • Advanced analytics dashboard

Stay updated and be the first to try new features. Sign up on Stake.com and start building with StakeAPI today!

🎰 Ready to experience Stake.com?

Create your account and start using StakeAPI with real data today.

Sign Up on Stake.com β†’

πŸ’¬ Join the StakeAPI Community on Discord

Get help, share your projects, discuss strategies, and stay up to date with the latest StakeAPI news.

Join Our Discord Server β†’

✏️ Built with ChipaEditor

ChipaEditor is the ultimate code editor built for speed, simplicity, and power. Try it free today.

Try ChipaEditor Free β†’