Sports Catalog & Event Import
Pull the sports catalog into your database once, choose only the competitions you need, then periodically import upcoming events, markets and odds. The public sportsbook never calls the provider.
Game Types / Sports
The provider's sports catalog is pulled and stored. This is the low-cost starting point.
Leagues / Cups / Tournaments
AlertBet maps the provider's competition/sport keys into your local league catalog.
Teams
Teams are extracted from the selected competitions' quota-free event feed and stored locally.
/events endpoint is quota-free, but requesting many selected competitions can trigger rate limits (HTTP 429). If that happens, reduce the selected leagues and retry. You may skip this step because event import also saves teams automatically. The supplied adapter does not spend odds credits for this team pull.Upcoming Events + Markets + Odds
One provider request per selected league imports only future events and their bookmaker markets/odds.
Match Ending & Manual Bet Settlement
Regular License has no live betting. Match ending is provider-verified: AlertBet checks completed results before closing the event and can auto-settle supported markets.
php /absolute/path/to/AlertBet/cron/end-matches.php every 30–60 minutes. It groups started matches by sport and checks the provider scores/results endpoint. A match is never ended merely because its start time passed. The Odds API scores call costs 2 credits when daysFrom is used, so only sports with candidate matches are queried. Supported h2h, totals, spreads and BTTS selections can be auto-settled; other markets remain available for manual settlement.Automate event imports
Recommended for the Regular License: schedule the importer rather than polling from every visitor's browser.
*/30 * * * * php /absolute/path/to/AlertBet/cron/sync-events.php >> /absolute/path/to/AlertBet/storage/cron.log 2>&1Fresher odds, higher credit use.
Good compromise for many regular plans.
Lowest recurring credit usage.
