> 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/seasons/get-season-by-id.md).

# GET Season by ID

### `GET` Season by ID

```
https://cricket.sportmonks.com/api/v2.0/seasons/{ID}
```

| Endpoint details        |         |
| ----------------------- | ------- |
| Authorization           | API Key |
| Pagination              | NO      |
| Allowed nested includes | 10      |

#### Parameters

| Available parameters |                                                                                                                   |
| -------------------- | ----------------------------------------------------------------------------------------------------------------- |
| include              | Enrich the API with more data and/or nested includes. Can be used by adding `&include=` etc. to your request url. |
| fields\[object]      | Only return fields you are interested in. Simply add `&fields[object]=id,name,code`  to your request url.         |
| sort                 | One or comma separated list of fields to sort on. Can be used by adding `&sort=` to your request url.             |

**Sort**

You can sort on all fields.

#### Include options

`league` `stages` `fixtures` `teams`

Includes are the cornerstone of our API and allow you to enrich and customize your requests. This flexibility is what distinguishes us from our competitors. &#x20;

You can learn more about what includes are and how they work here:

{% content-ref url="/pages/-MTeYiIp3JNsC4Lao5Nm" %}
[Enriching your response](/v2/cricket-api/getting-started/enriching-your-response.md)
{% endcontent-ref %}

#### Example response

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

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

{% endtab %}

{% tab title="Response" %}

```javascript
    "data": {
        "resource": "seasons",
        "id": 6,
        "league_id": 3,
        "name": "2018",
        "code": "2018",
        "updated_at": "2018-10-22T20:51:18.000000Z"
    }
```

{% endtab %}
{% endtabs %}
