# Miorail B20 Exit Analysis

> Miorail B20 Exit Analysis is a paid API for AI agents from miorail.xyz, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-16).

Analyzes exit liquidity capacity and feasibility for a given Base chain token (B20), returning a verdict on measurable exit conditions.

## Facts

- Endpoint: GET https://miorail.xyz/api/x402/intelligence/v1/b20/exit-analysis?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/miorail-b20-exit-analysis-c7260174
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__Ja7KdsVCSrlcJ1vC6y1t

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 miorail-b20-exit-analysis-c7260174
```

Example prompt: Can you run an exit analysis on the Base token at contract address 0x1234...abcd and check if I can exit a $500 USDC position without issues?

## When to prefer this

Use this endpoint when you need to assess whether a specific Base chain token has verifiable exit liquidity — particularly before entering or managing a position. It is purpose-built for B20 token exit analysis with optional USDC position-size comparison, making it more specific than generic DEX liquidity checkers. Prefer it when you need a structured verdict with explicit evidence flags rather than raw liquidity numbers.

## Known failure modes

- Missing or invalid tokenAddress returns a validation error
- Token contract not found on Base chain returns no analysis data
- Position size provided but no measured data available at that scale results in missing evidence entries
- Network or upstream data unavailability may result in incomplete verdict
- Invalid contract address format causes request rejection

## How this service works

Miorail x402 paid resource

## Output

Returns a JSON object with the service name, an analysis object containing a verdict with a status field (e.g. 'measured'), and a missingEvidence array listing any gaps in exit capacity evidence — such as whether exit capacity above the largest measured size is established.

## 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": [
      "tokenAddress"
     ],
     "properties": {
      "positionUsdc": {
       "type": "string",
       "description": "Optional; compared only against the exact measured size"
      },
      "tokenAddress": {
       "type": "string",
       "description": "Exact Base contract address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "service": "b20_exit_analysis",
  "analysis": {
   "verdict": {
    "status": "measured"
   }
  },
  "missingEvidence": [
   "exit capacity above the largest measured size is not established"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/miorail-b20-exit-analysis-c7260174/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from miorail.xyz](https://www.zero.xyz/host/miorail.xyz/llms.txt)
