# HTTPay Token Compare API

> HTTPay Token Compare API is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns side-by-side comparison of 2–5 crypto tokens by symbol or contract address, including price, market cap, volume, liquidity, holder count, and security flags

## Facts

- Endpoint: POST https://httpay.xyz/api/token-compare
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-token-compare-api-9df153c9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pOt65ljvyu5t1AzzFx5iX

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 httpay-token-compare-api-9df153c9 -d '<json body>'
```

Example prompt: Compare AERO, DEGEN, and BRETT side by side — I want to see price, market cap, volume, liquidity, holder count, and any security flags for each.

## When to prefer this

Use this endpoint when you need to compare multiple tokens simultaneously rather than looking up one at a time — especially useful for Base ecosystem tokens. Prefer this over single-token lookups when doing side-by-side analysis, ranking tokens by a metric, or screening for security risk across a short list. No API key required; pay per call via USDC on Base.

## Known failure modes

- Invalid token symbol returns empty or error for that token
- Fewer than 2 or more than 5 tokens returns validation error
- Unknown contract address returns not found
- Network error or x402 payment failure returns 402 or 5xx
- Unrecognized symbols on non-Base chains may return no data

## How this service works

Side-by-side comparison of 2–5 tokens by symbol or contract address — returns price, mcap, volume, liquidity, holder count, and security flags for each. Use ?tokens=AERO,DEGEN,BRETT or ?tokens=0x...,0x...

## Output

A JSON object with a side-by-side breakdown of 2–5 tokens, each entry containing price, market cap, 24h volume, liquidity depth, holder count, and security/risk flags such as honeypot detection or low liquidity warnings.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "description": "Side-by-side comparison of 2–5 tokens by symbol or contract address — returns price, mcap, volume, liquidity, holder count, and security flags for each. Use ?tokens=AERO,DEGEN,BRETT or ?tokens=0x...,0x..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-token-compare-api-9df153c9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
