GET
/
api
/
v0
/
balance
/
usdc
Get USDC balance for an app
curl --request GET \
  --url https://api.devdraft.ai/api/v0/balance/usdc \
  --header 'x-client-secret: <api-key>'
{
  "currency": "usdc",
  "total_balance": "5678.90",
  "balances": [
    {}
  ]
}

Authorizations

x-client-secret
string
header
required

Your secret API key. Keep this secure and never expose it in client-side code.

Response

USDC balance retrieved successfully

currency
enum<string>
required

The stablecoin currency

Available options:
usdc,
eurc
Example:

"usdc"

total_balance
string
required

The total aggregated balance across all wallets and chains

Example:

"5678.90"

balances
object[]
required

Detailed breakdown of balances by wallet and chain