{"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":"0ff381c6-bc18-4c9d-8f9a-2cbd35265260","catalogType":"api","categories":["data"],"dataPlatform":"sofascore","dataPlatformLogoUrl":"https://api.sh/logos/sofascore.png","dataPlatformTranslations":{},"dataProduct":"sports","description":"Get SofaScore Event Detail via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by Apish, pass parameters such as event_id, output, raw, and retrieve structured data including sofaScore event identifier, status, scheduled kickoff timestamp, home team display name, and away team display name to render full match headers, power pre-match and post-match summaries, and anchor deeper match endpoints.","descriptionTranslations":{"ar":"احصل على تفاصيل مباراة SofaScore الكاملة عبر OpenAny REST لفحص الفريقين ونتائج الأشواط وحالة المباراة والملعب والحكم في طلب واحد. أرسل معرف الحدث أو رابط المباراة لاسترجاع بيانات الفريقين والبطولة والموسم وموعد الانطلاق وإحصاءات تصويت الجماهير بصيغة JSON.","ja":"OpenAny REST 経由で SofaScore の試合詳細を一括取得し、対戦チーム、ピリオド別スコア、試合ステータス、会場、審判情報を確認できます。イベント ID または試合リンクを指定すると、大会・シーズン情報、開始時刻、ファン投票集計まで JSON で返します。","zh":"通过 OpenAny REST 获取完整的 SofaScore 比赛详情，一次请求即可查看参赛球队、分节比分、比赛状态、场馆与裁判信息。传入赛事编号或比赛链接，即可获取主客队资料、联赛与赛季元数据、开赛时间及球迷投票统计的 JSON 数据。"},"effectContentHtml":"","executionMode":"sync","id":"02b9db1a-f85d-4b05-a318-e04d152df4c4","includedContentHtml":"","inputs":[{"description":"SofaScore event id or a match link (sofascore.com/football/match/liverpool-arsenal/HQfh#id:16363907). 16363907 = Liverpool v Arsenal, Premier League 26/27.","location":"query","name":"event_id","nullable":false,"required":true,"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 event detail API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eSofaScore Event Detail API\u003c/h2\u003e\n\u003cp\u003ePass event_id as a SofaScore numeric ID or match URL to retrieve full match metadata. The response includes home_team, away_team, score breakdowns, status, venue, referee, tournament, season and fan_votes.\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: event_id (SofaScore event ID or match URL). Optional: 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 event detail 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\u003eRender full match headers\u003c/strong\u003e: Display team logos, scores, kickoff time, venue capacity and referee info on a match center page.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003ePower pre-match and post-match summaries\u003c/strong\u003e: Combine winner, period score details and fan_votes for editorial match cards.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eAnchor deeper match endpoints\u003c/strong\u003e: Use event ID, team IDs and tournament ID from this payload to call line-ups, stats, odds and shot maps.\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\u003eid\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSofaScore event identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003estatus\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNormalized match status such as finished or inprogress\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003estart_time\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eScheduled kickoff timestamp\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ehome_team.name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eHome team display name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eaway_team.name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAway team display name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ehome_score\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCurrent or final home team score\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eaway_score\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCurrent or final away team score\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003evenue.name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eStadium or venue name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ereferee.name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAssigned match referee name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etournament.name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCompetition name for the event\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/event \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode event_id=16363907 \\\n  --data-urlencode output=json \\\n  --data-urlencode raw=0\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/02b9db1a-f85d-4b05-a318-e04d152df4c4\"\u003ePublished SofaScore Event Detail 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\u003eCan event_id be a SofaScore match URL?\u003c/h3\u003e\n\u003cp\u003eYes. You can pass either a numeric event ID such as 16363907 or a SofaScore match link.\u003c/p\u003e\n\u003ch3\u003eDoes this endpoint include period-by-period scores?\u003c/h3\u003e\n\u003cp\u003eYes. home_score_detail and away_score_detail provide period1, period2, normaltime, current and display scores.\u003c/p\u003e\n\u003ch3\u003eAre venue and referee fields always populated?\u003c/h3\u003e\n\u003cp\u003eThey are included when published on SofaScore; check for null or missing values on lower-tier or unscheduled fixtures.\u003c/p\u003e\n\u003ch3\u003eDoes Event Detail include line-ups or detailed match stats?\u003c/h3\u003e\n\u003cp\u003eNo. Call the SofaScore Event Line-ups API or Event Statistics API with the same event_id for those datasets.\u003c/p\u003e\n\u003ch3\u003eHow do I get live score updates without waiting for cache expiry?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1 to skip the 24-hour cache and fetch current upstream data.\u003c/p\u003e\n\u003ch3\u003eHow can I minimize JSON payload size?\u003c/h3\u003e\n\u003cp\u003ePass raw=0 to drop raw source blocks or use fields to return only selected top-level and nested 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-event-incidents-api\"\u003eSofaScore Event Incidents API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/sofascore/sofascore-event-line-ups-api\"\u003eSofaScore Event Line-ups API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/sofascore/sofascore-event-statistics-api\"\u003eSofaScore Event Statistics API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/sofascore/sofascore-event-detail-api?offering=02b9db1a-f85d-4b05-a318-e04d152df4c4","providerId":"apish","publicPath":"/v1/agent-apis/apish/sofascore/v1/event","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Live API.SH response · Minimal request","request":{"body":null,"headers":{},"path":{},"query":{"event_id":"16363907","output":"json","raw":"0"}},"response_body":{"away_score":1,"away_score_detail":{"current":1,"display":1,"normaltime":1,"period1":1,"period2":0},"away_team":{"code":"ARS","country":"England","id":42,"logo":"https://img.sofascore.com/api/v1/team/42/image","name":"Arsenal","short_name":"Arsenal","slug":"arsenal","url":"https://www.sofascore.com/football/team/arsenal/42"},"cached":false,"category":{"country_code":"EN","id":1,"name":"England"},"credits_used":1,"custom_id":"HQfh","fan_votes":{"bothTeamsToScoreVote":{"voteNo":2720,"voteYes":21520},"firstTeamToScoreVote":{"voteAway":9000,"voteHome":7652,"voteNoGoal":681},"vote":{"vote1":46940,"vote2":51824,"voteX":18875},"whoShouldHaveWonVote":{"vote1":0,"vote2":0}},"fetched_at":"2026-11-19T12:22:57.559Z","home_score":0,"home_score_detail":{"current":0,"display":0,"normaltime":0,"period1":0,"period2":0},"home_team":{"code":"LIV","country":"England","id":44,"logo":"https://img.sofascore.com/api/v1/team/44/image","name":"Liverpool FC","short_name":"Liverpool","slug":"liverpool","url":"https://www.sofascore.com/football/team/liverpool/44"},"id":16363907,"managers":{"away":{"id":794075,"name":"Mikel Arteta","shortName":"M. Arteta","slug":"mikel-arteta"},"home":{"id":790205,"name":"Andoni Iraola","shortName":"A. Iraola","slug":"andoni-iraola"}},"referee":{"country":"England","id":79884,"name":"Andy Madley"},"round":9,"season":{"id":96668,"name":"Premier League 26/27","year":"26/27"},"slug":"liverpool-fc-arsenal","sport":"football","start_time":"2026-11-01T16:30:00.000Z","status":"finished","status_code":100,"status_description":"Ended","tournament":{"id":17,"name":"Premier League","slug":"premier-league"},"url":"https://www.sofascore.com/football/match/liverpool-fc-arsenal/HQfh#id:16363907","venue":{"capacity":61276,"city":"Liverpool","country":"England","id":579,"name":"Anfield"},"winner":"away"}}],"seoDescription":"Get SofaScore Event Detail via REST or MCP powered by Apish. Pay per call, no subscription or proxies. Structured JSON output with one OpenAny API key.","updatedAt":"2026-12-03T02:55:24.256Z","usageInstructionsHtml":""}}