GUM Docs
Open GUM

API reference

Using the API

Public endpoints: run a deposit, resolve a deposit address back to its destination, build a token picker that only offers depositable tokens, and price the fee rate.

Everything the embed widget does is plain HTTP. One host, read-only:

Base URLEndpointsAuthCORS
https://api.gum.ag/ud/v2/deposit-addresses, /v1/deposit-addresses/lookup, /token/search, /top-mcap, /v2/fees/stable-tokensPublic, no keyNone — call it from your server

The test network is served from https://gum-api.jup.net/ud/devnet. All chains use the same numeric IDs everywhere: 900 Solana, 1 Ethereum, 8453 Base, 42161 Arbitrum, 56 BSC, 4663 Robinhood, 101 Sui (see supported chains).

The deposit loop

  1. Get deposit addresses for the destination. Call /v2/deposit-addresses with the destination chainId and destinationAddress. You get one deposit address per source chain, plus that chain’s dollar token (tokenAddress), minimum deposit, flat fee, and health status. Anything sent to a deposit address is bridged to the destination and settles as the destination chain’s dollar token.
  2. Only offer tokens the pipeline can convert. The dollar token from step 1 always works. Any other token must be quotable: listed by /top-mcap for that chain, or returned by /token/search with quotableOnly=true. Quotable tokens are auto-swapped to the dollar token and settle like any other deposit, with the swap cost absorbed into the conversion. If the swap fails, it is retried until it clears; funds aren’t lost, and the receiver can reach out on Discord if it still hasn’t settled. Hide chains whose status from step 1 isn’t healthy.
  3. Show the sender the address. Display the deposit address and QR for the chain the sender picked, with the minimum and the token they must send. The destination chain is the source of truth for arrival; watch the destination address on its explorer. How it works covers what happens after the sender funds the address.

Building a token picker

If you let senders pay with tokens other than the dollar token, you need a list of tokens that Universal Deposit can actually convert. Two endpoints feed that list, and they carry different guarantees:

EndpointScopeGuarantee
/top-mcap?chainId=Top tokens on one chainEvery row is quotable. Use it as the default list.
/token/search?query=Free text or address, all chainsAdd quotableOnly=true to get only convertible tokens, then keep rows on your chain.

What quotable means. A token is quotable when a live $1000 buy-and-sell round trip through the swap pipeline passed within the last 30 minutes. It is the same probe that decides whether a swapped deposit can be routed, so a quotable token is one Universal Deposit can convert. It does not consider the deposit minimum or whether the chain is up: apply minDeposit and status from /v2/deposit-addresses yourself.

This is exactly what the embed widget does: /top-mcap populates the list, /token/search handles typing, and both are filtered to isQuotable === true on the selected chain.