{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"00f97df0-bd89-4f26-9feb-1a0eacfc99be","catalogType":"api","categories":["data"],"dataPlatform":"sofascore","dataPlatformLogoUrl":"https://api.sh/logos/sofascore.png","dataPlatformTranslations":{},"dataProduct":"sports","description":"Get SofaScore Tournament Rounds data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by Apish, pass parameters such as output, raw, tournament_id, and retrieve structured data including requested SofaScore unique-tournament ID and resolved season identifier to build matchweek dropdowns, chain into round fixture lookups, and track season progress.","descriptionTranslations":{"ar":"اعرض جميع الجولات والجولة النشطة حاليا لبطولة على SofaScore عبر OpenAny REST لتشغيل محددات الجولات واستعلامات المباريات. أرسل معرف البطولة مع معرف الموسم اختياريا للحصول على رقم الجولة الحالية وإجمالي الجولات ومصفوفة الجولات بصيغة JSON.","ja":"OpenAny REST で SofaScore 大会の全ラウンド一覧と現在の節を取得し、節セレクターや試合検索に活用できます。大会 ID と任意のシーズン ID を指定すると、現在のラウンド番号、総数、全ラウンド配列を JSON で返します。","zh":"通过 OpenAny REST 获取 SofaScore 联赛或杯赛的全部轮次列表及当前进行轮次，用于驱动轮次选择器与按轮次赛程查询。传入联赛编号及可选赛季编号，即可获取当前轮次号、总轮次数与完整轮次数组，以 JSON 直接对接联赛赛程接口。"},"effectContentHtml":"","executionMode":"sync","id":"d5453f0d-deac-485c-913f-b505693068b3","includedContentHtml":"","inputs":[{"description":"SofaScore unique-tournament id or a tournament link (sofascore.com/football/tournament/england/premier-league/17). 17 = Premier League.","location":"query","name":"tournament_id","nullable":false,"required":true,"type":"string"},{"description":"Season id from `/sofascore/v1/tournament` (default: the current season).","location":"query","name":"season_id","nullable":false,"required":false,"type":"string"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/sofascore.png","method":"GET","name":"SofaScore tournament rounds API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eSofaScore Tournament Rounds API\u003c/h2\u003e\n\u003cp\u003ePass tournament_id and optional season_id (default current season) to retrieve the competition\u0026#39;s round index. The response returns current_round, count and the rounds[] array so clients can request exact matchweeks from Tournament Matches.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired query: tournament_id (SofaScore unique-tournament ID or tournament URL). Optional: season_id, raw=0, fields, fresh=1, output=json.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · SofaScore tournament rounds API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eBuild matchweek dropdowns\u003c/strong\u003e: Populate round selectors from rounds[] and pre-select current_round.round.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eChain into round fixture lookups\u003c/strong\u003e: Pass rounds[].round directly as the round query parameter in the Tournament Matches API.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eTrack season progress\u003c/strong\u003e: Compare current_round.round against count to display how far a league campaign has progressed.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etournament_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRequested SofaScore unique-tournament ID\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eseason_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eResolved season identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecount\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTotal number of rounds in the season\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecurrent_round.round\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCurrently active matchweek or round number\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erounds[].round\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRound number available in the season\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecached\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWhether the response was served from cache\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003efetched_at\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTimestamp when the payload was fetched\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecredits_used\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eUpstream credits consumed for the call\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/sofascore/v1/tournament/rounds \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode output=json \\\n  --data-urlencode raw=0 \\\n  --data-urlencode tournament_id=17\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/d5453f0d-deac-485c-913f-b505693068b3\"\u003ePublished SofaScore Tournament Rounds API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eHow do I know which round is currently active?\u003c/h3\u003e\n\u003cp\u003eRead current_round.round from the response to identify the active matchweek.\u003c/p\u003e\n\u003ch3\u003eHow do I query rounds for a past season?\u003c/h3\u003e\n\u003cp\u003ePass a historical season_id obtained from the SofaScore Tournament API.\u003c/p\u003e\n\u003ch3\u003eCan tournament_id be a SofaScore tournament URL?\u003c/h3\u003e\n\u003cp\u003eYes. Pass either a numeric unique-tournament ID such as 17 or a SofaScore tournament link.\u003c/p\u003e\n\u003ch3\u003eDoes this endpoint return the matches inside each round?\u003c/h3\u003e\n\u003cp\u003eNo. Pass a round number from rounds[] into the SofaScore Tournament Matches API to list its fixtures.\u003c/p\u003e\n\u003ch3\u003eHow do I refresh current_round right when a new matchweek starts?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1 to skip the 24-hour cache.\u003c/p\u003e\n\u003ch3\u003eCan I trim payload size or export CSV?\u003c/h3\u003e\n\u003cp\u003eOutput is JSON only. Pass raw=0 to omit raw blocks or use fields to select specific keys.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/sofascore/sofascore-tournament-matches-api\"\u003eSofaScore Tournament Matches API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/sofascore/sofascore-tournament-api\"\u003eSofaScore Tournament API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/sofascore/sofascore-standings-api\"\u003eSofaScore Standings API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/sofascore/sofascore-tournament-rounds-api?offering=d5453f0d-deac-485c-913f-b505693068b3","providerId":"apish","publicPath":"/v1/agent-apis/apish/sofascore/v1/tournament/rounds","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Live API.SH response · Minimal request","request":{"body":null,"headers":{},"path":{},"query":{"output":"json","raw":"0","tournament_id":"17"}},"response_body":{"cached":false,"count":38,"credits_used":1,"current_round":{"round":11},"fetched_at":"2026-11-19T12:23:16.075Z","rounds":[{"round":1},{"round":2},{"round":3},{"round":4},{"round":5},{"round":6},{"round":7},{"round":8},{"round":9},{"round":10},{"round":11},{"round":12},{"round":13},{"round":14},{"round":15},{"round":16},{"round":17},{"round":18},{"round":19},{"round":20},{"round":21},{"round":22},{"round":23},{"round":24},{"round":25},{"round":26},{"round":27},{"round":28},{"round":29},{"round":30},{"round":31},{"round":32},{"round":33},{"round":34},{"round":35},{"round":36},{"round":37},{"round":38}],"season_id":96668,"tournament_id":17}}],"seoDescription":"Get SofaScore Tournament Rounds data via REST or MCP powered by Apish. Pay per call, no subscription or proxies. Designed to build matchweek dropdowns.","updatedAt":"2026-12-03T02:39:26.294Z","usageInstructionsHtml":""}}