# PoolProof Exit Cost Calculator

> PoolProof Exit Cost Calculator is a paid API for AI agents from poolproof.ru, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns the real, live-quoted cost of exiting a Solana position at a specific size, including slippage flags and routing details

## Facts

- Endpoint: POST https://poolproof.ru/v1/exit-cost
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/poolproof-exit-cost-calculator-fb811a8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gjhExLh0T_cxzu512WozD

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-calculator-fb811a8d -d '<json body>'
```

Example prompt: What will it actually cost me to exit my 50,000 USDC position in this Solana token right now — check the live route and tell me if there's a size wall or any exit cost flags I should know about.

## When to prefer this

Use this endpoint when you need a live, size-aware exit cost quote for a Solana position — not theoretical slippage estimates. It is the right choice when position size is large enough to matter (i.e., you could move the market), when evaluating pump.fun or low-cap tokens with thin liquidity, or when you need explicit SIZE_WALL and EXIT_COST flag signals before executing a trade. Prefer it over generic price feeds or TVL metrics when the question is specifically 'what will I actually receive if I sell right now at this exact size?'

## Known failure modes

- Token address not found or not a valid Solana token — returns ok:false with error flags
- Position size too large for any available route — SIZE_WALL flag raised
- Network or RPC issues preventing live route fetch — ok:false response
- Missing required input fields — malformed request error
- Token has no active liquidity pools — router returns no viable exit path

## How this service works

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

## Output

A JSON object with an 'ok' boolean indicating success, a 'verdict' string summarizing the exit assessment, an array of 'flags' (each with a code like SIZE_WALL or EXIT_COST and a message), and a 'disclaimer'. Together these tell you the real-world cost and feasibility of exiting your position at the requested size using a live DEX router quote.

## 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-calculator-fb811a8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from poolproof.ru](https://www.zero.xyz/host/poolproof.ru/llms.txt)
