---
title: "Export year-over-year league deal reports."
method: GET
path: "/api/league/{league_id}/deals/export"
tags: ["League"]
---

# Export year-over-year league deal reports.

`GET /api/league/{league_id}/deals/export`

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

Generates year-over-year deal reports for the league and streams them back as a ZIP archive. When split is true, a report is generated per property that belonged to the league in the given season.

## Path parameters

- `league_id` integer, required

## Query parameters

- `season` integer, required
- `split` boolean
- `property_id` integer

## Response `200`

ZIP archive containing the generated reports.

## Other responses

- `422`: Validation failed. The season parameter is required.

---

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