# Base Market Snapshot (Gas + DEX Bundle)

> Base Market Snapshot (Gas + DEX Bundle) is a paid API for AI agents from auditor-x402.onrender.com, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-30).

Returns a combined snapshot of live Base network gas metrics and WETH/USDC spot pricing from Uniswap v3 and Aerodrome in a single API call.

## Facts

- Endpoint: POST https://auditor-x402.onrender.com/api/base-market-snapshot?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-market-snapshot-gas-dex-bundle-47fc57c9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oHNuT8uL-XM8mgYN4o7Ye

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 base-market-snapshot-gas-dex-bundle-47fc57c9 -d '<json body>'
```

Example prompt: Give me a full Base market snapshot right now — I need both the current gas fees (base fee, priority fee percentiles, congestion level) and the WETH/USDC spot price with spread across Uniswap v3 and Aerodrome, all in one shot.

## When to prefer this

Choose this endpoint when you need BOTH gas metrics and WETH/USDC DEX pricing for Base in a single request — it is cheaper and faster than calling the gas-optimizer and dex-arbitrage endpoints separately. Prefer the individual sibling endpoints only when you need exclusively gas data or exclusively DEX pricing, not both.

## Known failure modes

- RPC node unavailability causing on-chain read failure
- Uniswap v3 or Aerodrome pool data temporarily inaccessible
- Payment not fulfilled resulting in 402 rejection
- Malformed POST body returning 400 validation error
- Render.com cold start latency causing timeout on first request

## How this service works

BUNDLE: one-call Base market snapshot combining live gas (base fee, priority-fee percentiles, congestion) AND WETH/USDC spot price + gross spread across Uniswap v3 / Aerodrome. Use this when you want both gas and DEX pricing in a single cheaper call; do NOT also call gas-optimizer or dex-arbitrage for the same purpose. Prefer the individual tools only if you need just one of the two.

## Output

Returns a unified JSON object containing: live Base network gas data (current base fee, priority fee percentiles at multiple levels, congestion indicator) and WETH/USDC DEX pricing data (spot price from Uniswap v3 and Aerodrome v2, gross spread between venues). All data is read on-chain in real time.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [],
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-market-snapshot-gas-dex-bundle-47fc57c9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from auditor-x402.onrender.com](https://www.zero.xyz/host/auditor-x402.onrender.com/llms.txt)
