Skip to main content
GET /asset lists every stablecoin supported across all networks, including metadata such as token address, blockchain, decimals etc. and which payment flows (offramp, onramp, swap, wallet) each stablecoin supports.

Example Request

curl -L \
  --request GET \
  --url 'https://api.onswitch.xyz/asset' \
  --header 'x-service-key: '"$YOUR_SERVICE_KEY" \
  --header 'Accept: */*'
const res = await fetch('https://api.onswitch.xyz/asset', {
  method: 'GET',
  headers: {
    'x-service-key': process.env.YOUR_SERVICE_KEY,
    Accept: '*/*',
  },
});

const json = await res.json();
console.log(json.data?.length, 'assets');
import os, json, urllib.request

req = urllib.request.Request(
    "https://api.onswitch.xyz/asset",
    method="GET",
    headers={
        "x-service-key": os.environ["YOUR_SERVICE_KEY"],
        "Accept": "*/*",
    },
)

with urllib.request.urlopen(req, timeout=60) as r:
    payload = json.load(r)
    print(len(payload.get("data", [])), "assets")

Example Response

{
  "success": true,
  "message": "Assets fetched successfully",
  "timestamp": "2026-03-31T03:15:12.304Z",
  "data": [
    {
      "id": "base:usdc",
      "name": "USD Coin",
      "code": "USDC",
      "decimals": 6,
      "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
      "blockchain": {
        "id": 8453,
        "name": "BASE",
        "type": "EVM"
      },
      "offramp_supported": true,
      "onramp_supported": true,
      "swap_supported": true,
      "wallet_supported": true
    },
    {
      "id": "solana:usdc",
      "name": "USD Coin",
      "code": "USDC",
      "decimals": 6,
      "address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "blockchain": {
        "id": 10000,
        "name": "SOLANA",
        "type": "SVM"
      },
      "offramp_supported": true,
      "onramp_supported": true,
      "swap_supported": true,
      "wallet_supported": true
    }
  ]
}
For a readable reference table, see Stablecoins.

Need Help?

Email Support

Send us a message.

Book a call

Hop on a call with us.