Network

API reference

Liquidity

/liquidity — provider corridors and quotes, the pools, pool quotes and positions, the offers that deliver an amount on a node now, paths and depth between nodes, and pausing and resuming a pool.

Scope liquidity. This is the liquidity of Path Global's API. It is not the reserved Liquidity pillar of PATH (PIP-0005), which no operator's API fills.

https://api.pathglobal.finance/liquidity

A node is an asset on a network: MXN@spei, USDC@base.


Providers

GET /corridors

{ "corridors": [ … ] }: what each provider converts.

{
  "provider": "meridian-markets",
  "from": "USD",
  "to": "MXN",
  "min": { "value": "100.00", "asset": "USD" },
  "max": { "value": "<amount>", "asset": "USD" },
  "receive_on": ["fednow", "ach-us"],
  "deliver_on": ["spei"],
  "funding_in": [{ "method": "prefunded" }],
  "funding_out": [{ "method": "per_trade", "network": "spei", "delivery": "beneficiary" }]
}

funding_in and funding_out state how the provider is paid and how it delivers: method is prefunded, per_trade or net_settled; delivery is settlement_account or beneficiary.

POST /quotes

Firm quotes from every provider that fills a pair for an amount.

{ "from": "USD", "to": "MXN", "amount": { "value": "1000.00", "asset": "USD" }, "deliver_on": "spei" }
FieldRequiredNotes
from, toyesAssets
amountyesIn the asset of from
deliver_on, receive_onnoNetworks

{ "quotes": [ … ] }. A quote carries id, provider, rate, sell, buy, spread_bps, funding_in, funding_out and valid_until. No provider for the pair and amount is 400 pathglobal.liquidity.no_liquidity.


Pools

A pool is prefunded liquidity in one asset on one network.

GET /pools · GET /pools/:id

{ "pools": [ … ] }, or one pool.

FieldNotes
id, asset, networkThe pool and its node
supplied, balance, locked, feesDecimal strings in the asset of the pool
availableWhat the pool can deliver now
levelWhat the pool holds against what was supplied; 1 is balanced
statusopen or paused
backingAn opaque reference to the account the pool's value is held on
version, created_at

GET /pools/:id/trades

{ "trades": [ … ] }: each trade with pool_in, pool_out, sold, bought, rate, fee, fee_bps and at.

POST /pools/quote

What a conversion through the pools costs and delivers. Reserves nothing.

{ "from": "USD", "to": "EUR", "amount": { "value": "1000.00", "asset": "USD" }, "receive_on": "fednow", "deliver_on": "sepa-inst" }
{
  "pool_in": "pool_usd_fednow",
  "pool_out": "pool_eur_sepainst",
  "reference_rate": "…",
  "rate": "…",
  "fee_bps": 0,
  "fee": { "value": "…", "asset": "USD" },
  "sell": { "value": "1000.00", "asset": "USD" },
  "buy": { "value": "…", "asset": "EUR" }
}

rate is the rate applied, fee_bps and fee the fee of this conversion, buy what is delivered. The pools not filling the pair for the amount is 400 pathglobal.liquidity.no_liquidity.

GET /positions

{ "positions": [ … ] }: the caller's positions, each with pool, supplied, fees (what it earned) and updated_at.

POST /pools/:id/supply

Test mode. { "amount" }: supplies the pool from the sandbox bank. 201 with the position.

POST /pools/:id/withdraw

{ "amount", "destination"? }.

With destination, an allowlisted destination, the withdrawal of the caller's position is proposed as a defunding transfer, which waits for a person: 202 with the withdrawal (state pending, paid or cancelled, and its transfer). The position changes once the transfer has settled; until then the withdrawal counts against it. Without destination, in test mode only, the position is paid out at once, fees first, then what was supplied.

CodeStatusWhen
pathglobal.liquidity.no_liquidity400No source fills the pair for the amount
pathglobal.liquidity.pool_unavailable400, 409The pool is paused or cannot pay out the amount now
pathglobal.accounts.insufficient_funds422The position does not hold the amount beyond its pending withdrawals

Offers

Offers reserve nothing: an offer is what the sources of a node can deliver now; a quote of the router is what is firm.

A key with the treasury scope reads depths and amounts as they are. Any other key reads depths, ladders, and amounts short of the request, in bands.

