# Getting testnet STX

To use the Leather testnet desktop app go to the Github repo [here](https://github.com/hirosystems/stacks-wallet/releases/tag/v4.7.0) to download the latest testnet version of the wallet, get the one for your Operating System (i.e. ending in .exe if you are using Windows):

![Download the testnet wallet for your system from Github](/files/on4lrhsw4a6ujHR3UkgN)

This wallet will allow you to use a testnet address and funds for your wallet.

### Getting testnet STX from the faucet:

1. You can get testnet STX via the button in the wallet:

<figure><img src="/files/kNdYA4d0LVzD4qbDiCoH" alt=""><figcaption><p>Get testnet STX tokens</p></figcaption></figure>

### Getting testnet STX using the API

2. Alternatively you can get testnet STX tokens via this API call: [`https://stacks-node-api.testnet.stacks.co/extended/v1/faucets/stx?address=ST21YNW6HP6Y3AX3WPF4J9HPYVJC0N77TBNDD6C33&stacking=false`](https://stacks-node-api.testnet.stacks.co/extended/v1/faucets/stx?address=ST21YNW6HP6Y3AX3WPF4J9HPYVJC0N77TBNDD6C33\&stacking=false)

Replace the address (ST21YNW6HP6Y3AX3WPF4J9HPYVJC0N77TBNDD6C33) in this link with your own testnet Stacks address.

If you need an amount large enough to stack on your own. You’ll want to adapt the last portion of the link to “true” instead of “false”. It will depend on the balance of the faucet address if the large amount can be send.

### Getting testnet STX using the explorer sandbox and wallet extension

3. If the button and faucet URL are not working. Instead use the wallet extension. Do this by using the same seed phrase you used on the Desktop wallet on a Leather extension.

Choose the testnet network on the extension via the top right menu button.

Then use the [explorer.hiro.so](https://explorer.hiro.so) sandbox (1), select testnet (2, 3) here too, login with account one (4) (make sure the address starts with ST (that is a testnet address), visit the faucet page (5) and request STX (6):

<figure><img src="/files/b5zPXrB8yTpdZUGrl2Qg" alt=""><figcaption><p>Get STX testnet tokens from the Faucet on the Explorer Sandbox</p></figcaption></figure>

## How to get STX testnet tokens, video by Hiro:

{% embed url="<https://www.youtube.com/watch?v=r9QNUvysZBE>" %}
Getting testnet STX using (a) the Hiro platform, (b) using the sandbox and by (c) directly calling the API.
{% endembed %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://leather.gitbook.io/guides/testing/getting-testnet-stx.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
