Changelog
π° New to Stake.com? Sign up with code
WY7953wQto claim your welcome bonus and support StakeAPIβs development β Create your Stake.com account
π¬ Need help? Join the Chipa Discord Β· β‘ Go no-code with ChipaEditor
All notable changes to StakeAPI are documented here.
This project follows Semantic Versioning.
[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 filteringget_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 informationget_user_balance()β Multi-currency balance (available + vault)
-
Betting API
place_bet()β Place bets programmaticallyget_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 modelGameβ Casino game modelSportEventβ Sports event modelBetβ Bet modelTransactionβ Transaction modelStatisticsβ Aggregated statistics model
-
Exception Hierarchy
StakeAPIErrorβ Base exceptionAuthenticationErrorβ Auth failuresRateLimitErrorβ Rate limitingValidationErrorβ Input validationNetworkErrorβ Connection issuesGameNotFoundErrorβ Missing gamesInsufficientFundsErrorβ 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
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
Level Up Your StakeAPI Setup
- π° Create your Stake.com account β β Register with referral code
WY7953wQto unlock your welcome bonus, rakeback, and exclusive rewards. Using our link keeps StakeAPI free and actively maintained. - π¬ Join the Chipa Discord β β Get real-time support, share your bots and strategies, and connect with hundreds of other StakeAPI developers.
- β‘ Try ChipaEditor β β Build, backtest, and deploy betting & trading strategies with our AI-powered, no-code editor. The perfect companion to StakeAPI.