curl -H "Authorization: Bearer lid_live_..." \
https://api.liddie.io/api/v1/conversions/liquidity
const res = await fetch('https://api.liddie.io/api/v1/conversions/liquidity', {
headers: { Authorization: 'Bearer lid_live_...' }
})
const { liquidity } = await res.json()
// liquidity.BTC === true → BTC can currently be backed
{ "liquidity": { "BTC": true, "LTC": true, "DOGE": false, "SOL": true } }
Conversions
Get liquidity
Check which target currencies have Liddie conversion liquidity right now — boolean flags per currency only, never treasury amounts or reserve balances.
GET
/
api
/
v1
/
conversions
/
liquidity
curl -H "Authorization: Bearer lid_live_..." \
https://api.liddie.io/api/v1/conversions/liquidity
const res = await fetch('https://api.liddie.io/api/v1/conversions/liquidity', {
headers: { Authorization: 'Bearer lid_live_...' }
})
const { liquidity } = await res.json()
// liquidity.BTC === true → BTC can currently be backed
{ "liquidity": { "BTC": true, "LTC": true, "DOGE": false, "SOL": true } }
Returns which target currencies can currently be backed. Booleans only — treasury amounts are never exposed. A
false target can still be quoted but will reject at execution.
If a target’s liquidity cannot be determined, it reports false — the check fails closed.
This endpoint takes no parameters — the liquidity map is platform-wide.
Authorization
Dual auth — a secret API key with theconversions:read scope, or a dashboard JWT with the conversions:view permission. Dashboard sessions must belong to a merchant_admin, merchant_member or super_admin role; API-key callers are gated by scope only. See the Authentication guide.
Rate limit: the global default.
Check the target’s liquidity flag before offering it in your UI — a
false target can still be quoted, but the execution will reject, so a successful quote alone is not proof the conversion can run.curl -H "Authorization: Bearer lid_live_..." \
https://api.liddie.io/api/v1/conversions/liquidity
const res = await fetch('https://api.liddie.io/api/v1/conversions/liquidity', {
headers: { Authorization: 'Bearer lid_live_...' }
})
const { liquidity } = await res.json()
// liquidity.BTC === true → BTC can currently be backed
{ "liquidity": { "BTC": true, "LTC": true, "DOGE": false, "SOL": true } }
Response fields
object
Map of currency ticker to boolean:
true when that target currency can currently be backed, false when it cannot (or when its liquidity could not be determined — the check fails closed).Errors
No endpoint-specific error codes are documented for this route. See the Conversions Overview for the shared error envelope.See also
- Get a quote: price a conversion into a backed target.
- Get best route: rank your own balances by real all-in cost to reach a target.
- Check if conversions are enabled: the platform-wide feature switch this map sits behind.