# Exit Liquidity Check

> Exit Liquidity Check is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Estimates buy and sell price impact for a Base token at a given trade size and identifies the largest safe exit position without collapsing the pool.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/exit-liquidity
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/exit-liquidity-check-b8e7d2f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4dABWbrVaigEfJ8zgjcxL

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 exit-liquidity-check-b8e7d2f8
```

Example prompt: Before I size into this position, can you check if I can actually exit — run an exit liquidity check on Base token 0x1234...abcd for a $5000 trade size and tell me the sell price impact and the largest amount I can unwind safely?

## When to prefer this

Use this endpoint when an agent or trader needs to evaluate sell-side liquidity risk before sizing into or out of a Base token position. It is specifically designed to catch the hidden rug scenario where tokens appear buyable but are effectively unsellable. Prefer this over generic token screeners when the specific concern is exit feasibility at a given dollar size, and over DEX interfaces when you need a programmatic impact estimate without executing a trade.

## Known failure modes

- Invalid or non-existent token contract address returns an error or empty result
- Token with no liquidity pool on Base returns an uncomputable impact
- Trade size parameter missing or malformed causes a validation error
- Very low liquidity pools may return extreme impact figures that indicate unsellable positions
- Network or RPC issues on Base chain may cause timeouts or stale data

## How this service works

Give a Base token + a trade size in USD → estimated buy AND sell price impact, whether you can unwind that size without collapsing the pool, and the largest safe exit. The hidden form of a rug isn't 'you can't buy' — it's 'you can't sell'. Built for trading agents sizing positions.

## Output

Returns estimated buy and sell price impact percentages for the specified trade size, a flag or assessment of whether that size can be unwound without collapsing the pool, and the calculated largest safe exit size in USD — helping agents determine whether a position is safely exitable before entering.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "size": {
       "type": "string",
       "description": "Trade size in USD"
      },
      "address": {
       "type": "string",
       "description": "Token contract address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/exit-liquidity-check-b8e7d2f8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
