- Create a wallet and a faucet request for each supported token standard
- Claim testnet funds onchain
- Return faucet transaction information and verify wallet balance(s)
Prerequisites
For UI (CDP Portal) option:
For programmatic option:
- Node.js 22.x+ and
npm install @coinbase/cdp-sdk dotenvif using Typescript - Python 3.10+ and
pip install cdp-sdk python-dotenvif using Python - Created and signed in to an existing CDP account
- Created a CDP API key and generated a Wallet Secret
UI (CDP Portal)
While the CDP Faucets API allows for programmatic faucet requests, you can also use the CDP Portal UI with a wallet address to claim funds in-browser. Assuming you completed the prerequisites, navigate to Faucets.- Select a Network (either Base Sepolia, Ethereum Sepolia, or Solana Devnet).
- Select a Token (either ETH, USDC, EURC, cbBTC, or SOL).
- Enter a wallet address and click the Claim button.

Programmatically
The majority of this quickstart will focus on claiming faucet funds using a new account created using our CDP non-custodial wallets. If you’d like to use your own wallet, skip to Step 4: Use an external address.1. Setup CDP client and create an account
First, initialize the CDP client and create an account. Add your CDP API key and wallet secret to your environment:- TypeScript
- Python
Create a Install dependencies and create an account:
.env file with your credentials:.env
Accounts are created for Base Sepolia by default. You can specify other EVM networks when making faucet requests.
2. Claim ETH from faucet
Continue reading to create an ETH faucet request.ETH claim limits are capped at 1000 claims per every 24 hours at 0.0001 ETH per claim.
- TypeScript
- Python
3. Claim ERC-20 token from faucet
Continue reading to create a request for (and claim) ERC-20 funds from a faucet.ERC-20 claim limits are capped every 24 hours dependent on token symbol.
- TypeScript
- Python
4. Use an external address (optional)
You can also use your own wallet address to claim faucet funds directly. Simply provide your address to the faucet request.- TypeScript
- Python
You can monitor the transaction status by checking the blockchain explorer link provided in the response.
Video: Watch and learn
Watch this video for a walkthrough of using faucets in CDP Portal:What to read next
- Faucets: Welcome: An overview of faucets on CDP
- CDP non-custodial wallets: Create and manage accounts using the CDP SDK
- API key wallet quickstart: Get started creating and managing accounts
- CDP SDK Reference: API reference for CDP wallet endpoints