Token properties
Each token entry includes the following fields:- created_at: The date and time when the token was added to the list.
- address: Raw blockchain address of the token contract.
- total_supply: Total token supply in the base units.
- decimals: Number of decimal places the token supports.
- mintable: Indicates whether additional tokens can be minted (
true
|false
). - verification: Verification status (e.g.,
WHITELISTED
). - name: Token name.
- symbol: Token symbol (e.g.,
TON
). - image_url: URL of the token image.
- market_stats: Market statistics (see below).
- holders_count: Number of unique token holders.
- price_usd: Current price in USD.
- price_change_5m: Price change over the last 5 minutes (percentage).
- price_change_1h: Price change over the last hour (percentage).
- price_change_6h: Price change over the last 6 hours (percentage).
- price_change_24h: Price change over the last 24 hours (percentage).
- volume_usd_24h: 24-hour trading volume in USD.
- tvl_usd: Total value locked (TVL) in USD.
- fdmc: Fully diluted market capitalization in USD.
- trust_score: Reliability score from 0 to 100.
address
field is provided in raw format.
Example: CES token
Verification Status
Theverification
field reflects a token’s verification status. Possible values are:
- WHITELISTED: The token is verified and whitelisted by swap.coffee. These assets are considered safe and are used in routing. Such tokens are guaranteed to be fee-free.
- COMMUNITY: The token’s contract hash is deemed safe, but the asset is not included in swap.coffee routing. Such tokens are guaranteed to be fee-free.
- UNKNOWN: The token is unverified and may be unsafe.
- BLACKLISTED: The token is blacklisted and considered dangerous.
Token Labels
Thelabels
property is an array of strings that classify a token. Possible values include:
- new: The token was recently listed; the label remains for seven days.
- contest: The token participates in a contest or promotion on swap.coffee.
- cashback: Swapping this token on swap.coffee qualifies for cashback rewards.
Listing Tokens
The dedicated endpoint retrieves jettons (up to 100 per request) and supports the following query parameters:- search: A string used to filter jettons by name or symbol.
- verification: An array of verification statuses to filter the results. Accepted values:
WHITELISTED
,COMMUNITY
,UNKNOWN
,BLACKLISTED
. If omitted, onlyWHITELISTED
jettons are returned. - label_id: An integer that filters jettons by a specific label ID.
- page: The page number for pagination (default:
1
). - size: The number of jettons per page (default:
100
).
verification=WHITELISTED&verification=COMMUNITY
.
Community libraries
⚠️ Note: The libraries listed below are maintained by third parties rather than the swap.coffee team. Consequently, we cannot guarantee their stability or correctness.Language | Library | Description | |
---|---|---|---|
Python | py-stollen/swapcoffee-tokens | Python wrapper for the Tokens API | Wrapper for legacy v2 API. |