> ## Documentation Index
> Fetch the complete documentation index at: https://staging.docs.aile.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Liquidity and capacity

> How much you can trade at a firm price right now, how to read it, and what to do when you need more on a corridor.

## Getting current capacity

Live: the largest firm size each way per pair on [Trade sizes and limits](https://staging.docs.aile.tech/reference/trade-sizes.md); midmarket rate and spread on [Rates & fees](https://staging.docs.aile.tech/reference/rates-and-fees.md).

Aile owns no inventory. Independent market makers quote from what they hold, and the API tells you, at
every step, how much that is:

* `GET /levels` → `maxFirmSize` per direction: the largest size you can get a firm quote for right now,
  in both tokens, with the price after the spread.
* `GET /quote` → `maxFirmSize` again, at the rate you were just quoted.
* A request above it answers `400 over-size`, with the maximum in the detail.

## Reading the levels

```json theme={null}
{
  "sellToken": "EURC",
  "buyToken": "USDC",
  "firmQuoted": true,
  "makers": 1,
  "maxFirmSize": { "sellAmount": "24714984", "buyAmount": "27680005" },
  "reference": { "rate": "1.122775501", "source": "api", "at": 1794287115 }
}
```

* `makers` is how many makers quote this direction now.
* `maxFirmSize` is bounded by the maker's balance of the bought token, its allowance to the
  order protocol, the largest swap its book allows, and quotes it is currently holding for other takers.
  It moves as fills happen and as the maker rebalances.
* `reason` on a direction that is not quoted tells you whether it is a funding question
  (`maker-underfunded`, `maker-allowance`), a pricing one (`no-price`) or a venue one (`kill-switch`).

## Need more on a corridor?

If your product needs more than the levels show on a pair, a size that must always be available, or a
pair that is not quoted yet, write to [hello@aile.tech](mailto:hello@aile.tech) with the corridor, the
expected daily volume and ticket sizes, and the hours that matter to you. Dedicated capacity is arranged
with the market makers per corridor; the venue itself stays open and permissionless.

## Becoming a maker

The maker side is open to independent trading firms that hold inventory in these stablecoins and want to
quote on the venue from their own wallets. Write to [hello@aile.tech](mailto:hello@aile.tech).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.