# Token Liquidity Relative to Market Cap — Before and After Comparison

> Token Liquidity Relative to Market Cap — Before and After Comparison is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Computes and compares a token's liquidity-to-market-cap ratio across two time snapshots, returning a deterministic before/after verdict.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-liquidity-cap-compare?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-liquidity-relative-to-market-cap-before-and-after-comparison-7221fe08
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dVgmvdBufdDtBS-7vB6LP

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 token-liquidity-relative-to-market-cap-before-and-after-comparison-7221fe08 -d '<json body>'
```

Example prompt: Compare this token's liquidity ratio before and after: before it had $100,000 liquidity and $2,000,000 market cap, and after it has $110,000 liquidity and $2,200,000 market cap — tell me if the ratio improved.

## When to prefer this

Choose this endpoint when you need a fast, cheap, deterministic comparison of a token's liquidity-to-market-cap ratio across exactly two time snapshots using caller-supplied data. It is ideal for automated reporting pipelines, risk monitoring workflows, and pre/post-event analysis where live market scanning is not required and reproducibility matters. At $0.01 USDC per call it is cost-effective for high-frequency or batch comparison tasks. Prefer alternatives if you need live on-chain data fetching, multi-snapshot time series analysis, or broader token safety scanning.

## Known failure modes

- Missing required fields in before or after objects returns a validation error
- Zero or negative values for liquidity_usd or market_cap_usd are rejected (exclusiveMinimum: 0)
- Values exceeding the maximum (10^16) boundary are rejected
- Payment not included or insufficient USDC results in HTTP 402 and no computation
- Misconfigured caller threshold may produce unexpected pass/fail verdicts

## How this service works

Token liquidity relative to market cap — Before and after comparison: Before and after comparison for Token liquidity relative to market cap. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded before and after comparison report.

## Output

Returns a structured report containing the liquidity-to-market-cap ratio for both the 'before' and 'after' snapshots, the delta between them, and a deterministic verdict (based on the calculated values or a caller-defined threshold) indicating whether liquidity health improved, worsened, or remained stable. Does not include live market data or trade recommendations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "liquidity_usd": 110000.00000000001,
    "market_cap_usd": 2200000
   },
   "required": [
    "liquidity_usd",
    "market_cap_usd"
   ],
   "properties": {
    "liquidity_usd": {
     "type": "number",
     "default": 100000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "market_cap_usd": {
     "type": "number",
     "default": 2000000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  },
  "before": {
   "type": "object",
   "default": {
    "liquidity_usd": 100000,
    "market_cap_usd": 2000000
   },
   "required": [
    "liquidity_usd",
    "market_cap_usd"
   ],
   "properties": {
    "liquidity_usd": {
     "type": "number",
     "default": 100000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "market_cap_usd": {
     "type": "number",
     "default": 2000000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-liquidity-relative-to-market-cap-before-and-after-comparison-7221fe08/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
