# AgentDiet MCP Gateway Realtime Web Grounding

> AgentDiet MCP Gateway Realtime Web Grounding 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).

Performs real-time web search and grounding queries, returning compressed, structured data with a compression ratio proof

## Facts

- Endpoint: GET https://mcp-gateway.agentdiet.dev/v1/realtime-web-grounding?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-mcp-gateway-realtime-web-grounding-5c986d88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_I5P3NDSziNhxKTrOUZj2j

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-mcp-gateway-realtime-web-grounding-5c986d88
```

Example prompt: Search the web right now for the latest news on OpenAI's newest model release and give me a grounded, compressed summary of what you find.

## When to prefer this

Choose this endpoint when your agent needs real-time, grounded web data and you want to pay per call in USDC via the x402 protocol without managing API keys. It is especially useful in agentic pipelines that require verified, compressed web context with a compression proof, or when integrating with x402-compatible infrastructure on Base. Prefer it over static knowledge bases when recency and verifiability matter.

## Known failure modes

- Missing or empty 'query' parameter returns no results
- Payment failure (insufficient USDC on Base) blocks the request with HTTP 402
- Invalid 'type' field (must be 'http') causes schema validation error
- Network or upstream web fetch failure returns non-ok status
- Rate limiting if too many requests are made in a short window

## 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

A JSON object with a 'data' field containing the grounded web search results, a 'status' field ('ok' on success), and an 'roi_proof' object containing a compression_ratio_pct value (e.g. 91.4%) indicating how efficiently the web content was compressed for the agent.

## 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": {
      "query": {
       "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-mcp-gateway-realtime-web-grounding-5c986d88/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)
