MuesliSwap
Search
K

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.

General

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

Price

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

Pools, etc

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

Wallet Specific

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

Community Tools

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.

Google Sheets

Twitter user @cardanostra wrote a small thread on importing live price feed data into Google Sheets: https://twitter.com/cardanostra/status/1488522351985799173

Coin Overview

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/

Last Trades

This website shows the most recent trades for featured tokens on the MuesliSwap page: https://yummymuesli.com/
Last modified 4mo ago