Access sports data, betting odds, and AI-powered betting analysis through a simple REST API.
The WagerGPT API provides access to comprehensive sports data, betting odds, and AI-powered betting analysis. The API is organized into three main categories:
Access detailed statistics, injuries, lineups, and game data for various sports including NFL, NBA, NHL, EPL, and more.
Get real-time betting odds for games, player props, and other markets across multiple sports and leagues.
Leverage AI-powered betting analysis, daily picks, and custom analysis for making informed betting decisions.
To use the WagerGPT API, you'll need an access token. All API requests must include this token as a query parameter.
Base URL: http://api.wagergpt.xyz
Example request:
curl -X GET "http://api.wagergpt.xyz/daily-picks?access_token=YOUR_ACCESS_TOKEN"
The WagerGPT API uses a simple token-based authentication system. You must include your access token with every API request as a query parameter.
curl -X GET "http://api.wagergpt.xyz/daily-picks?access_token=f635dafd-f2e8-45c7-ac0d-4bce589e1702"
If you don't include a valid access token, you'll receive a 401 Unauthorized response:
{
"error": "Unauthorized"
}
The WagerGPT API provides a wide range of endpoints organized into three main categories.
These endpoints provide access to detailed sports statistics, player data, injuries, and game information.
/nfl-player-game-stats-by-week
Retrieves NFL player game statistics for a specific season and week.
access_token
(required) - Your API access tokenseason
(required) - Season in format YYYY or YYYYSEASON_TYPE (e.g., 2023 or 2023REG)week
(required) - Week of the seasoncurl -X GET "http://api.wagergpt.xyz/nfl-player-game-stats-by-week?access_token=YOUR_ACCESS_TOKEN&season=2023REG&week=1"
/nfl-team-season-stats
Retrieves NFL team statistics for a specific season.
access_token
(required) - Your API access tokenseason
(required) - Season in format YYYY or YYYYSEASON_TYPE (e.g., 2023 or 2023REG)curl -X GET "http://api.wagergpt.xyz/nfl-team-season-stats?access_token=YOUR_ACCESS_TOKEN&season=2023REG"
/nfl-injuries
Retrieves current NFL injury reports.
access_token
(required) - Your API access tokencurl -X GET "http://api.wagergpt.xyz/nfl-injuries?access_token=YOUR_ACCESS_TOKEN"
/nba-starting-lineups
Retrieves current NBA starting lineups.
access_token
(required) - Your API access tokencurl -X GET "http://api.wagergpt.xyz/nba-starting-lineups?access_token=YOUR_ACCESS_TOKEN"
These endpoints provide access to betting odds for various sports and markets.
/nfl-odds
Retrieves current NFL betting odds.
access_token
(required) - Your API access tokencurl -X GET "http://api.wagergpt.xyz/nfl-odds?access_token=YOUR_ACCESS_TOKEN"
/nfl-player-odds
Retrieves current NFL player prop betting odds.
access_token
(required) - Your API access tokenevent_id
(required) - The ID of the eventcurl -X GET "http://api.wagergpt.xyz/nfl-player-odds?access_token=YOUR_ACCESS_TOKEN&event_id=61dcc385d9c0927b9392d04c3b944198"
/nba-odds
Retrieves current NBA betting odds.
access_token
(required) - Your API access tokencurl -X GET "http://api.wagergpt.xyz/nba-odds?access_token=YOUR_ACCESS_TOKEN"
These endpoints provide AI-powered betting analysis and picks.
/daily-picks
Retrieves the latest AI-generated daily betting picks across various sports.
access_token
(required) - Your API access tokencurl -X GET "http://api.wagergpt.xyz/daily-picks?access_token=YOUR_ACCESS_TOKEN"
{
"picks": "šØ WagerGPT Daily AI Picks šØ\n\nUpdated every 5 minutes! \n\nš NBA Picks š \n-------------------\n1. Charlotte Hornets / Cleveland Cavaliers UNDER 234.5 @ -112\n2. Dallas Mavericks / Memphis Grizzlies UNDER 239.0 @ -115\n...",
"timestamp": "Fri, 07 Mar 2025 13:00:28 GMT",
"top_5_picks_response": "1. Charlotte Hornets / Cleveland Cavaliers UNDER 234.5 @ -112 (NBA)\n2. Winnipeg Jets ML @ -115 (NHL)\n..."
}
/top-5-picks
Retrieves the top 5 AI-generated betting picks.
access_token
(required) - Your API access tokencurl -X GET "http://api.wagergpt.xyz/top-5-picks?access_token=YOUR_ACCESS_TOKEN"
/analysis
Generates custom AI analysis based on your specific query.
access_token
(required) - Your API access tokeninput
(required) - Your analysis query (e.g., "Should I bet on the Lakers tonight?")curl -X GET "http://api.wagergpt.xyz/analysis?access_token=YOUR_ACCESS_TOKEN&input=Should%20I%20bet%20on%20the%20Lakers%20tonight%3F"
{
"final_response": "Based on my analysis, betting on the Lakers tonight is a moderate-value play. They're 4-1 ATS in their last 5 home games and their offensive efficiency has improved 7.2% since the All-Star break. Their opponent is on the second night of a back-to-back with travel involved, historically a -3.8 point impact. The current spread of -5.5 is slightly below my projected line of -6.5, indicating a small edge. Consider a 1-unit play on Lakers -5.5.",
"printed_output": "Thinking process details..."
}
The WagerGPT API uses conventional HTTP response codes to indicate the success or failure of an API request.
Code | Description |
---|---|
200 - OK | The request was successful. |
400 - Bad Request | The request was invalid or missing required parameters. |
401 - Unauthorized | The access token was missing or invalid. |
404 - Not Found | The requested resource was not found. |
500 - Internal Server Error | An error occurred on the server. |
Error responses will include a JSON object with an error message:
{
"error": "Unauthorized"
}
To ensure the stability of the API, rate limits are applied to all endpoints. The current rate limits are:
If you exceed these limits, you'll receive a 429 Too Many Requests response.