AlertBet
Sports Data Manager
Regular License · Pre-match

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.

✓ Admin session verified
Game Types
Leagues
Teams
Upcoming Events
Step 1

Game Types / Sports

The provider's sports catalog is pulled and stored. This is the low-cost starting point.

Free/low-credit plans: select only Football/Soccer. Importing more sports increases the number of competitions you may later sync. The Odds API charges odds requests by markets × regions, so the regular-plan defaults are one region + h2h.
Step 2

Leagues / Cups / Tournaments

AlertBet maps the provider's competition/sport keys into your local league catalog.

Suggested regular-plan selection: EPL, La Liga, UEFA Champions League and UEFA Europa League. The exact provider keys are matched when available.
Step 3

Teams

Teams are extracted from the selected competitions' quota-free event feed and stored locally.

Provider warning: The Odds API /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.
Step 4

Upcoming Events + Markets + Odds

One provider request per selected league imports only future events and their bookmaker markets/odds.

Credit warning: this is the expensive operation. For The Odds API, an odds request costs one credit per requested market per region, so 3 markets × 2 regions would cost 6 credits for one league request. Start with 30–60 minutes or hourly for a regular/free plan. Every selected league queried during a run can consume provider credits. The imported odds remain static between syncs.
Settlement

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.

Cron: schedule 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.
Click “Refresh Open Bets” to load unsettled selections.
Cron / Scheduler

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>&1
15 min
Fresher odds, higher credit use.
30 min
Good compromise for many regular plans.
Hourly
Lowest recurring credit usage.