# AgentDiet DEX Screener Proxy

> AgentDiet DEX Screener Proxy is a paid API for AI agents from mcp-gateway.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Fetches DEX token pair data from DexScreener via a metered x402-payment gateway, returning market data for a given token.

## Facts

- Endpoint: GET https://mcp-gateway.agentdiet.dev/v1/dex-screener?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-dex-screener-proxy-20b37291
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__dmFRXtLcYfcnubczEEui

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 agentdiet-dex-screener-proxy-20b37291
```

Example prompt: Pull the DEX Screener data for the token at address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 — I want to see its current price, liquidity, and active trading pairs.

## When to prefer this

Use this endpoint when you need on-chain DEX market data (prices, liquidity, trading pairs) for a specific token address and are operating in an x402/USDC micropayment environment. Prefer this over direct DexScreener API calls when you need metered, agent-friendly pay-per-call access settled on Base without managing API keys.

## Known failure modes

- Invalid or missing token parameter returns empty or error data
- Token not found on any DEX returns empty data object
- Payment failure (insufficient USDC) results in HTTP 402 response
- Gateway or DexScreener upstream outage returns error status
- Malformed query parameters cause request rejection

## How this service works

Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.

## Output

Returns a JSON object with status 'ok' and a data field containing DEX pair information for the queried token (price, liquidity, volume, trading pairs, etc.), sourced from DexScreener and compressed through the gateway.

## 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",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "token": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-dex-screener-proxy-20b37291/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-gateway.agentdiet.dev](https://www.zero.xyz/host/mcp-gateway.agentdiet.dev/llms.txt)
