POST
/
v2
/
solana
/
faucet
Request funds on Solana devnet
curl --request POST \
  --url https://api.cdp.coinbase.com/platform/v2/solana/faucet \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "address": "HpabPRRCFbBKSuJr5PdkVvQc85FyxyTWkFM2obBRSvHT",
  "token": "sol"
}'
{
"transactionSignature": "4dje1d24iG2FfxwxTJJt8VSTtYXNc6AAuJwngtL97TJSqqPD3pgRZ7uh4szoU6WDrKyFTBgaswkDrCr7BqWjQqqK"
}

Authorizations

Authorization
string
header
required

A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.

Body

application/json
address
string
required

The address to request funds to, which is a base58-encoded string.

Example:

"HpabPRRCFbBKSuJr5PdkVvQc85FyxyTWkFM2obBRSvHT"

token
enum<string>
required

The token to request funds for.

Available options:
sol,
usdc
Example:

"sol"

Response

Successfully requested funds.

transactionSignature
string
required

The signature identifying the transaction that requested the funds.

Example:

"4dje1d24iG2FfxwxTJJt8VSTtYXNc6AAuJwngtL97TJSqqPD3pgRZ7uh4szoU6WDrKyFTBgaswkDrCr7BqWjQqqK"