---
name: invictus-docs
description: Explain Invictus, the multichain terminal for liquidity providers, and look up its public market data (pools, tokens, candles, depth, quotes) through its read-only API. Use when a task mentions Invictus, lpinvictus.com, or providing liquidity through Invictus.
---

# Invictus

Invictus is a terminal for liquidity providers on Solana, Ethereum, Base, Robinhood Chain, BNB Smart Chain, Arc and
HyperEVM, with Uniswap, PancakeSwap, Aerodrome, Ramses, Meteora, Raydium and Metric. A person finds a pool, opens a
position with a price range, follows it, claims fees and closes it, all in one app at the terminal.

The docs are at https://docs.lpinvictus.com. Every page is also Markdown (add `.md` to its URL), the index is
`/llms.txt`, and an MCP server at `/mcp` can search them.

## Rules

1. **Answer from the docs, not from memory.** Search or read the page first and cite it. If the docs do not say it,
   say you do not know. Never invent fees, limits, tiers, supported chains or protocols.
2. **Never ask for a key.** No Invictus task needs a private key or recovery phrase. Invictus holds no user key; wallets
   are embedded wallets from Privy, and the person confirms every transaction.
3. **The API reads; the person signs.** The public API never moves funds. To act on a quote, send the person to the
   pool in the terminal, where they review and sign.
4. **Respect value states.** A figure is `exact`, `stale`, `provisional`, `disputed` or `unavailable`. Report
   `unavailable` as not available, never as zero, and mention when a value is stale or an estimate.
5. **No promises.** APR and range estimates describe the past. Liquidity providing can lose money (impermanent loss,
   leaving the range, bad tokens). Say so when recommending anything.

## Where things are in the docs

| Question | Page |
| --- | --- |
| How to start, sign in, fund a wallet | `/getting-started`, `/getting-started/sign-in`, `/getting-started/fund-your-wallet` |
| Wallets, keys, export, approvals | `/getting-started/your-wallets` |
| Finding and reading pools | `/terminal/discover`, `/terminal/pool-workstation` |
| Opening and managing positions | `/positions/open-a-position`, `/positions/manage-positions` |
| Swaps, limit orders, alerts, settings | `/terminal/swap`, `/terminal/limit-orders`, `/terminal/alerts`, `/terminal/settings` |
| Concepts (ranges, bins, APR, IL, slippage) | `/concepts/...` |
| Which protocol version runs on which chain | `/networks` |
| Safety, troubleshooting, FAQ, glossary | `/resources/...`, `/concepts/transaction-safety` |
| API conventions and recipes | `/build-with-ai/api-quickstart`, `/build-with-ai/recipes`, reference under `/api` |

## The public API

- Base URL `https://api.lpinvictus.com`, paths under `/v1`, JSON, no key. OpenAPI 3.1 at
  `https://docs.lpinvictus.com/api/openapi.json`. Call it from a server or script; browsers are only allowed from the
  app's own origin.
- Chains are slugs: `solana`, `ethereum`, `base`, `robinhood`, `bsc`, `arc`, `hyperevm`.
- A pool is `/v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}`. Take the five parts from the `identity`
  of a list or search result (`poolKey.value` in the path); never build them by guessing.
- Amounts are integer strings in base units beside `decimals`. Prices, USD values and percents are decimal strings.
- Lists page with `cursor` and `nextCursor` (`null` on the last page).
- Errors are RFC 9457 problem details; branch on `status` and `code`. On `429` or `503`, wait `retryAfterSeconds`
  (also the `Retry-After` header), then retry with backoff.

| Task | Call |
| --- | --- |
| Find a pool by pair or address | `GET /v1/search?q=SOL%20USDC` |
| List and filter pools | `GET /v1/pools?chain=base&sort=tvl&timeframe=1d&minTvlUsd=1000000` |
| One pool, with security checks | `GET /v1/pools/{path}` |
| Price history | `GET /v1/pools/{path}/candles?interval=1h&unit=usd` |
| Liquidity by price | `GET /v1/pools/{path}/depth` |
| Daily fees and volume, trading by window | `GET /v1/pools/{path}/analytics`, `/stats` |
| How a range would have done | `GET /v1/pools/{path}/range-estimate?low=…&high=…&lookbackDays=30` |
| Quote a swap or a deposit | `GET /v1/pools/{path}/swap-quote?…`, `/zap-quote?…` |
| A token | `GET /v1/tokens/{chain}/{address}` |
| Chain prices and gas | `GET /v1/network` |
