{"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":"2088ea95-f8ff-4112-bf80-b826cfc8a4df","catalogType":"api","categories":["data"],"dataPlatform":"sofascore","dataPlatformLogoUrl":"https://api.sh/logos/sofascore.png","dataPlatformTranslations":{},"dataProduct":"sports","description":"Get SofaScore Event Shot Map 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, count, is home, type, and situation for plot pitch shot maps, visualize goalkeeper shot-stopping, and build cumulative xg timelines.","descriptionTranslations":{"ar":"استرجع بيانات التسديدات المكانية من SofaScore عبر OpenAny REST لرسم إحداثيات الملعب والمرمى وجودة الأهداف المتوقعة. أرسل معرف الحدث أو رابط المباراة للحصول على الدقيقة واللاعب وجزء الجسم والحالة والنتيجة وقيم xG وxGOT بصيغة JSON منظمة.","ja":"OpenAny REST で SofaScore のシュート別空間データを取得し、ピッチ座標・ゴール枠座標・xG 品質を可視化できます。イベント ID または試合リンクを指定すると、時間、選手、部位、状況、結果、xG、xGOT を JSON で返します。","zh":"通过 OpenAny REST 获取 SofaScore 逐次射门空间数据，用于绘制球场射门坐标、球门落点及预期进球质量。传入赛事编号或比赛链接，即可获取每次射门的分钟、球员、部位、进攻场景、结果类型、xG 与 xGOT 的结构化 JSON 数据。"},"effectContentHtml":"","executionMode":"sync","id":"de69de1a-caa3-43c5-89c7-ec902362cbb4","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 shot map API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eSofaScore Event Shot Map API\u003c/h2\u003e\n\u003cp\u003ePass event_id as a SofaScore event ID or match link to retrieve the full match shot map. The shots[] array pairs pitch coordinates and goal_mouth_coordinates with player identity, minute, body_part, situation, type, xg and xgot.\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 shot map 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\u003ePlot pitch shot maps\u003c/strong\u003e: Use shots[].coordinates and shots[].type to draw interactive home-and-away shot charts.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eVisualize goalkeeper shot-stopping\u003c/strong\u003e: Map shots[].goal_mouth_coordinates and xgot to evaluate shot placement and saves.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eBuild cumulative xG timelines\u003c/strong\u003e: Sort shots[] by minute and added_time to compute running expected goals for each side.\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 shots recorded in the match\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eshots[].minute\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMatch minute of the shot attempt\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eshots[].is_home\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWhether the shot was taken by the home team\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eshots[].type\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eShot outcome such as goal, save, miss or block\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eshots[].body_part\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBody part used for the attempt\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eshots[].situation\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAttacking phase such as assisted, corner or fast-break\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eshots[].xg\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eExpected goals (xG) value for the shot\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eshots[].xgot\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eExpected goals on target (xGOT) value\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eshots[].coordinates.x\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNormalized pitch X coordinate for the shot origin\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/shotmap \\\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/de69de1a-caa3-43c5-89c7-ec902362cbb4\"\u003ePublished SofaScore Event Shot Map 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\u003eDoes this endpoint return both xG and xGOT?\u003c/h3\u003e\n\u003cp\u003eYes. Each shot record includes xg and xgot fields when available from SofaScore.\u003c/p\u003e\n\u003ch3\u003eAre goal-mouth coordinates included alongside pitch coordinates?\u003c/h3\u003e\n\u003cp\u003eYes. Each shot provides both coordinates (x, y, z on the pitch) and goal_mouth_coordinates plus goal_mouth_location.\u003c/p\u003e\n\u003ch3\u003eCan I pass a SofaScore match URL as event_id?\u003c/h3\u003e\n\u003cp\u003eYes. event_id accepts either a numeric ID or a SofaScore match link.\u003c/p\u003e\n\u003ch3\u003eHow do I separate home shots from away shots?\u003c/h3\u003e\n\u003cp\u003eCheck the boolean shots[].is_home field on each shot object.\u003c/p\u003e\n\u003ch3\u003eHow do I bypass cached shot data for a live match?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1 to skip the 24-hour cache and fetch current upstream data.\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 source 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-event-statistics-api\"\u003eSofaScore Event Statistics 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-detail-api\"\u003eSofaScore Event Detail API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/sofascore/sofascore-event-shot-map-api?offering=de69de1a-caa3-43c5-89c7-ec902362cbb4","providerId":"apish","publicPath":"/v1/agent-apis/apish/sofascore/v1/event/shotmap","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":27,"credits_used":1,"event_id":16363907,"fetched_at":"2026-11-19T12:23:01.948Z","shots":[{"added_time":2,"body_part":"right-foot","coordinates":{"x":10.1,"y":39.1,"z":0},"goal_mouth_coordinates":{"x":0,"y":58,"z":1.4},"goal_mouth_location":"close-left","is_home":true,"minute":90,"player":{"id":996952,"name":"Bradley Barcola"},"situation":"assisted","type":"miss","xg":0.074457429349422,"xgot":0},{"added_time":1,"body_part":"right-foot","coordinates":{"x":14.1,"y":62.8,"z":0},"goal_mouth_coordinates":{"x":0,"y":48.8,"z":19},"goal_mouth_location":"low-centre","is_home":true,"minute":90,"player":{"id":1881902,"name":"Rio Ngumoha"},"situation":"assisted","type":"block","xg":0.053280189633369,"xgot":0},{"added_time":1,"body_part":"right-foot","coordinates":{"x":10.2,"y":70.1,"z":0},"goal_mouth_coordinates":{"x":0,"y":53.1,"z":19},"goal_mouth_location":"low-left","is_home":true,"minute":90,"player":{"id":1145642,"name":"Víctor Muñoz"},"situation":"assisted","type":"block","xg":0.020194323733449,"xgot":0},{"added_time":null,"body_part":"left-foot","coordinates":{"x":13.5,"y":73,"z":0},"goal_mouth_coordinates":{"x":0,"y":51.8,"z":19},"goal_mouth_location":"low-left","is_home":true,"minute":87,"player":{"id":1881902,"name":"Rio Ngumoha"},"situation":"assisted","type":"block","xg":0.02746863476932,"xgot":0},{"added_time":null,"body_part":"right-foot","coordinates":{"x":4.8,"y":43.8,"z":0},"goal_mouth_coordinates":{"x":0,"y":51.9,"z":19},"goal_mouth_location":"low-left","is_home":true,"minute":77,"player":{"id":925097,"name":"Ronald Araújo"},"situation":"assisted","type":"block","xg":0.17625431716442,"xgot":0},{"added_time":null,"body_part":"right-foot","coordinates":{"x":30.2,"y":46,"z":0},"goal_mouth_coordinates":{"x":0,"y":50.3,"z":19},"goal_mouth_location":"low-centre","is_home":true,"minute":75,"player":{"id":151545,"name":"Virgil van Dijk"},"situation":"assisted","type":"block","xg":0.018365511670709,"xgot":0},{"added_time":null,"body_part":"left-foot","coordinates":{"x":4,"y":61.5,"z":0},"goal_mouth_coordinates":{"x":0,"y":61.7,"z":29.2},"goal_mouth_location":"left","is_home":false,"minute":74,"player":{"id":1423711,"name":"Myles Lewis-Skelly"},"situation":"corner","type":"miss","xg":0.042960323393345,"xgot":0},{"added_time":null,"body_part":"right-foot","coordinates":{"x":14.8,"y":33.3,"z":0},"goal_mouth_coordinates":{"x":0,"y":47,"z":1.3},"goal_mouth_location":"low-right","is_home":false,"minute":73,"player":{"id":1031259,"name":"Christos Tzolis"},"situation":"assisted","type":"save","xg":0.032865907996893,"xgot":0.35824006795883},{"added_time":null,"body_part":"right-foot","coordinates":{"x":25.1,"y":69.1,"z":0},"goal_mouth_coordinates":{"x":0,"y":51.8,"z":19},"goal_mouth_location":"low-left","is_home":false,"minute":71,"player":{"id":958959,"name":"Jurriën Timber"},"situation":"assisted","type":"block","xg":0.024195745587349,"xgot":0},{"added_time":null,"body_part":"right-foot","coordinates":{"x":14.5,"y":54.4,"z":0},"goal_mouth_coordinates":{"x":0,"y":49.6,"z":19},"goal_mouth_location":"low-centre","is_home":true,"minute":66,"player":{"id":1019322,"name":"Florian Wirtz"},"situation":"fast-break","type":"block","xg":0.17826491594315,"xgot":0},{"added_time":null,"body_part":"left-foot","coordinates":{"x":24.8,"y":66,"z":0},"goal_mouth_coordinates":{"x":0,"y":52.3,"z":19},"goal_mouth_location":"low-left","is_home":false,"minute":65,"player":{"id":966547,"name":"Noni Madueke"},"situation":"assisted","type":"block","xg":0.02624748274684,"xgot":0},{"added_time":null,"body_part":"left-foot","coordinates":{"x":7,"y":31.7,"z":0},"goal_mouth_coordinates":{"x":0,"y":61.5,"z":61.1},"goal_mouth_location":"high-left","is_home":true,"minute":56,"player":{"id":823941,"name":"Alexander Isak"},"situation":"assisted","type":"miss","xg":0.031192446127534,"xgot":0},{"added_time":null,"body_part":"right-foot","coordinates":{"x":15.3,"y":72,"z":0},"goal_mouth_coordinates":{"x":0,"y":65.2,"z":5.6},"goal_mouth_location":"left","is_home":false,"minute":55,"player":{"id":866469,"name":"Bruno Guimarães"},"situation":"assisted","type":"miss","xg":0.046916704624891,"xgot":0},{"added_time":null,"body_part":"left-foot","coordinates":{"x":14.5,"y":48.7,"z":0},"goal_mouth_coordinates":{"x":0,"y":52.6,"z":19},"goal_mouth_location":"low-left","is_home":true,"minute":54,"player":{"id":1019322,"name":"Florian Wirtz"},"situation":"regular","type":"block","xg":0.064600422978401,"xgot":0},{"added_time":1,"body_part":"right-foot","coordinates":{"x":24.3,"y":53.6,"z":0},"goal_mouth_coordinates":{"x":0,"y":49.6,"z":19},"goal_mouth_location":"low-centre","is_home":false,"minute":45,"player":{"id":856714,"name":"Declan Rice"},"situation":"assisted","type":"block","xg":0.046686161309481,"xgot":0},{"added_time":null,"body_part":"head","coordinates":{"x":8.8,"y":49.7,"z":0},"goal_mouth_coordinates":{"x":0,"y":50.6,"z":58.3},"goal_mouth_location":"close-high","is_home":true,"minute":43,"player":{"id":895324,"name":"Alexis Mac Allister"},"situation":"assisted","type":"miss","xg":0.098318032920361,"xgot":0},{"added_time":null,"body_part":"right-foot","coordinates":{"x":13.3,"y":18.2,"z":0},"goal_mouth_coordinates":{"x":0,"y":46.8,"z":39.2},"goal_mouth_location":"high","is_home":true,"minute":39,"player":{"id":1019322,"name":"Florian Wirtz"},"situation":"free-kick","type":"post","xg":0.039593737572432,"xgot":0},{"added_time":null,"body_part":"left-foot","coordinates":{"x":13.3,"y":35.4,"z":0},"goal_mouth_coordinates":{"x":0,"y":58.2,"z":16.7},"goal_mouth_location":"close-left","is_home":true,"minute":36,"player":{"id":823941,"name":"Alexander Isak"},"situation":"assisted","type":"miss","xg":0.051800057291985,"xgot":0},{"added_time":null,"body_part":"right-foot","coordinates":{"x":21.8,"y":75,"z":0},"goal_mouth_coordinates":{"x":0,"y":40.3,"z":4.2},"goal_mouth_location":"right","is_home":true,"minute":33,"player":{"id":895324,"name":"Alexis Mac Allister"},"situation":"regular","type":"miss","xg":0.015836240723729,"xgot":0},{"added_time":null,"body_part":"left-foot","coordinates":{"x":14.1,"y":49.9,"z":0},"goal_mouth_coordinates":{"x":0,"y":61.7,"z":16.7},"goal_mouth_location":"left","is_home":true,"minute":31,"player":{"id":1097425,"name":"Miloš Kerkez"},"situation":"fast-break","type":"miss","xg":0.11744922399521,"xgot":0},{"added_time":null,"body_part":"head","coordinates":{"x":12.5,"y":59.3,"z":0},"goal_mouth_coordinates":{"x":0,"y":52.4,"z":19},"goal_mouth_location":"low-left","is_home":true,"minute":28,"player":{"id":925097,"name":"Ronald Araújo"},"situation":"corner","type":"block","xg":0.0094715440645814,"xgot":0},{"added_time":null,"body_part":"head","coordinates":{"x":10.5,"y":52.8,"z":0},"goal_mouth_coordinates":{"x":0,"y":57,"z":5.6},"goal_mouth_location":"close-left","is_home":true,"minute":27,"player":{"id":151545,"name":"Virgil van Dijk"},"situation":"corner","type":"miss","xg":0.028908444568515,"xgot":0},{"added_time":null,"body_part":"right-foot","coordinates":{"x":11.3,"y":61.1,"z":0},"goal_mouth_coordinates":{"x":0,"y":52.6,"z":19},"goal_mouth_location":"low-left","is_home":true,"minute":27,"player":{"id":862967,"name":"Cody Gakpo"},"situation":"set-piece","type":"block","xg":0.042235858738422,"xgot":0},{"added_time":null,"body_part":"right-foot","coordinates":{"x":15.8,"y":64.6,"z":0},"goal_mouth_coordinates":{"x":0,"y":48.1,"z":1.9},"goal_mouth_location":"low-right","is_home":false,"minute":25,"player":{"id":856714,"name":"Declan Rice"},"situation":"assisted","type":"save","xg":0.055167175829411,"xgot":0.095440052449703},{"added_time":null,"body_part":"right-foot","coordinates":{"x":14.4,"y":69.9,"z":0},"goal_mouth_coordinates":{"x":0,"y":60.8,"z":2.8},"goal_mouth_location":"left","is_home":false,"minute":24,"player":{"id":866469,"name":"Bruno Guimarães"},"situation":"assisted","type":"miss","xg":0.047918986529112,"xgot":0},{"added_time":null,"body_part":"left-foot","coordinates":{"x":3.7,"y":44.5,"z":0},"goal_mouth_coordinates":{"x":0,"y":52.8,"z":5.1},"goal_mouth_location":"low-left","is_home":false,"minute":16,"player":{"id":836705,"name":"Kai Havertz"},"situation":"assisted","type":"goal","xg":0.64013540744781,"xgot":0.9895099401474},{"added_time":null,"body_part":"right-foot","coordinates":{"x":25.6,"y":31.1,"z":0},"goal_mouth_coordinates":{"x":0,"y":36,"z":95.8},"goal_mouth_location":"high-right","is_home":false,"minute":15,"player":{"id":856714,"name":"Declan Rice"},"situation":"assisted","type":"miss","xg":0.021672690287232,"xgot":0}]}}],"seoDescription":"Get SofaScore Event Shot Map data via REST or MCP powered by Apish. Pay per call, no subscription or proxies. Built for plot pitch shot maps workflows.","updatedAt":"2026-12-03T02:55:24.654Z","usageInstructionsHtml":""}}