# x402-seller OnChain DeFi Feed

> x402-seller OnChain DeFi Feed is a paid API for AI agents from x402-seller-m8nx.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns raw on-chain DeFi data (DEX pools, liquidity, prices) for a specified blockchain network via a pay-per-call x402 USDC micropayment — no API key required.

## Facts

- Endpoint: GET https://x402-seller-m8nx.onrender.com/onchain/defi
- 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/x402-seller-onchain-defi-feed-bb528dd6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c1G0QqRLPv7mCUOlol8pr

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 x402-seller-onchain-defi-feed-bb528dd6
```

Example prompt: Pull the raw on-chain DeFi pool data for Ethereum right now — I want to see current DEX pool stats and liquidity without needing an API key, just pay per call.

## When to prefer this

Choose this endpoint when you need raw on-chain DeFi pool or liquidity data for a specific chain without managing API keys or subscriptions. Ideal for autonomous agents that want a pay-as-you-go model (0.005 USDC/call via x402). Prefer this over stitching multiple free APIs when you need a single clean feed of DEX pool data per chain.

## Known failure modes

- Invalid or unsupported chain identifier returns an error or empty result
- Payment of 0.005 USDC not fulfilled causes 402 Payment Required response
- Chain data temporarily unavailable due to RPC node issues
- Rate limiting or provider outage causing delayed or failed response
- Malformed chain parameter returns a 400 Bad Request

## How this service works

Rug protection and decision-ready intelligence for autonomous trading agents. Keyless by design: no signup, no API key — pay a cent per request in USDC (x402). The /alpha/launches LAUNCH RADAR discovers what just launched AND rug-screens every candidate in one call, ranked per-token verdicts — the proactive 'give me safe alpha' call. /vet gives a single-token go/no-go in ONE call by fusing a COMPOSITE rug score (GoPlus static analysis + a LIVE Honeypot.is buy/sell simulation + serial-rugger check) with our SELF-COLLECTED liquidity-drain trend — a rug-in-progress signal that exists nowhere for free because it requires collecting reserves over time. One call is cheaper than the inference tokens you'd burn stitching 4 free APIs, and it stops your agent losing its whole position to a honeypot. Also: /onchain/liquidity drain detector, /screen batch watchlist check, /brief market regime, and raw feeds (prices, stocks, DEX pools, launches, perp funding/OI).

## Output

A JSON object containing raw on-chain DeFi data for the requested blockchain, including DEX pool metrics, liquidity figures, and price feeds. The exact fields vary by chain availability but provide the underlying data needed for trading decisions or dashboard displays.

## 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": [],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "eth",
        "solana",
        "bsc",
        "polygon",
        "arbitrum",
        "optimism"
       ],
       "type": "string",
       "default": "base"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "source": "defillama",
  "tvl_usd": 4527177464,
  "top_protocols": [
   {
    "name": "Aave V3",
    "category": "Lending",
    "tvl_on_chain_usd": 900000000
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-seller-onchain-defi-feed-bb528dd6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-seller-m8nx.onrender.com](https://www.zero.xyz/host/x402-seller-m8nx.onrender.com/llms.txt)
