Discover/h2hggl.com API
live

h2hggl.com APIh2hggl.com

Access H2H GG League eBasketball schedules, live scores, match stats, play-by-play timelines, player stats, and head-to-head comparisons via 9 endpoints.

Endpoints
9
Updated
27d ago
Try it
Date in YYYY-MM-DD format. Defaults to today (UTC).
Number of days to fetch starting from date.
api.parse.bot/scraper/dd72b5c0-aef0-43c1-9cc0-4246bb6dbe2b/<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/dd72b5c0-aef0-43c1-9cc0-4246bb6dbe2b/get_schedule?date=%3CYYYY-MM-DD%3E&days=1' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 9 totalclick to expand

Get all eBasketball games for a specific date or date range. Returns both upcoming and completed games with scores, teams, and participant info.

Input
ParamTypeDescription
datestringDate in YYYY-MM-DD format. Defaults to today (UTC).
daysintegerNumber of days to fetch starting from date.
Response
{
  "type": "object",
  "fields": {
    "games": "array of game objects with externalId, startDate, teamAName, teamBName, participantAName, participantBName, matchStatus, teamAScore, teamBScore",
    "date_range": "object containing from, to (YYYY-MM-DD strings), and days (integer)",
    "total_games": "integer total number of games in the range"
  },
  "sample": {
    "data": {
      "games": [
        {
          "_date": "2026-05-07",
          "startDate": "2026-05-07T23:27:00Z",
          "teamAName": "New York Knicks",
          "teamBName": "Boston Celtics",
          "externalId": "NB212070526",
          "streamName": "Ebasketball 4",
          "teamAScore": null,
          "teamBScore": null,
          "isCancelled": false,
          "matchStatus": null,
          "tournamentName": "Ebasketball H2H GG League",
          "_status_category": "upcoming",
          "participantAName": "SUPERIOR",
          "participantBName": "BLADE"
        }
      ],
      "date_range": {
        "to": "2026-05-07",
        "days": 1,
        "from": "2026-05-07"
      },
      "total_games": 187
    },
    "status": "success"
  }
}

About the h2hggl.com API

The H2H GG League API covers 9 endpoints for eBasketball data including schedules, live scores, per-match box scores, play-by-play timelines, and player career statistics. The get_schedule endpoint accepts a date and days range to return game objects with team names, participant names, and scores. The get_h2h endpoint delivers side-by-side career stat comparisons and historical head-to-head results between any two named players.

Schedule and Live Data

The get_schedule endpoint returns all H2H GG League eBasketball games for a given date or date range. Pass a date string in YYYY-MM-DD format and an optional days integer to widen the window. Each game object includes externalId, startDate, teamAName, teamBName, participantAName, participantBName, matchStatus, and both team scores. The get_live_games endpoint narrows this to currently active and immediately upcoming matches, adding a streamName field and a status field, making it useful for real-time display.

Match Details and Timeline

Once you have a match's externalId (formatted like NB251200426), you can call get_match_details to retrieve both the full box score and the play-by-play in a single response. Box score data is broken into period stat objects (quarter-1 through quarter-4 and end-match), each containing teamA and teamB sub-objects. The timeline field returns an incidents array covering events such as goals, fouls, free throws, and period changes, plus a matchSummary with teams, scores, and start date. If you only need one or the other, get_match_stats returns box score data alone and get_match_timeline returns the play-by-play alone. Note that get_match_stats returns an empty stats array for matches where matchStatus is not MATCH_ENDED.

Player Statistics and Head-to-Head

get_players returns all eBasketball players with fields including avgPoints, matchesPlayed, matchesWon, matchesLost, matchesWinPct, and matchForm. To drill into a single player, pass their name (case-insensitive) to get_player_stats, which adds a recent_games array of completed matches. get_player_past_games focuses exclusively on that game history, returning a flat array of completed game objects with scores and participant names. For matchup analysis, get_h2h accepts two player names and returns participantAStats, participantBStats, an h2H array of historical results between the two, and matchDetails.

Common use cases
  • Build a live eBasketball scoreboard using get_live_games to poll current match scores and statuses.
  • Populate a daily fixture calendar by calling get_schedule with a days range to fetch upcoming games across multiple dates.
  • Display quarter-by-quarter box scores for completed matches using the period stat objects from get_match_stats.
  • Render play-by-play commentary feeds from the incidents array returned by get_match_timeline.
  • Show player career leaderboards sorted by avgPoints, matchesWinPct, or matchForm from the get_players endpoint.
  • Generate head-to-head preview cards for two players before a scheduled match using get_h2h career and H2H result data.
  • Track a specific player's recent form by reading the recent_games array from get_player_stats.
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 H2H GG League have an official developer API?+
H2H GG League does not publish an official public developer API or documented data feed at this time.
What does `get_match_stats` return for a live or upcoming match?+
It returns an empty stats array. Box score period data — quarter-1 through quarter-4 and end-match objects — is only populated once the match reaches matchStatus=MATCH_ENDED. Use get_live_games to track scores during play.
Does the API cover tournament brackets, league standings, or season-level tables?+
Not currently. The API covers per-game schedules, live scores, match stats, play-by-play timelines, and player career statistics. It does not expose tournament brackets or standings tables. You can fork this API on Parse and revise it to add an endpoint targeting that data.
How far back does `get_player_past_games` go, and is there pagination?+
The endpoint returns a recent set of completed games for the player without documented pagination parameters — the response includes a total_games integer but no offset or page controls. If you need deeper historical data beyond what the endpoint returns, you can fork the API on Parse and revise it to add pagination support.
Can I look up team-level stats independently of individual matches or players?+
Not currently. Team data appears as named fields (teamAName, teamBName) within match and player objects rather than as a standalone team-stats endpoint. You can fork this API on Parse and revise it to add a dedicated team statistics endpoint.
Page content last updated . Spec covers 9 endpoints from h2hggl.com.
Related APIs in SportsSee all →
hltv.org API
Access Counter-Strike esports data from HLTV.org including match results, player and team statistics, team rankings, upcoming match schedules, tournament information, and fantasy league data.
cba.sports.sina.com.cn API
Access comprehensive sports data including live game details, team information, player statistics rankings, schedules, and current round results. Track performances across teams and players while staying updated on upcoming matchups and real-time game outcomes.
fiba.basketball API
Track FIBA basketball games and scores by date, dive into game details, explore competition schedules, check world rankings, and search for the latest basketball news all in one place. Stay updated on international basketball with comprehensive data covering live games, team information, and competitive standings.
nhl.com API
Access data from nhl.com.
espn.com API
Get live scores, schedules, standings, teams, rosters, athlete profiles, game logs, and league news across major sports from ESPN.
nikeeyblscholastic.com API
Access comprehensive Nike EYBL Scholastic basketball league data including teams, player bios, schedules, standings, and detailed game box scores. Track team rosters, player statistics, and season performance across the entire league in one place.
csgostats.gg API
Track and analyze Counter-Strike 2 player performance with detailed statistics including weapon usage, match history, and head-to-head comparisons. Access global leaderboards, view recent matches, and discover which players you've competed against to benchmark your skills.
livescore.com API
Track live scores and detailed statistics across football, hockey, basketball, tennis, and cricket with the ability to filter by date, sport, and league. Access match summaries, team overviews, standings, fixtures, and results to stay updated on your favorite competitions and teams.