---
title: "FotMob league player or team statistics"
method: GET
path: "/fotmob/stats"
tags: ["FotMob"]
---

# FotMob league player or team statistics

`GET /fotmob/stats`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/fotmob/stats`
- Auth: API key in header `x-api-key`

Returns ranked player or team statistics for a stat id discovered from /fotmob/stats-categories. The accepted stat ids vary by league, season, and type. team_id optionally restricts player statistics to one team. position filters player results client-side.

## Query parameters

- `league_id` string, required
- `season_id` string
- `type` 'players' | 'teams', required
- `stat` string, required
- `team_id` string
- `position` 'all' | 'striker' | 'winger' | 'attackingMidfielder' | 'midfielder' | 'fullback' | 'centerBack'

## Headers

- `x-api-key` string, required

## Response `200`

OK

- FotmobResponseDoc
  - `code` integer
  - `data` FotmobSourceDataDoc
    - `data` object
    - `source_url` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `503`: Service Unavailable

---

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