POST /offers

Where an amount can be delivered on a node now. POST /discover takes the same body and answers the same.

{
  "asset": "MXN",
  "network": "spei",
  "amount": { "value": "10000", "asset": "MXN" },
  "from": { "asset": "USD", "network": "fednow" },
  "max_cost_bps": 50,
  "max_seconds": 3600
}
FieldRequiredNotes
asset, networkyesThe node to deliver on
amountyesWhat is to be delivered
fromnoThe node the value comes from. Without it, the value is on the book
atnoAn instant, for a delivery planned later
max_cost_bps, max_secondsnoOffers above either bound are excluded
{
  "query": { "asset": "MXN", "network": "spei", "amount": { "value": "10000", "asset": "MXN" } },
  "deliverable": { "value": "10000.00", "asset": "MXN" },
  "offers": [
    {
      "id": "of_68f6585acac8ef5bce69",
      "source": { "kind": "pool", "id": "pool_mxn_spei" },
      "node": { "asset": "MXN", "network": "spei" },
      "deliver": { "value": "10000.00", "asset": "MXN" },
      "depth": { "value": "85000000.00", "asset": "MXN" },
      "ladder": [{ "up_to": { "value": "8500000.00", "asset": "MXN" }, "cost_bps": 0 }],
      "cost_bps": 0,
      "seconds": 15,
      "final_by": "2026-11-19T13:40:18.416Z",
      "kind": "irrevocable_instant",
      "guarantee": "conditional",
      "open": true,
      "firm": false,
      "valid_until": "2026-11-19T13:40:08.414Z",
      "as_of": "2026-11-19T13:40:03.414Z"
    }
  ],
  "excluded": [],
  "as_of": "2026-11-19T13:40:03.414Z"
}
FieldNotes
deliverableWhat the offers together can deliver on the node now
offers[].sourceWhere the offer comes from: its kind and an opaque id. An offer through other nodes carries its path of edges
offers[].ladderCost by amount: up to each amount, its cost in basis points
offers[].kind, guaranteeThe kind of the delivering network and the guarantee level of the delivery
offers[].open, opens_atA closed network is offered with its next opening
excludedSources left out, with a reason: stale, closed, paused, unhealthy, limit, corridor, unlocated

GET /paths?from&to&amount

Paths between two nodes, with their cost and time. from and to are <asset>@<network>; amount is a decimal string in the asset of from.

{
  "paths": [
    {
      "edges": [
        { "id": "intrabank:USD@fednow>USD@ach-us", "kind": "intrabank", "from": { "asset": "USD", "network": "fednow" }, "to": { "asset": "USD", "network": "ach-us" }, "partner": "sandbox", "cost_bps": 0, "seconds": 1, "open": true, "lockable": false },
        { "id": "convert:USD@ach-us>MXN@spei", "kind": "convert", "from": { "asset": "USD", "network": "ach-us" }, "to": { "asset": "MXN", "network": "spei" }, "provider": "meridian-markets", "cost_bps": 0, "seconds": 1, "open": true, "lockable": false }
      ],
      "cost_bps": 0,
      "seconds": 2,
      "capacity": { "value": "1000.00", "asset": "USD" }
    }
  ]
}

An edge is book (a ledger line), intrabank (two accounts at one partner), same_asset (one currency on two payment networks), bridge (between two chains), ramp (a currency and its token) or convert (a pool or a provider).

GET /depth?asset&network

{ "depth": { "value": "327600000.00", "asset": "MXN" }, "as_of": "2026-11-19T13:40:03.414Z" }

What the sources of a node can deliver now, together.


Operator routes of a pool

These routes need the treasury scope as well. In live mode they are available to a key whose agreement includes operator access; every request carries the signature of a registered operator.

POST /pools/:id/pause

At once.

{ "cause": "<cause>" }

The pool stops quoting and its liquidity cannot be reserved. 200 with the pool, status: "paused".

POST /pools/:id/resume

Under an approval pool_resume, bound to the pool at its current version. { "approval"? }: without it, 202 with { approval }; with an approved one, the pool, status: "open".

GET /pools/:id/movements

{ "movements": [ … ] }: what moved the pool's balance, each of kind supply, withdraw, trade_in, trade_out or fee.

On this page