---
title: "Shot map"
method: POST
path: "/v1/get_shot_map"
tags: ["Multi-table"]
---

# Shot map

`POST /v1/get_shot_map`

## Request

- Base URL: `https://mcp.strikerapi.com`
- URL: `https://mcp.strikerapi.com/v1/get_shot_map`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Use for a shot map: a club's shots (or, with against, the shots it conceded), a player's, or one match's, for a season (default: the latest). Returns totals and zones (six-yard box, penalty area, outside the box, penalties) with goals, shots on target, xG and conversion, and every located shot with its x/y, end point, outcome and xG. Costs 10 credits.

## Request body

- object
  - `team` string: Club id, abbreviation or name.
  - `player` string: Player id (search_players).
  - `against` boolean: With team: the shots it conceded.
  - `season` union: Season by the year it starts (default: the latest).
    - number
    - string
  - `game_id` string: One match instead of a season.
  - `include_shots` boolean: false = totals and zones only.
  - `league` 'soccer' | 'mls' | 'laliga' | 'seriea' | 'bundesliga' | 'ligue1' | 'ucl' | 'championship' | 'nwsl' | 'ligamx' | 'uel' | 'uecl' | 'eredivisie' | 'primeira' | 'scotland' | 'brazil' | 'argentina': League. Defaults to soccer. One of: soccer, mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina.

## Response `200`

The result, wrapped in data.

- object
  - `data` object, required
    - `season` number, nullable, required
    - `zones` object[], required
    - `shots_total` number, required
    - `totals` object, required
    - `shots` object[]
    - `shots_note` string
    - `unlocated_shots` number
    - `note` string

## Other responses

- `400`: Invalid arguments.
- `401`: Missing or invalid API key.
- `402`: Not enough credits.
- `429`: Rate limited.

---

[API](https://skmtc.dev/strikerapi/apis/strikerapi-api.md) · [All operations](https://skmtc.dev/strikerapi/apis/strikerapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/strikerapi/apis/strikerapi-api/revisions/8a07a67ba056?raw)
