Map liquidity for a currency pair at a ticket size
liquidity_mapShows where a payment of this size can be filled, and at what cost. For a currency pair (e.g. ZAR-USD, NGN-USD, KES-USD, USD-MWK) and a ticket size: each venue type (exchange order books, stablecoin pools, P2P adverts, ramps and off-ramps, OTC desks, banks) with whether the evidence read shows depth at that size, the measured slippage and landing cost at that size with a Rate Receipt, the largest size the evidence supports, or Being measured with the reason. With prefunding (amount held, days held), idle fiat prefunding and stablecoin reserves on the same evidence: cost to enter and exit at that size, the peg and exit depth from the stablecoin profiles, and the past official-rate move over the same days. Figures, not advice. Unknowns listed. SwapEazi never holds, creates or moves liquidity. Free callers see Route A, Route B; a router key shows venue names. Same as GET/POST /api/v1/liquidity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO 4217 code of the destination currency (what lands), e.g. 'USD'. | |
| from | No | ISO 4217 code of the source currency (what leaves), e.g. 'ZAR'. | |
| pair | No | e.g. ZAR-USD or USD-MWK. Or from and to. | |
| amount | Yes | Ticket size, in the from currency unless amount_currency says otherwise. | |
| access_key | No | A router key (rk_...), if not sent as a Bearer header. | |
| prefunding | No | { amount, currency?, corridor?, days_held }: an amount held to prefund the corridor, and for how many days (1 to 365). | |
| amount_currency | No | The from or the to currency. Default from. |