Discover/cpbl.com.tw API
live

cpbl.com.tw APIcpbl.com.tw

Access CPBL game schedules, box scores, standings, player stats, and pitch-by-pitch play-by-play via 8 structured JSON endpoints. No scraping required.

Endpoints
8
Updated
14d ago
Try it
Year in YYYY format. Defaults to the current year.
Month in MM format (zero-padded). Defaults to the current month.
Game type code. Accepted values: A (Regular), B (All-Star), C (Postseason), G (Championshi
api.parse.bot/scraper/8d3d047b-7e60-446f-be5c-a8087c717d60/<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/8d3d047b-7e60-446f-be5c-a8087c717d60/get_schedule?year=2024&month=04&kind_code=A' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 8 totalclick to expand

Retrieve the CPBL game schedule for a given year and month. Returns an array of game objects including teams, scores, pitchers, and MVP information.

Input
ParamTypeDescription
yearstringYear in YYYY format. Defaults to the current year.
monthstringMonth in MM format (zero-padded). Defaults to the current month.
kind_codestringGame type code. Accepted values: A (Regular), B (All-Star), C (Postseason), G (Championship).
Response
{
  "type": "object",
  "fields": {
    "games": "array of game objects with fields like GameSno, GameDate, HomeTeamName, VisitingTeamName, HomeScore, VisitingScore, FieldAbbe, MvpName, WinningPitcherName, LoserPitcherName"
  },
  "sample": {
    "data": {
      "games": [
        {
          "Year": "2024",
          "GameSno": 1,
          "MvpName": "徐若熙",
          "GameDate": "2024-03-30T00:00:00",
          "KindCode": "A",
          "FieldAbbe": "大巨蛋",
          "HomeScore": 3,
          "HomeTeamName": "味全龍",
          "PresentStatus": 1,
          "VisitingScore": 2,
          "LoserPitcherName": "威能帝",
          "VisitingTeamName": "樂天桃猿",
          "WinningPitcherName": "徐若熙"
        }
      ]
    },
    "status": "success"
  }
}

About the cpbl.com.tw API

This API surfaces data from the Chinese Professional Baseball League (CPBL) across 8 endpoints, covering everything from season schedules and inning-by-inning box scores to pitch-level play-by-play logs. The get_box_score endpoint alone returns batting stats, pitching stats, and a full scoreboard for both teams in a single call. Player IDs retrieved via get_player_list flow directly into get_player_stats for historical season-by-season breakdowns.

Schedule and Game Results

The get_schedule endpoint accepts year, month, and a kind_code parameter that filters by game type — A for Regular Season, B for All-Star, C for Postseason, or G for Championship. Each game object in the response includes GameSno, team names, scores, field abbreviation, and the MVP of the game. The GameSno field is the key identifier used to query deeper game data.

Box Scores and Play-by-Play

get_box_score returns four stat arrays — batting_h, batting_v, pitching_h, pitching_v — along with a scoreboard array for inning-by-inning runs and a game_detail object with metadata. For live or completed games, get_game_text_feed returns a logs array of pitch-level entries, each including InningSeq, Content, PitcherName, HitterName, StrikeCnt, BallCnt, and Ou (outs). Both endpoints require a valid game_sno and optionally accept a kind_code.

Player Data and Statistics

get_player_list returns all active players with their acnt (a 10-digit zero-padded player ID), which is the required input for get_player_stats. That endpoint returns season-by-season records including Avg, HomeRunCnt, Obp, Slg, Ops, and StrikeOutCnt, filterable by stat_type — batting, pitching, or defence. The get_all_stats endpoint provides paginated league-wide rankings (up to 15 players per page) for batters (01) or pitchers (02), with column headers returned in Chinese.

Standings and News

get_standings returns the current season standings for all CPBL teams, with fields in Chinese covering win-loss-tie records, winning percentage, and games behind. get_news returns a flat array of league news objects, each with a title, publication date, and URL pointing to the official CPBL site. Neither endpoint accepts input parameters.

Common use cases
  • Build a CPBL score tracker that polls get_schedule each day and displays live game results with MVP data.
  • Render inning-by-inning box score tables for any completed game using batting_h, batting_v, and scoreboard from get_box_score.
  • Display pitch-by-pitch game logs in a live game viewer using get_game_text_feed with PitcherName, HitterName, and StrikeCnt.
  • Create player profile pages combining roster info from get_player_list with multi-season batting or pitching stats from get_player_stats.
  • Show leaderboard pages for CPBL batting average or ERA rankings using the paginated get_all_stats endpoint.
  • Embed a standings widget filtered by current Regular Season games using get_standings output.
  • Aggregate official CPBL news headlines and link back to source articles using get_news title and URL fields.
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 CPBL have an official developer API?+
CPBL does not publish a documented public developer API. The official site at cpbl.com.tw is consumer-facing only, with no publicly available API documentation or access portal.
How do I get a player's historical stats?+
First call get_player_list to retrieve each player's acnt value, a 10-digit zero-padded ID. Pass that acnt to get_player_stats along with an optional stat_type (batting, pitching, or defence) and kind_code to filter by game type. The response returns one stat object per season.
What game types can I filter by across these endpoints?+
Most endpoints accept a kind_code parameter with four values: A (Regular Season), B (All-Star), C (Postseason), and G (Championship). The get_standings and get_news endpoints do not accept any filter parameters.
Does the API return player biographical data such as birthdate, height, weight, or nationality?+
Not currently. get_player_list returns name, team, and acnt, while get_player_stats returns performance statistics per season. Biographical profile data is not included. You can fork this API on Parse and revise it to add an endpoint targeting CPBL player profile pages.
Are defensive statistics available beyond the `defence` stat_type in `get_player_stats`?+
The get_player_stats endpoint accepts stat_type=defence and returns season-level defensive data, but there is no dedicated endpoint for fielding leaders or positional defensive rankings league-wide. The get_all_stats endpoint covers only batter and pitcher rankings. You can fork this API on Parse and revise it to add a fielding leaderboard endpoint.
Page content last updated . Spec covers 8 endpoints from cpbl.com.tw.
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.