<ApiPlayground endpoint="top-mcap" />

Served from `https://api.gum.ag/ud`, the same base URL as
deposit addresses. No API key. CORS is not open, so call it from your server
or through a same-origin proxy.

## Query parameters

| Parameter | Required | Description                                                                          |
| --------- | -------- | ------------------------------------------------------------------------------------ |
| `chainId` | Yes      | The chain to list: `900`, `1`, `8453`, `42161`, `56`, `4663`, or `101`. Anything else is a `400`. |

## Response

`results` holds up to 100 tokens ordered by market cap, and `total` is the
count. Every row has passed the quotability check, so the list can go straight
into a picker without further filtering:

| Field             | Meaning                                                                     |
| ----------------- | --------------------------------------------------------------------------- |
| `symbol`, `name`  | Display values.                                                             |
| `originChainId`   | Always the requested chain.                                                 |
| `originChainMint` | Token address on that chain. The chain's dollar token is always included.  |
| `uri`             | Icon URL.                                                                   |
| `isQuotable`      | Always `true`.                                                              |
| `isTradable`, `isVerified` | Informational; may be absent.                                      |

The list is rebuilt in the background and served with a 5-minute cache. During
an upstream outage the previous list is served for up to 24 hours rather than
an empty one, and a rebuild that would shrink the list sharply is rejected, so
you won't see a picker suddenly empty out.

## Using it with search

`/top-mcap` is the default list; when the sender starts typing, switch to
[`/token/search`](/universal-deposit/api-reference/get-token-search) and apply
its `isQuotable` filter. Neither list knows whether a chain is up: hide chains
whose `status` from
[`/v2/deposit-addresses`](/universal-deposit/api-reference/get-deposit-addresses)
isn't healthy.
