Comment on page
API
MuesliSwap provides a number of API endpoints for querying the state of the DEX. The following is an incomplete list of endpoints, subject to change. Token decimals have to be accounted for by the client, unless explicitely stated.
get
https://api.muesliswap.com
/token-list
Get a list of all token information (without price information)
Parameters
Query
base-policy-id
string
base-tokenname
string
Responses
200: OK
OK
get
https://api.muesliswap.com
/list
get
https://api.muesliswap.com
/price
Get the 'best' price for a certain token pair. We will use the biggest available market to determine this price.
Parameters
Query
quote-tokenname
string
quote-policy-id
string
base-policy-id
string
base-tokenname
string
Responses
200: OK
OK
get
https://api.muesliswap.com
/trades
get
https://api.muesliswap.com
/orderbook
get
https://api.muesliswap.com
/charts/price
get
https://api.muesliswap.com
/liquidity/pools
Get available liquidity pools
Parameters
Query
only-verified
string
token-a
string
token-b
string
providers
string
Responses
200: OK
OK
get
https://api.muesliswap.com
/staking/myield-pools
get
https://api.muesliswap.com
/staking/token-pools
get
https://api.muesliswap.com
/staking/farming-pools
get
https://api.muesliswap.com
/orders/v2
Get open, closed or canceled Muesliswap orders
Parameters
Query
canceled
string
matched
string
open
string
stake-key-hash
string
v2_only
string
Responses
200: OK
OK
get
https://api.muesliswap.com
/staking/farming-open
get
https://api.muesliswap.com
/open-positions
For private use only. If you are interested in using this API commercially please contact us at [email protected]. Moreover, we are applying a fair use policy to our API where we expect a reasonable number of requests.
In this section, we simply highlight certain tools that have been built on top of our API and contract. We take no liability for the quality of these services and do encourage some caution before employing these tools.
Twitter user @cardanostra wrote a small thread on importing live price feed data into Google Sheets: https://twitter.com/cardanostra/status/1488522351985799173
Cardanians built a pretty overview on all currently available tokens on the network, including data on the prices and volume powered by the MuesliSwap API: https://cardanoassets.com/
This website shows the most recent trades for featured tokens on the MuesliSwap page: https://yummymuesli.com/
Last modified 1mo ago