Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.onswitch.xyz/llms.txt

Use this file to discover all available pages before exploring further.

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: */*'

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.