---
title: "GET /api/spend-tracker/leagues"
method: GET
path: "/api/spend-tracker/leagues"
tags: ["Spend tracker"]
---

# GET /api/spend-tracker/leagues

`GET /api/spend-tracker/leagues`

## 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/spend-tracker/leagues`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/spend-tracker/leagues/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch spendtracker leagues with buckets

## Response `200`

List of spendtracker leagues

- LeagueStatusCollection
  - `spendTrackerLeagues` LeagueStatusResource[]
    - `league_id` integer
    - `league_name` string

---

[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)
