API Specification
API Explorer
This endpoint is used to get the version of the service.\
App Info
runes_dexmain03798661f49a25592975d96bf9a80b9b0555ae5a0.4.5App Info
This endpoint is used to list known runes.
Filter by rune name as %NAME%. "SUPER" will match "MYSUPERRUNE", for example.
SUPERSpecify true for pairs with liquidity, false for pairs without, or omit for all pairs.
Will return only featured runes.
Number of runes to return.
50Page number for pagination.
Order of the results.
ASCPossible values: List of matched runes
Bad Request
Internal server error
This endpoint is used to get a Rune by name.\
Success
block number : transaction number in that block
3009048:5MAXDECIMALSRUNESOBIGMAXDECIMALSRUNESOBIGA single UTF8 character, including emoji
¤3009048A tx position in a block
50Total amount of runes minted
10000000001000000000Total amount of runes in circulation (max_supply - burned)
1000000000Number of subunits in a super unit of runes
8true172789847581972d23a9abaa1c6f0d96b7bccd9af905ff8a4f44ac50f2a62366f92e5a8efb3caae66d4c38c46f56f12571fc518bbb36ce3ec03a4e3b6c3ed44dbee9fa9630a raw transaction hex
7b22656469637473223a5b5d2c2265746368696e67223a7b2264697669736962696c697479223a33382c227072656d696e65223a313030303030303030302c2272756e65223a224d4158444543494d414c5352554e45534f424947222c2273706163657273223a302c2273796d626f6c223a6e756c6c2c227465726d73223a6e756c6c2c22747572626f223a747275657d2c226d696e74223a6e756c6c2c22706f696e746572223a317dfalseExample: falseBad Request
Internal server error
This endpoint is used to get a Rune balance by address.\
BTC or rune name
Success
bc1p0x6psjqeawtw8zvekup2gcg8uuwejhgjfad3sp9xklmpeaq80m4qd0ly9f1000000000Bad Request
Internal server error
This endpoint is used to list UTXOs by asset and address.\
Number of runes to return.
50Filter by rune name as %NAME%. "SUPER" will match "MYSUPERRUNE", for example.
SUPEROrder of the results.
ASCPossible values: Page number for pagination.
Success
Internal server error
This endpoint is used to get a BTC balance by address.\
tb1ps07g3t8hctex0ula3jaxxa85dqw28ewl0krmnt8mlpxukmzp9zeqmzjfdwSuccess
tb1ps07g3t8hctex0ula3jaxxa85dqw28ewl0krmnt8mlpxukmzp9zeqmzjfdwInternal server error
This endpoint is used to get a list of trading pairs.\
Number of runes to return.
50Filter by rune name as %NAME%. "SUPER" will match "MYSUPERRUNE", for example.
SUPEROrder of the results.
ASCPossible values: Page number for pagination.
Success
Internal server error
This endpoint is used to create a new trading pair.
Idempotent. If pair exists, returns existing pool address.
BTCMYLOVELYRUNEBTCMYLOVELYRUNESuccess
2tb1pptp2yfl3xjvltfxwwvqnsspe60uyc0a24d90ymas4qxl8xs8rxss94quj9Bad Request
404 is returned if pair is not found
Internal server error
This endpoint is used to get a trading pair.
BTCMYLOVELYRUNESuccess
127936135200000base_amount / quote_amount
3634548.29545454545454545452tb1pptp2yfl3xjvltfxwwvqnsspe60uyc0a24d90ymas4qxl8xs8rxss94quj92.751373537258053043668E-77.513735372580530436680.017088958503502919717812005162110.64in USD
17088958.50in USD
17088958.50in USD
43725.89number of finalized swaps in this pool (buy+sell)
3in base units
1279361in quote units
35200000Bad Request
404 is returned if pair is not found
Internal server error
This endpoint is used to get the position of an address in a trading pair.\
BTCMYLOVELYRUNEtb1ps07g3t8hctex0ula3jaxxa85dqw28ewl0krmnt8mlpxukmzp9zeqmzjfdwSuccess
20.1531223123.23333.331223123.231223123.23Internal server error
This endpoint is used to add liquidity to a trading pair.\
BTCMYLOVELYRUNEbc1pkr9xwf5n6ugue9ra4p3quy940gl3qaaju57pvvhy5xh8xehmzh3syzdqs38f0f508a694fe6991fd6fd8be19bfec9dad34afbc5e16c2c6af1b57ee4a75f284153337LHryP6Pj6Z98bQZj76YBcQ1JNKZsSXoC02c64921f5c9b2c209ada61c78719eec30bebcdfc1d63ee051a68aa241ffb3190a10000Success
1232BTC/MYLOVELYRUNEbc1p0x6psjqeawtw8zvekup2gcg8uuwejhgjfad3sp9xklmpeaq80m4qd0ly9f37LHryP6Pj6Z98bQZj76YBcQ1JNKZsSXoC41533100001000partially signed bitcoin transaction
Bad Request
404 is returned if pair is not found
Internal server error
This endpoint is used to calculate the base and quote amounts.\
BTCMYLOVELYRUNEBTCMYLOVELYRUNESuccess
100010000Bad Request
returned when pair is not found
Internal server error
This endpoint is used to swap assets in a trading pair.\
BTCMYLOVELYRUNESuccess
1232BTC/MYLOVELYRUNEbc1p0x6psjqeawtw8zvekup2gcg8uuwejhgjfad3sp9xklmpeaq80m4qd0ly9f37LHryP6Pj6Z98bQZj76YBcQ1JNKZsSXoC41533100001000partially signed bitcoin transaction
Bad Request
404 is returned if pair is not found
Internal server error
This endpoint is used to remove liquidity from a trading pair.\
BTCMYLOVELYRUNESuccess
1232BTC/MYLOVELYRUNEbc1p0x6psjqeawtw8zvekup2gcg8uuwejhgjfad3sp9xklmpeaq80m4qd0ly9f37LHryP6Pj6Z98bQZj76YBcQ1JNKZsSXoC41533100001000partially signed bitcoin transaction
Bad Request
404 is returned if pair is not found
Internal server error
This endpoint is used to get the price history of a trading pair.\
BTCMYLOVELYRUNEGapfilled candlestick data
Serialized as an array of fields (9 elements).
Fields: [start_time, trading_pair_id, open, close, high, low, base_volume, quote_volume, count]
All points are gapfilled - meaning that even if database contains 0 trades in range [start_time...end_time], but there were trades before start_time, then returned array will contain (end_time - start_time) points (with interval between them).
Serialized as an array of fields (9 elements).
Fields: [start_time, trading_pair_id, open, close, high, low, base_volume, quote_volume, count]
All points are gapfilled - meaning that even if database contains 0 trades in range [start_time...end_time], but there were trades before start_time, then returned array will contain (end_time - start_time) points (with interval between them).
["2023-07-09T07:46:40",0,"100","101","102","103","1000","102000",5]Bad Request
404 is returned if pair is not found
Internal server error
This endpoint is used to get the swap history of a trading pair.\
BTCMYLOVELYRUNEOrder of the results.
ASCPossible values: Number of runes to return.
50Page number for pagination.
Success
Bad Request
returned when pair is not found
Internal server error
This endpoint allows to submit a transaction to the Bitcoin network.\
Success
af7ef135a4469ec63af59e7244693418fdb96e852baf84c0adb70b28d9ec99e1pendingPossible values: Bad Request
This endpoint is used to get a user's liquidity positions.\
tb1ps07g3t8hctex0ula3jaxxa85dqw28ewl0krmnt8mlpxukmzp9zeqmzjfdwSuccess
20.1531223123.23333.331223123.231223123.23Internal server error
This endpoint is used to get a user from the database.\
tb1ps07g3t8hctex0ula3jaxxa85dqw28ewl0krmnt8mlpxukmzp9zeqmzjfdwList of addresses
bc1p0x6psjqeawtw8zvekup2gcg8uuwejhgjfad3sp9xklmpeaq80m4qd0ly9fInternal server error
This endpoint is used to add a new user to the database.\
bc1p0x6psjqeawtw8zvekup2gcg8uuwejhgjfad3sp9xklmpeaq80m4qd0ly9fSuccess
Internal server error