swap.coffee home page
Search...
⌘K
Community
App
App
Search...
Navigation
List Tokens
List Tokens
deprecated
GET
/
api
/
v1
/
tokens
/
{blockchain_id}
/
tokens
Try it
200
422
Copy
{}
Assistant
Responses are generated using AI and may contain mistakes.
Path Parameters
blockchain_id
integer
required
Response
200
200
422
application/json
Successful Response
The response is of type
object
.
200
422
Copy
{}
Documentation
GitHub
Developer Chat
Developer Channel
TokensDB API
Aggregator API
Entity
GET
Get supported blockchains. Currently only TON is supported.
GET
Returns list of supported decentralized exchanges supported by the service in the given blockchain
GET
Returns information about the given decentralized exchange for the given blockchain
GET
Returns list of liquid staking pools
GET
Returns staking pool for given address
GET
Returns list of pools which correspond to the given params
GET
Returns trading metrics for pools
GET
Returns information about the given liquidity pool for the given blockchain
GET
Returns list of pools associated with given token
GET
Returns list of tokens supported by the service
GET
Returns list of tokens supported by the service
GET
Returns information about the given token for the given blockchain
GET
Returns information about the given token by its symbol for the given blockchain
POST
Returns prices for given tokens
Routing
POST
Returns the best route for the given trade pair
POST
Returns the best route for the given list of input tokens and output token
POST
Returns the best route for the given trade pair using smart settings
POST
Returns pre-built transactions for the given route. It is assumed that transactions will be signed and sent by the sender via wallet
POST
Returns pre-built transaction for the given unstake request. It is assumed that transaction will be signed and sent by the sender via wallet
POST
Returns pre-built transaction for the given stake request. It is assumed that transaction will be signed and sent by the sender via wallet
GET
Get route transactions execution result
deprecated
GET
Get route transactions execution result
Ton
GET
Returns wallet version and revision
GET
Get wallet balance in nanotons (1e-9 TON)
Profile
GET
Get historical account transactions on swap.coffee
POST
Validate TON proof for given account address
GET
Get account settings
POST
Update account settings
Auth
GET
List existing auth tokens
POST
Create new auth token
DEL
Delete existing auth token
PATCH
Edit existing auth token
Referral
GET
Get account's referral info
POST
Bind new referral
DEL
Unbind existing referral. For internal usage only.
PATCH
Update referral's info. For internal usage only.
GET
Get account's list of referrals
GET
Get address for alias
POST
Set referral address alias
DEL
Delete address alias
Claim
GET
Get account's claiming stats
POST
Claim tokens
GET
Get state of account claimings
GET
Get claiming transaction execution result
POST
Transfer available in claim-center tokens from one account to another. For internal usage only
Cashback
GET
Get cashbacks info
POST
Create new cashback distribution. For internal usage only
GET
Get cashback info
PATCH
Update cashback information. For internal usage only
GET
Get cashback total info for user
GET
Get cashback promos rewards for user
Contests
GET
Get contests
POST
Create new contest. For internal usage only
GET
Get contest
PATCH
Update existing contest. For internal usage only
GET
Get user stats for contest
GET
Get top users' stats for contest
POST
Payout rewards for this contest in token. For internal usage only
Strategies
GET
Check whether strategies wallet exists for given account address.
POST
Get pre-built transaction for strategies wallet creation.
GET
Checks whether user is eligible for using strategies
GET
Get list of supported from-tokens for strategies
GET
Get list of supported to-tokens for strategies for given from-token
GET
Get strategy orders
GET
Get strategy order
POST
Get pre-built transaction for strategy order creation
DEL
Get pre-built transaction for strategy order cancellation
DEL
Cancel strategy order by id. For internal usage only.
DEL
Cancel all strategy orders by proxy wallet. For internal usage only.
DEL
Cancel all strategy orders by given token pair. For internal usage only.
DEL
Cancel all strategy orders. For internal usage only.
POST
Make a payout from strategy wallet to wallet's owner. For internal usage only.
Partnership
GET
Get raw transaction records with specified partner's referral address. Requires associated x-api-key.
GET
Get partner settings. For internal usage only
POST
Set partner settings. For internal usage only
DEL
Delete partner settings. For internal usage only
Statistics
GET
Get generic statistic of dex aggregation.
Staking
GET
Get all stakings
GET
Get staking transaction execution result
GET
Get aggregated information about staking
GET
Get aggregated information about staking for specific user
GET
Get user's staking points
GET
Get user's balances of staked tokens
POST
Build transaction to create new staking position
POST
Build transaction to extend existing position
DEL
Build transaction to close position and withdraw all money
DEX
GET
Get address of the vault of the given asset
POST
Build transaction to create vault for the given asset
GET
Get dex pools by filter
POST
Build transactions to create pool of the given asset pair
LiquidityProvisioning
GET
Return information about user's LP position in pool
POST
Build transactions to provide liquidity to the given pool
DEL
Build transaction to withdraw liquidity from the given pool
GET
Returns pools on Coffee DEX that correspond to the pools of provided addresses
GET
Returns list of pools from which user may migrate tokens
POST
Build transaction to migrate LP to swap.coffee DEX
GET
Returns list of pools that are possible for migration of LP.
GET
Returns pool total supply
GET
Returns status of liquidity provisioning operation
Boosts
GET
Returns pool's aggregated APR
GET
Returns list of boosts for the pool
GET
Returns user's earned boosts in given pool
POST
Build transaction to create boost for pool in swap.coffee DEX
GET
Get detailed info about boost. Works for Coffee DEX pools only
POST
Build transaction to create stonfi farm position
DEL
Build transaction to close farm position in stonfi
GET
Returns status of new boost creation operation. Works for Coffee DEX pools only
Yield
GET
Returns list of pools which correspond to the given params
GET
Returns detailed information about requested pool
GET
Returns detailed information about user's position in the pool
POST
Interact with yield pool
GET
Returns status of interaction with yield pool operation
List Tokens
deprecated
GET
/
api
/
v1
/
tokens
/
{blockchain_id}
/
tokens
Try it
200
422
Copy
{}
Assistant
Responses are generated using AI and may contain mistakes.
Path Parameters
blockchain_id
integer
required
Response
200
200
422
application/json
Successful Response
The response is of type
object
.
200
422
Copy
{}