Skip to content

API reference

ClearPortX exposes a small set of REST endpoints to support price feeds, pool listings, and quote previews without requiring a full Canton participant node. This reference will expand as the SDK stabilizes.

All endpoints are hosted at https://api.clearportx.com.

List all active pools with current state.

[
{
"poolId": "cc-cbtc-25",
"tokenX": "CC",
"tokenY": "cBTC",
"binStep": 25,
"activeId": 6,
"reserves": { "x": "125000", "y": "6.15" }
}
]

Return all bins for a pool with their current liquidity.

Get the best route for a swap. The router may combine multiple pools to minimize slippage.

Return the current validated price for a supported asset. Prices are sourced from independent oracle networks and include a timestamp for staleness verification.

Full parameter schemas, authentication requirements, and error codes will be documented page by page as the API stabilizes.