> For the complete documentation index, see [llms.txt](https://scorefam.gitbook.io/scorefam-whitepaper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scorefam.gitbook.io/scorefam-whitepaper/appendix/developer-integration-predictpro-sdk/tournaments/current-tournament-id.md).

# Current Tournament ID

<mark style="color:green;">**currentTournamentID**</mark>

Gets the current tournament ID.

**Syntax**

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

```javascript
currentTournamentID()
```

{% endtab %}
{% endtabs %}

**Returns**

* <mark style="color:green;">**Number:**</mark> Current tournament ID.

**Example**

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

```javascript
const tournamentID = await sdk.currentTournamentID();
console.log(tournamentID);
```

{% endtab %}
{% endtabs %}

**Sample Return**

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

```javascript
5
```

{% endtab %}
{% endtabs %}

<br>
