# API

## &#x20;Total Staked

<mark style="color:blue;">`GET`</mark> `https://api.swipe.org/api?module=stats&action=totalStaked`

This endpoint allows you to retrieve the total amount of SXP staked on the Swipe Network.

{% tabs %}
{% tab title="200 Total Staked SXP successfully retrieved." %}

```
{"status":true,"data":"29855685667325892439200000"}
```

{% endtab %}
{% endtabs %}

## &#x20;Reward Amount

<mark style="color:blue;">`GET`</mark> `https://api.swipe.org/api?module=stats&action=rewardAmount`

This endpoint allows you to retrieve the total amount of SXP earned daily on the Swipe Network.

{% tabs %}
{% tab title="200 Total SXP daily reward successfully retrieved." %}

```
{"status":true,"data":"20000000000000000000000"}
```

{% endtab %}

{% tab title="404 Unsuccessful attempt to retrieve the daily SXP reward amount." %}

```
{"status":false,"message":"Invalid action"}
```

{% endtab %}
{% endtabs %}

## Reward Cycle

<mark style="color:blue;">`GET`</mark> `https://api.swipe.org/api?module=stats&action=rewardCycle`

This endpoint allows you to retrieve the SXP rewards distribution cycle in seconds.

{% tabs %}
{% tab title="200 SXP rewards distribution cycle successfully retrieved." %}

```
{"status":true,"data":"86400"}
```

{% endtab %}

{% tab title="404 Unsuccessful attempt to retrieve the daily SXP reward amount." %}

```
{"status":false,"message":"Invalid action"}
```

{% endtab %}
{% endtabs %}

## Minimum Stake

<mark style="color:blue;">`GET`</mark> `https://api.swipe.org/api?module=stats&action=minimumStakeAmount`

This endpoint allows you to retrieve the minimum SXP required to stake on the Swipe Network.

{% tabs %}
{% tab title="200 Total Staked SXP successfully retrieved." %}

```
{"status":true,"data":"1000000000000000000000"}
```

{% endtab %}
{% endtabs %}
