API
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
For private use only. If you are interested in using this API commercially please contact us at contact@muesliswap.com. 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:
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:
This website shows the most recent trades for featured tokens on the MuesliSwap page:
Get a list of all token information (without price information)
OK
No Content
Get a list of tokens, each with basic token info and basic price information
OK
No Content
Get the 'best' price for a certain token pair. We will use the biggest available market to determine this price.
4d494c4b
8a1cfae21368b8bebbbed9800fec304e95cce39a2a57dc35e2e3ebaa
OK
Get the last trades for a certain token pair
4d494c4b
8a1cfae21368b8bebbbed9800fec304e95cce39a2a57dc35e2e3ebaa
OK
No Content
Get a directional orderbook for a certain token pair.
8a1cfae21368b8bebbbed9800fec304e95cce39a2a57dc35e2e3ebaa
4d494c4b
OK
No Content
Get historical chart data. Contains price and volume data.
4d494c4b
8a1cfae21368b8bebbbed9800fec304e95cce39a2a57dc35e2e3ebaa
1h
Available options: OK
No Content
Get available liquidity pools
y
Available options: .
8a1cfae21368b8bebbbed9800fec304e95cce39a2a57dc35e2e3ebaa.4d494c4b
muesliswap_v2,minswap,muesliswap
OK
No Content
Get all myield pools
OK
Get all MILK pools
OK
No Content
Get all farms
OK
No Content
Get open, closed or canceled Muesliswap orders
n
Available options: n
Available options: y
Available options: cf391390f15b02acf7b1ce322bcddaa6625ac6720bb42d5f9a55c982
n
Available options: OK
Get all open farming positions
cf391390f15b02acf7b1ce322bcddaa6625ac6720bb42d5f9a55c982
OK
No Content
Get basic information to figure out all open positions of a certain wallet
cf391390f15b02acf7b1ce322bcddaa6625ac6720bb42d5f9a55c982
019645fedab3763ddc5b0e77d71d041fd9b8d92f40c8fad7327c859e2bcf391390f15b02acf7b1ce322bcddaa6625ac6720bb42d5f9a55c982
OK
No Content