# VAPE Liquidity Check

> VAPE Liquidity Check is a paid API for AI agents from vape-x402.vapex402.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Analyzes a Base chain token/contract address to assess its liquidity depth, top DEX pair, and safety verdict for on-chain trading.

## Facts

- Endpoint: GET https://vape-x402.vapex402.workers.dev/scan/liquidity_check
- 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/vape-liquidity-check-29699f40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rfBUfcs8FVTRKwKj5IfvN

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 vape-liquidity-check-29699f40
```

Example prompt: Can you check the liquidity safety of the token at 0xAbCd1234... on Base and tell me whether it's safe to trade, how much liquidity it has in USD, and which DEX has the top pair?

## When to prefer this

Use this endpoint when you need a fast, pay-per-call liquidity and safety check on a specific Base chain token before executing a trade or recommending an investment. Prefer it over generic block explorer lookups when you need a structured verdict and USD liquidity figure from a DEX-aware scanner without requiring your own RPC infrastructure.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty result
- Address is on the wrong chain (non-Base) and chain override not provided — may return no data
- Very low-liquidity or newly deployed tokens may return zero liquidity values
- Network timeouts from on-chain RPC calls may cause delayed or failed responses
- Payment failure ($0.02 USDC via x402) prevents the scan from executing

## How this service works

VAPE liquidity_check — Liquidity depth + top pair DEX for a Base token. Real on-chain/market data, no simulation.

## Output

Returns a JSON object containing the contract address, a safety verdict (e.g. PROCEED or CAUTION/AVOID), the top DEX pair for the token (e.g. Aerodrome), and total liquidity in USD. Agents can use the verdict field to gate trade decisions programmatically.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "optional chain id override, defaults to 8453"
      },
      "address": {
       "type": "string",
       "description": "Base (chain 8453) contract/token address to analyze"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "address": "0x...",
  "verdict": "PROCEED",
  "top_pair_dex": "aerodrome",
  "liquidity_usd": 500000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vape-liquidity-check-29699f40/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vape-x402.vapex402.workers.dev](https://www.zero.xyz/host/vape-x402.vapex402.workers.dev/llms.txt)
