# Requesting Testnet Tokens

The IOTA Faucet is a useful tool for developers to obtain free test IOTA tokens, enabling them to deploy and interact with applications on the IOTA Testnet.

### Prerequisites

Before requesting test tokens, ensure that:

* You have a [wallet address that supports IOTA tokens](/supported-wallets.md).
* You are connected to the IOTA Testnet.

### Requesting Test Tokens

#### Using cURL

To request testnet tokens directly from the faucet server, run the following cURL command:

```sh
curl --location --request POST 'https://faucet.testnet.iota.cafe/v1/gas' \
--header 'Content-Type: application/json' \
--data-raw '{
    "FixedAmountRequest": {
        "recipient": "<YOUR IOTA ADDRESS>"
    }
}'
```

* Replace **`<YOUR IOTA ADDRESS>`** with your actual IOTA Testnet wallet address.

#### Using TypeScript SDK

You can also access the [faucet](https://docs.iota.org/ts-sdk/typescript/faucet) using the TypeScript SDK:

```typescript
await requestIotaFromFaucetV0({
    host: getFaucetHost('testnet'),
    recipient: <RECIPIENT_ADDRESS>,
});
    };
}
const transaction = new Transaction();
transaction.add(transferToSender(['0x1234']));
```

* Replace **`<RECIPIENT_ADDRESS>`** with your IOTA Testnet wallet address.


---

# 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://docs.swirlstake.com/how-to/requesting-testnet-tokens.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.
