---
title: "Get available sports from Stats Perform"
method: GET
path: "/api/stats/mappings/sports"
tags: ["Stats"]
---

# Get available sports from Stats Perform

`GET /api/stats/mappings/sports`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/stats/mappings/sports`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/stats/mappings/sports/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of sports available from the Stats Perform API, optionally filtered by API type

## Request body

- StatsMappingsSportsRequest: Request schema for filtering stats perform requests by api type
  - `api` 'stats_api' | 'sdapi', nullable: Filter mappings by StatsPerform API type

## Response `200`

List of stats perform mappings with the sports fields filled

- StatsMappingDto[]
  - `id` integer: Unique identifier for the mapping
  - `statsSport` string: Name of the sport in Stats Perform system
  - `statsSportId` integer: Numeric ID of the sport in Stats Perform system
  - `statsLeagueAbbreviation` string, nullable: League abbreviation in Stats Perform system
  - `statsLeagueName` string, nullable: League name in Stats Perform system
  - `statsTeamId` string, nullable: Team identifier in Stats Perform system
  - `statsTeamName` string, nullable: Team name in Stats Perform system
  - `suTeamId` integer, nullable: SponsorUnited team/property ID
  - `suTeamName` string, nullable: SponsorUnited team/property name
  - `statsApi` string: Stats Perform API source identifier

## Other responses

- `401`: Unauthorized
- `422`: Validation Error

---

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