> For the complete documentation index, see [llms.txt](https://docs.mysticfinance.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mysticfinance.xyz/overview/instant-liquidity-api.md).

# Instant Liquidity API

## What Is It

The Mystic Instant Liquidity API gathers DEX liquidity and trading firm bids to find the best possible path to give instant liquidity to any supported asset, via a transparent and competitive auction mechanism. This can be used for a) instant redemptions or b) liquidating money market defaults that fallback to non-instant redemption mechanisms.

The API is custom-built for RWAs, and assumes trading firms advance the liquidity to fill the order and receive the corresponding collateral plus a premium for doing so. They can then redeem that asset for stablecoins after waiting for the asset's corresponding redemption time. The API is modeled after the[ 0x Protocol Orderbook](https://docs.0xprotocol.org/en/latest/basics/orders.html#the-orderbook) and[ RFQ Orders](https://docs.0xprotocol.org/en/latest/basics/orders.html#rfq-orders), and adapted for RWAs. Settlement is atomic, making sure no capital is at risk and only moves when a swap is confirmed.

A couple of things to note:

* The API has a **smart routing** feature, which enables it to settle a position across multiple bids (e.g. 20% on an AMM and 80% with the best trading firm quote).
* The API also has a **fallback feature** - if the winning bid backs out, the trade will go to the second-best bid and so on.
