Skip to content

Swap Tokens

GET /api/v1/swap/tokens

Get the full list of tokens supported by CyberPay (with real-time prices).

Request

GET /api/v1/swap/tokens

No parameters.

Response

[
  {
    "asset_id": "eth.ETH",
    "blockchain": "eth",
    "symbol": "ETH",
    "decimals": 18,
    "price": 2500.42,
    "contract_address": null
  },
  {
    "asset_id": "base.USDC",
    "blockchain": "base",
    "symbol": "USDC",
    "decimals": 6,
    "price": 1.0,
    "contract_address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
  }
]
FieldTypeDescription
asset_idstringAsset ID (blockchain.symbol)
blockchainstringChain identifier
symbolstringToken symbol
decimalsu8Decimal precision
pricef64?USD price
contract_addressstring?Contract address (null for native coins)

Data is cached and updated in real-time.