INVICTUS API
Generated from the zod schemas and the operation registry of @invictus/contracts. Token amounts are base units with the token decimals; prices, USD and percents are decimal text; a value carries its state (exact, stale, provisional, disputed, unavailable). Errors are RFC 9457 problem details.
Version 0.1.0
Base URL
https://api.lpinvictus.comMarket
Pools, tokens, quotes and chain status: the same answer for everyone, read from stored data.
- GETThe Discover list.
/v1/pools - GETStored counts per filter choice.
/v1/pools/facets - GETPools by pair symbols or address.
/v1/search - GETThe token registry of one chain.
/v1/tokens - GETOne token by its address.
/v1/tokens/{chain}/{address} - GETChain prices, gas and provider health.
/v1/network - GETCurrent updates and banners.
/v1/announcements - GETWhat one US dollar is worth.
/v1/rates - GETOne pool.
/v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey} - GETA page of candles.
/v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/candles - GETLiquidity by price bin.
/v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/depth - GETDaily fees and volume.
/v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/analytics - GETTrading by window.
/v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/stats - GETA range over past data.
/v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/range-estimate - GETWhat a deposit would do now.
/v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/zap-quote - GETWhat a swap would do now.
/v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/swap-quote
Live
The live stream of pool and account changes, as a WebSocket.
