Discover/statshub.com API
live

statshub.com APIstatshub.com

Retrieve xG, xGA, possession, and player-level stats from StatsHub across fixtures, matches, and league standings via 3 endpoints.

Endpoints
3
Updated
2mo ago
Try it
Date in YYYY-MM-DD format. If omitted, defaults to today's date (UTC).
api.parse.bot/scraper/e1f0e079-0946-4b6c-9e3c-9227eddaa64a/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/e1f0e079-0946-4b6c-9e3c-9227eddaa64a/get_fixtures_by_date?date=2025-03-15' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Get all football fixtures/matches for a specific date. Returns match IDs, teams, scores, tournament info, and status needed to query match-level stats via get_match_stats.

Input
ParamTypeDescription
datestringDate in YYYY-MM-DD format. If omitted, defaults to today's date (UTC).
Response
{
  "type": "object",
  "fields": {
    "date": "string in YYYY-MM-DD format",
    "fixtures": "array of fixture objects with event_id, teams, scores, tournament, status",
    "total_fixtures": "integer count of fixtures returned"
  },
  "sample": {
    "data": {
      "date": "2026-05-14",
      "fixtures": [
        {
          "slug": "girona-fc-vs-real-sociedad-mp6ks0",
          "round": 36,
          "status": "finished",
          "country": "Spain",
          "event_id": 14083624,
          "away_team": {
            "id": 2824,
            "name": "Real Sociedad",
            "short_name": "Real Sociedad"
          },
          "home_team": {
            "id": 24264,
            "name": "Girona FC",
            "short_name": "Girona"
          },
          "away_score": 1,
          "has_lineup": true,
          "home_score": 1,
          "tournament": {
            "id": 36,
            "name": "LaLiga",
            "unique_id": 8,
            "unique_name": "LaLiga"
          },
          "internal_id": 133717,
          "winner_code": 100,
          "start_timestamp": 1778781600
        }
      ],
      "total_fixtures": 16
    },
    "status": "success"
  }
}

About the statshub.com API

The StatsHub API gives developers access to football statistics across 3 endpoints, covering match-level xG and xGA, player-level shot data, and season-level league standings with possession metrics. Starting with get_fixtures_by_date, you retrieve event IDs for any date, then drill into individual matches with get_match_stats or pull full-season team performance with get_league_standings.

Fixtures and Match Lookup

The get_fixtures_by_date endpoint accepts a date parameter in YYYY-MM-DD format (defaults to today in UTC when omitted) and returns an array of fixture objects. Each fixture carries an event_id, home and away team objects with their own IDs, scores, tournament metadata, and match status. The total_fixtures integer confirms how many matches are scheduled for that date. The event_id, home_team.id, and away_team.id values from this response are required inputs for the match stats endpoint.

Match-Level xG and Player Stats

get_match_stats takes an event_id plus the home and away team IDs and returns aggregated xG figures for both sides: home_xg, away_xg, home_xga, and away_xga. Note that home_xga equals away_xg and vice versa — the endpoint makes both explicit for convenience. It also returns home_players and away_players arrays, each containing player-level stat objects that feed into the team totals.

League Standings with Season Stats

get_league_standings returns a standings array where each team object includes position, points, xg_for, xg_against, possession, and additional season-level metrics. The tournament_id parameter selects the competition (for example, 1 maps to the Premier League). If season_id is omitted, the endpoint automatically resolves to the latest available season for that tournament, and the season_id value used is echoed back in the response.

Common use cases
  • Track daily fixtures and filter by tournament to build a match calendar feed
  • Compare home_xg vs away_xg for a completed match to assess shot quality beyond the scoreline
  • Aggregate player-level xG from home_players and away_players to rank individual performers over a matchday
  • Pull xg_for and xg_against from league standings to identify over- and under-performing teams relative to their points tally
  • Monitor possession values across a full season from get_league_standings to analyze pressing and ball-retention trends
  • Chain get_fixtures_by_date and get_match_stats to build an automated post-match report pipeline
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does StatsHub offer an official developer API?+
StatsHub does not publish a documented public developer API or API keys program on its website.
What does get_match_stats return beyond team xG totals?+
It returns home_xg, away_xg, home_xga, and away_xga at the team level, plus home_players and away_players arrays containing per-player stat objects. Those player arrays are what the team xG totals are aggregated from, so individual shot contributions are accessible directly in the same response.
Does get_league_standings cover leagues other than the Premier League?+
The tournament_id parameter supports multiple leagues; tournament_id=1 maps to the Premier League. The full list of supported tournament IDs is not enumerated in the current endpoint spec. You can fork this API on Parse and revise it to add an endpoint that lists all available tournament IDs and their names.
Is historical match data available, or only recent fixtures?+
get_fixtures_by_date accepts any date in YYYY-MM-DD format, and get_league_standings accepts an explicit season_id for past seasons. Match-level xG for historical event IDs depends on whether StatsHub retains that data. Pagination across multiple dates or bulk historical pulls are not exposed in the current endpoints. You can fork this API on Parse and revise it to add a date-range or bulk-fixtures endpoint.
Are odds or betting markets included in any of the responses?+
No odds or betting market fields appear in any of the three endpoints. The API covers fixture metadata, xG and xGA figures, player stats, standings, and possession data. You can fork this API on Parse and revise it to add an endpoint pulling odds data if StatsHub surfaces that on its site.
Page content last updated . Spec covers 3 endpoints from statshub.com.
Related APIs in SportsSee all →
athletic.net API
Search and analyze cross country and track & field performance data across the US, including athlete profiles, meet results, team rosters, and rankings. Access comprehensive meet information, historical records, and state-level competition data to track athlete progress and discover top performers.
maxpreps.com API
Access high school sports data from MaxPreps. Search for schools, retrieve team rosters and schedules, look up athlete profiles, and browse national or state rankings across all sports.
vg.no API
Access VG.no's latest news, articles, sports scores, and TV guides through a single interface where you can browse the front page, search articles by topic, view category-specific content, and find related stories. Get real-time sports scores and television schedules alongside comprehensive news coverage from Norway's leading news outlet.
vegasinsider.com API
Retrieve MLB betting odds from major sportsbooks including bet365, FanDuel, and DraftKings, covering Moneyline, Total, and Runline markets for any supported date. Easily compare odds across books to identify the best available lines.
puntoticket.com API
Browse and search events happening in Chile with PuntoTicket, viewing featured shows, filtering by category, and checking detailed pricing and availability for concerts, theater, sports, and more. Find the perfect event by exploring all listings or discovering what's trending right now.
130point.com API
Search for sold trading cards across eBay, Goldin, Heritage Auctions, Pristine Auction, MySlabs, and Fanatics Collect to find historical prices, sale dates, and marketplace information all in one place. Get comprehensive sales data to research card values and track market trends across multiple platforms instantly.
wynncraft.com API
Access detailed Wynncraft game information to look up item metadata and search across the complete item database, retrieve player statistics and character inventories, and browse guild information and global search results. Use this data to compare gear, track player progress, analyze guild rosters, or build tools for the Wynncraft community.
whoscored.com API
Search for players and teams, then dive deep into their performance metrics, match statistics, and detailed passing data to analyze football games and player abilities. Get comprehensive insights on team performance, individual player stats, and play-by-play event information to power your football analysis and decision-making.