Skip to main content
GET
Athlete Chart Events

Endpoint

Overview

Retrieves comprehensive shot and goal event data for a specific athlete, including expected goals (xG), shot positions, goal zones, and penalty conversion statistics. This endpoint is ideal for building player performance visualizations, shot maps, and detailed attacking analytics.

Query Parameters

Parameters like appTypeId, langId, timezoneName, and userCountryId are auto-resolved based on request context.

Request Examples

Response Structure

Response Fields

Chart Events Object

Event Object

Outcome Object

Outcome Types

Goal Zones

Common goal zone descriptions:
  • Low Left - Bottom left corner
  • Low Right - Bottom right corner
  • Low Centre - Low center of goal
  • High Left - Top left corner
  • High Right - Top right corner
  • High Centre - Top center of goal

Use Cases

  1. Shot Maps: Use line and side coordinates to plot shots on a pitch visualization
  2. Goal Zone Heatmaps: Use goalDescription and outcome to show where players aim
  3. xG Analysis: Calculate total xG vs actual goals for finishing analysis
  4. Penalty Statistics: Display penalty conversion rates
  5. Body Part Analysis: Show which foot/header the player favors
  6. Match Context: Link events to specific games for detailed breakdowns

Example: Calculate Player xG Performance

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Query Parameters

athletes
integer
required

Athlete ID to fetch chart events for

Example:

874

Response

Athlete chart events retrieved successfully

chartEvents
object[]

Chart events data for the athlete

athletes
array

Athlete information

games
array

Referenced games

competitions
array

Referenced competitions

Last modified on June 29, 2026