Spend tracker

GET /api/spend-tracker/league-properties/{leagueId}/season/{seasonId}

Fetch league property buckets and revenues in season

Request

  • Base URL
    https://api.sponsorunited.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

leagueIdstring required

League ID

seasonIdstring required

Season ID

Response

League data, revenue and buckets with revenues in season

Example response

{
  "spendTrackerLeague": {
    "league_name": "NFL - National Football League",
    "season_name": "2021-22"
  },
  "buckets": [
    {
      "name": "Highest",
      "droplets": [
        {
          "drop_name": "Boston Red Sox",
          "primary_market": "Boston"
        }
      ],
      "meta": {
        "revenue_calculated": {
          "currency": "USD"
        },
        "revenue_ignored": {
          "currency": "USD"
        }
      }
    }
  ],
  "revenue": {
    "public_url": "https://www.sponsorunited.com/"
  },
  "meta": {
    "revenue_calculated": {
      "currency": "USD"
    },
    "revenue_ignored": {
      "currency": "USD"
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.