Team expected goals totals, shotmaps with coordinates and results for every shot, and momentum for detailed match analysis.
xG (expected goals) is the probability that a shot becomes a goal, based on position, body part, situation and goalkeeper position. Values range from 0 to 1: penalties have high xG; shots from tight angles have low xG.
x, y, side, minute and result — shot_type: goal, save, miss, block, postmomentum field in the event response shows when each team was creating pressuretrajectory — its flight path, and goal_mouth_xy — its goalmouth position. Enough to visualise the full shot rather than just a dotCalculated by the Scoraline xG model for match #11220580, Russian Premier League, 2 August 2026. Each shot receives an xg and xgot value based on coordinates, goalmouth angle, body part and situation.
Three product types where xG helps users understand matches.
Automatically display in the match card:
«xG 0.8:2.6 — Fakel Voronezh created more chances but lost 2:3» — match #11220580 from the Scoraline database.
Historical xG helps assess team quality beyond the final score. A foundation for rating models and recommendation systems.
xG reduces the effect of luck: in match #11220580 Fakel Voronezh created 2.6 xG versus 0.8 for Krasnodar, but lost 2:3 despite creating better chances. Use it to assess underpriced and overpriced outcomes over a longer period.
Shotmaps have a dedicated endpoint. Team xG totals are included in match statistics in the full event response. Pass the key in a header; query-string keys are not accepted.
totals summary for each sidestatistics (including match and half-by-half xG), shotmap, momentum — a pressure curve, not xGx-api-keyrequired request header. Without it the response is 401Neither endpoint requires additional parameters. The complete shotmap for both sides is returned, sorted by minute.
$ curl -H "x-api-key: …" \ api.scoraline.com/v1/event/11220580/shotmap { "event_id": 11220580, "available": true, "count": 24, "totals": { "home": { "shots": 11, "goals": 3, "xg": 0.80 }, "away": { "shots": 13, "goals": 2, "xg": 2.60 } }, "shots": [ { "is_home": true, "player_name": "Jubal", "time": 4, "shot_type": "goal", "situation": "set-piece", "body_part": "head", "goal_mouth_location": "high-right", "xg": 0.10, "xgot": 0.15, "x": 9.9, "y": 54.9, "goal_mouth_y": 47.2, "goal_mouth_z": 24.7 } // … another 23 shots ] }
#11220580: Scoraline's model calculates xg and xgot for every shot and aggregates team totals.xg.Free trial access. Open documentation and Soporte técnico directo.
Respondemos en 1 día hábil. El acceso de prueba es gratuito.
We will reply to
within one business day.