swap.coffee home page
Search...
Community
App
App
Search...
Navigation
Partnership
Get raw transaction records with specified partner's referral address. Requires associated x-api-key.
Documentation
RU Documentation
Technical Documentation
Legal
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 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 information about the given token for the given blockchain
GET
Returns information about the given token by its symbol for the given blockchain
Routing
POST
Returns the best route for the given trade pair
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
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
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
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
Partnership
GET
Get raw transaction records with specified partner's referral address. Requires associated x-api-key.
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
POST
Build transactions to create pool of the given asset pair
DEL
Build transaction to withdraw liquidity from the pool of the given asset pair
PATCH
Build transactions to provide liquidity to the pool of the given asset pair
Partnership
Get raw transaction records with specified partner's referral address. Requires associated x-api-key.
GET
/
v1
/
partnership
/
{address}
/
transactions
Try it
Authorizations
X-Api-Key
string
header
required
Path Parameters
address
string
required
Query Parameters
page
integer
default:
1
Required range:
x > 1
Response
200 - application/json
amount_from
number
required
amount_from_usd
number
required
amount_to
number
required
amount_to_usd
number
required
dex
string
required
failed
boolean
required
hash
string
required
lt
integer
required
query_id
integer
required
ref_fee_usd
number
required
route_id
integer
required
suspicious
boolean
required
timestamp
integer
required
token_from
string
required
token_to
string
required
user_wallet
string
required
Get pre-built transaction for strategy order cancellation
Get generic statistic of dex aggregation.