{"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":"93ea2efa-2927-4b0f-b6f0-d261445fa43c","catalogType":"api","categories":["data"],"dataPlatform":"sofascore","dataPlatformLogoUrl":"https://api.sh/logos/sofascore.png","dataPlatformTranslations":{},"dataProduct":"sports","description":"Get SofaScore Event Incidents data 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 requested SofaScore event identifier, type, and is home to build live match timelines, track goal and assist contributions, and audit substitution timing.","descriptionTranslations":{"ar":"استرجع أحداث مباراة SofaScore بترتيب زمني عبر OpenAny REST لإعادة بناء الأهداف والتمريرات الحاسمة والبطاقات والتبديلات وفواصل الأشواط. أرسل معرف الحدث أو رابط المباراة للحصول على جدول زمني منظم بالدقائق والوقت بدل الضائع والنتيجة الجارية واللاعبين بصيغة JSON.","ja":"OpenAny REST で SofaScore の試合インシデントを時系列取得し、ゴール、アシスト、カード、選手交代、ピリオド区切りを再現できます。イベント ID または試合リンクを指定すると、時間、アディショナルタイム、経過スコア、関係選手と詳細テキストを JSON で返します。","zh":"通过 OpenAny REST 获取按时间排列的 SofaScore 比赛事件流，还原进球、助攻、红黄牌、换人及赛段节点。传入赛事编号或比赛链接，即可获取包含比赛分钟、补时、实时比分、涉事球员及事件说明的结构化 JSON 时间线。"},"effectContentHtml":"","executionMode":"sync","id":"1e1b308f-b1a3-4f9c-8ecd-831e7b927f07","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 incidents API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eSofaScore Event Incidents API\u003c/h2\u003e\n\u003cp\u003eSupply event_id as a SofaScore event ID or match URL to pull the full incident timeline. Each entry in incidents[] records type, class, minute, added_time, running home_score and away_score, plus player, assist, player_in, player_out and reason where applicable.\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 incidents 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 live match timelines\u003c/strong\u003e: Render chronological goal, card, VAR and substitution feeds directly from incidents[].\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eTrack goal and assist contributions\u003c/strong\u003e: Filter incidents[] where type is goal to extract scorers, assists and stoppage-time strikes.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eAudit substitution timing\u003c/strong\u003e: Inspect player_in, player_out and minute fields to analyze tactical changes.\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\u003eevent_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRequested SofaScore event 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 incident entries returned\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eincidents[].type\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eIncident category such as goal, card, substitution or period\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eincidents[].minute\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMatch minute when the incident occurred\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eincidents[].added_time\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eStoppage time minutes if applicable\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eincidents[].is_home\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBoolean indicating whether the incident belongs to the home side\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eincidents[].home_score\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRunning home score after the incident\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eincidents[].away_score\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRunning away score after the incident\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eincidents[].player\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrimary player involved in the incident\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eincidents[].text\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eShort incident label or period marker text\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/incidents \\\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/1e1b308f-b1a3-4f9c-8ecd-831e7b927f07\"\u003ePublished SofaScore Event Incidents 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\u003eWhat incident types appear in incidents[]?\u003c/h3\u003e\n\u003cp\u003eCommon entries include goals, cards, substitutions, injury time and period markers, with fields populated according to each incident type.\u003c/p\u003e\n\u003ch3\u003eDoes event_id accept a SofaScore match URL?\u003c/h3\u003e\n\u003cp\u003eYes. Provide either a numeric event ID or a full SofaScore match URL.\u003c/p\u003e\n\u003ch3\u003eAre assists and substitution pairs included?\u003c/h3\u003e\n\u003cp\u003eYes. Goal incidents can include assist details, and substitution entries include player_in and player_out.\u003c/p\u003e\n\u003ch3\u003eHow are stoppage-time events represented?\u003c/h3\u003e\n\u003cp\u003eEvents in stoppage time include both minute (such as 45 or 90) and added_time.\u003c/p\u003e\n\u003ch3\u003eHow do I get fresh incidents during an ongoing match?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1 to skip the 24-hour cache and pull live incident updates.\u003c/p\u003e\n\u003ch3\u003eCan I trim bulky response fields?\u003c/h3\u003e\n\u003cp\u003eYes. Pass raw=0 to omit raw source blocks or specify a comma-separated fields list; output is JSON only.\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-detail-api\"\u003eSofaScore Event Detail API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/sofascore/sofascore-attack-momentum-api\"\u003eSofaScore Attack Momentum 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\u003c/ul\u003e\n","pagePath":"/markets/apis/sofascore/sofascore-event-incidents-api?offering=1e1b308f-b1a3-4f9c-8ecd-831e7b927f07","providerId":"apish","publicPath":"/v1/agent-apis/apish/sofascore/v1/event/incidents","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":{"cached":false,"count":22,"credits_used":1,"event_id":16363907,"fetched_at":"2026-11-19T12:22:59.475Z","incidents":[{"added_time":999,"assist":null,"away_score":1,"class":null,"home_score":0,"is_home":null,"length":null,"minute":90,"player":null,"player_in":null,"player_out":null,"reason":null,"text":"FT","type":"period"},{"added_time":7,"assist":null,"away_score":null,"class":"yellow","home_score":null,"is_home":true,"length":null,"minute":90,"player":{"id":151545,"name":"Virgil van Dijk"},"player_in":null,"player_out":null,"reason":"Argument","text":null,"type":"card"},{"added_time":3,"assist":null,"away_score":null,"class":"yellow","home_score":null,"is_home":false,"length":null,"minute":90,"player":{"id":581310,"name":"David Raya"},"player_in":null,"player_out":null,"reason":"Time wasting","text":null,"type":"card"},{"added_time":0,"assist":null,"away_score":null,"class":null,"home_score":null,"is_home":null,"length":6,"minute":90,"player":null,"player_in":null,"player_out":null,"reason":null,"text":null,"type":"injuryTime"},{"added_time":null,"assist":null,"away_score":null,"class":"regular","home_score":null,"is_home":false,"length":null,"minute":88,"player":null,"player_in":{"id":592010,"name":"Mikel Merino"},"player_out":{"id":547410,"name":"Martin Ødegaard"},"reason":null,"text":null,"type":"substitution"},{"added_time":null,"assist":null,"away_score":null,"class":"regular","home_score":null,"is_home":false,"length":null,"minute":84,"player":null,"player_in":{"id":804508,"name":"Viktor Gyökeres"},"player_out":{"id":836705,"name":"Kai Havertz"},"reason":null,"text":null,"type":"substitution"},{"added_time":null,"assist":null,"away_score":null,"class":"regular","home_score":null,"is_home":false,"length":null,"minute":84,"player":null,"player_in":{"id":1002837,"name":"Piero Hincapié"},"player_out":{"id":1031259,"name":"Christos Tzolis"},"reason":null,"text":null,"type":"substitution"},{"added_time":null,"assist":null,"away_score":null,"class":"regular","home_score":null,"is_home":true,"length":null,"minute":81,"player":null,"player_in":{"id":1403111,"name":"Lewis Koumas"},"player_out":{"id":1019322,"name":"Florian Wirtz"},"reason":null,"text":null,"type":"substitution"},{"added_time":null,"assist":null,"away_score":null,"class":"regular","home_score":null,"is_home":true,"length":null,"minute":81,"player":null,"player_in":{"id":1145642,"name":"Víctor Muñoz"},"player_out":{"id":925097,"name":"Ronald Araújo"},"reason":null,"text":null,"type":"substitution"},{"added_time":null,"assist":null,"away_score":null,"class":"regular","home_score":null,"is_home":true,"length":null,"minute":81,"player":null,"player_in":{"id":786259,"name":"Kostas Tsimikas"},"player_out":{"id":1097425,"name":"Miloš Kerkez"},"reason":null,"text":null,"type":"substitution"},{"added_time":null,"assist":null,"away_score":null,"class":"yellow","home_score":null,"is_home":false,"length":null,"minute":80,"player":{"id":958959,"name":"Jurriën Timber"},"player_in":null,"player_out":null,"reason":"Argument","text":null,"type":"card"},{"added_time":null,"assist":null,"away_score":null,"class":"yellow","home_score":null,"is_home":true,"length":null,"minute":80,"player":{"id":895324,"name":"Alexis Mac Allister"},"player_in":null,"player_out":null,"reason":"Argument","text":null,"type":"card"},{"added_time":null,"assist":null,"away_score":null,"class":"yellow","home_score":null,"is_home":false,"length":null,"minute":72,"player":{"id":1423711,"name":"Myles Lewis-Skelly"},"player_in":null,"player_out":null,"reason":"Foul","text":null,"type":"card"},{"added_time":null,"assist":null,"away_score":null,"class":"regular","home_score":null,"is_home":true,"length":null,"minute":67,"player":null,"player_in":{"id":1881902,"name":"Rio Ngumoha"},"player_out":{"id":862967,"name":"Cody Gakpo"},"reason":null,"text":null,"type":"substitution"},{"added_time":null,"assist":null,"away_score":null,"class":"yellow","home_score":null,"is_home":true,"length":null,"minute":67,"player":{"id":1097425,"name":"Miloš Kerkez"},"player_in":null,"player_out":null,"reason":"Foul","text":null,"type":"card"},{"added_time":null,"assist":null,"away_score":null,"class":"regular","home_score":null,"is_home":false,"length":null,"minute":62,"player":null,"player_in":{"id":1423711,"name":"Myles Lewis-Skelly"},"player_out":{"id":866469,"name":"Bruno Guimarães"},"reason":null,"text":null,"type":"substitution"},{"added_time":null,"assist":null,"away_score":null,"class":"regular","home_score":null,"is_home":true,"length":null,"minute":58,"player":null,"player_in":{"id":869856,"name":"Dominik Szoboszlai"},"player_out":{"id":1445945,"name":"Trey Nyoni"},"reason":null,"text":null,"type":"substitution"},{"added_time":null,"assist":null,"away_score":null,"class":"yellow","home_score":null,"is_home":false,"length":null,"minute":55,"player":{"id":966547,"name":"Noni Madueke"},"player_in":null,"player_out":null,"reason":"Foul","text":null,"type":"card"},{"added_time":999,"assist":null,"away_score":1,"class":null,"home_score":0,"is_home":null,"length":null,"minute":45,"player":null,"player_in":null,"player_out":null,"reason":null,"text":"HT","type":"period"},{"added_time":3,"assist":null,"away_score":null,"class":"yellow","home_score":null,"is_home":true,"length":null,"minute":45,"player":{"id":996952,"name":"Bradley Barcola"},"player_in":null,"player_out":null,"reason":"Foul","text":null,"type":"card"},{"added_time":0,"assist":null,"away_score":null,"class":null,"home_score":null,"is_home":null,"length":2,"minute":45,"player":null,"player_in":null,"player_out":null,"reason":null,"text":null,"type":"injuryTime"},{"added_time":null,"assist":{"id":856714,"name":"Declan Rice"},"away_score":1,"class":"regular","home_score":0,"is_home":false,"length":null,"minute":16,"player":{"id":836705,"name":"Kai Havertz"},"player_in":null,"player_out":null,"reason":null,"text":null,"type":"goal"}]}}],"seoDescription":"Get SofaScore Event Incidents data via REST or MCP powered by Apish. Pay per call, no subscription or proxies. Designed to build live match timelines.","updatedAt":"2026-12-03T02:55:24.334Z","usageInstructionsHtml":""}}