> For the complete documentation index, see [llms.txt](https://docs.sportmonks.com/v2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sportmonks.com/v2/cricket-api/our-api/positions/get-all-positions.md).

# 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               | <p>Array of fields to filter on. Can be used by adding <code>\&filter\[{field you want to filter}].</code> <br>For example: <code>\&filter\[name]=Batsman.</code></p> |

**Sort**

You can sort on all fields.

#### Example response

{% tabs %}
{% tab title="Request" %}

```
https://cricket.sportmonks.com/api/v2.0/positions?api_token={API_TOKEN}
```

{% endtab %}

{% tab title="Response" %}

```javascript
    "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"
        }
    ]
```

{% endtab %}
{% endtabs %}
