Skip to main content
GET
Count By Leagues

Authorizations

apiKey
string
query
required

Path Parameters

id
integer
required

Numeric ID of the team to get count by leagues for

Query Parameters

fields
enum<string>[]

Specify custom response with available response fields.


Fields included as default: league, count

Available options:
league,
count,
league.*,
*
offset
integer
default:0

The number of items to skip before starting to collect the result set.

Required range: x >= 0
limit
integer
default:100

The number of items to return.

Required range: 0 <= x <= 1000
sort
enum<string>[]

Sort results by field name. Prefix with - for descending order (e.g., -name).

Available options:
league,
-league,
count,
-count

Response

200 - application/json

A paginated list of count by leagues.

_meta
object
data
object[]