# PoolProof Exit Cost

> PoolProof Exit Cost is a paid API for AI agents from poolproof.qalibr.ru:7443, paid per call via x402, $0.01/call, status down (last checked 2026-09-01).

Calculates the real cost of exiting a Solana liquidity position at a specified size by routing a live trade quote rather than using theoretical slippage estimates

## Facts

- Endpoint: POST https://poolproof.qalibr.ru:7443/v1/exit-cost
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/poolproof-exit-cost-e99e470e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W7gb0N0xWId-Oy8gakkXA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability poolproof-exit-cost-e99e470e -d '<json body>'
```

Example prompt: What will it actually cost me to exit my 50,000 USDC worth of SOL/USDC position on Solana right now — give me the live routed exit cost with any size wall or liquidity flags?

## When to prefer this

Use this endpoint when you need a live, routed exit cost for a specific Solana position size — not a theoretical slippage estimate. Prefer this over static slippage calculators or TVL-based estimates when the actual trade size matters and you need real-time routing to detect size walls or abnormal exit costs before committing to an exit.

## Known failure modes

- Invalid or unsupported token pair returns an error or failed ok status
- Position size too large for any routing path may return SIZE_WALL flag
- Network or RPC issues with Solana may cause stale or unavailable quotes
- Missing required fields (position size, token identifiers) causes request rejection
- Illiquid pools may return unreliable EXIT_COST estimates with appropriate flags

## How this service works

Real cost of exiting a Solana position AT YOUR SIZE — live route, not theoretical slippage

## Output

Returns a JSON object with an 'ok' boolean indicating success, a 'verdict' string summarizing the exit cost assessment, an array of 'flags' (each with a code like SIZE_WALL or EXIT_COST and a message), and a 'disclaimer'. Empty flags array means no issues were detected. The verdict reflects the live-routed actual cost of exiting the position at the specified size.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
   "ok": {
    "type": "boolean"
   },
   "flags": {
    "type": "array",
    "items": {
     "type": "object",
     "properties": {
      "msg": {
       "type": "string"
      },
      "code": {
       "type": "string"
      }
     }
    },
    "description": "Empty means nothing failed the checks"
   },
   "verdict": {
    "type": "string"
   },
   "disclaimer": {
    "type": "string"
   }
  }
 },
 "description": "What leaving a Solana position actually costs at your size, quoted live against a router. Flags SIZE_WALL, EXIT_COST."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/poolproof-exit-cost-e99e470e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from poolproof.qalibr.ru:7443](https://www.zero.xyz/host/poolproof.qalibr.ru%3A7443/llms.txt)
