For the complete documentation index, see llms.txt. This page is also available as Markdown.

GET All Positions

GET All Positions

https://cricket.sportmonks.com/api/v2.0/positions

Endpoint details

Authorization

API Key

Pagination

NO

Allowed nested includes

0

Parameters

Available parameters

sort

One or comma separated list of fields to sort on. Can be used by adding &sort= to your request url.

filter

Array of fields to filter on. Can be used by adding &filter[{field you want to filter}]. For example: &filter[name]=Batsman.

Sort

You can sort on all fields.

Example response

https://cricket.sportmonks.com/api/v2.0/positions?api_token={API_TOKEN}
    "data": [
        {
            "resource": "positions",
            "id": 1,
            "name": "Batsman"
        },
        {
            "resource": "positions",
            "id": 2,
            "name": "Bowler"
        },
        {
            "resource": "positions",
            "id": 3,
            "name": "Wicketkeeper"
        },
        {
            "resource": "positions",
            "id": 4,
            "name": "Allrounder"
        }
    ]

Last updated

Was this helpful?