PegasusSwap
Pegasus Swap API Doc Update
30 Jan 2025
We have made updates to three API endpoints. Here's what changed and what the updated responses look like.
1. Update to the get-all-coins Endpoint
We have updated the response structure for the get-all-coins endpoint.
Removed: The fields minAmount and memo have been removed from the response.
Added:
name(string) -- contains the coin namenetworks(object) -- contains information about the coin's networksdeposits/withdraws(array) -- contains an array of networks for deposits or withdrawalssubName(string) -- the name of the networkmemoNeeded(boolean) -- indicates whether an additional ID is required for the network
Example of the updated response:
"pagination":
"pageCount": 52,
"totalCount": 260
,
"depositCoins": [
"image": "example/USDT.png",
"subName": "USDT",
"name": "TetherUS",
"networks":
"deposits": [
"subName": "TRX",
"memoNeeded": true
]
]
2. Update to the exchange-coin Endpoint
Removed: The networkFee field has been removed from the response.
Added: maxAmount (number) -- indicates the maximum exchange amount.
Example of the updated response:
"pair": "ETH_USDT",
"amount": "10",
"exchangeRate": 2462.1076313215262,
"receive": 24008.541206617498,
"minAmount": 0.03,
"maxAmount": 2100
3. Update to the create-transaction Endpoint
We have simplified the request structure for the create-transaction endpoint.
Removed: The receiveAmount field has been removed from the request body.
Full API documentation is available at pegasusswap.com/api-docs. If you have questions, reach out via the Support.








