# AgentDiet MCP Gateway Realtime Search

> AgentDiet MCP Gateway Realtime Search 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 queries through the AgentDiet MCP broker gateway, returning compressed and structured search results paid per-call in USDC.

## Facts

- Endpoint: GET https://mcp-gateway.agentdiet.dev/v1/realtime-search?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-search-9f9945a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aYWE_VXIOtbkl2tkE7vuL

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-search-9f9945a4
```

Example prompt: Search the web in real time for the latest news on quantum computing breakthroughs and give me the top results.

## When to prefer this

Choose this endpoint when an AI agent needs real-time, live web search results with per-call micropayment billing in USDC via x402 protocol, especially within an MCP or A2A agent workflow on the AgentDiet broker infrastructure. Prefer it over static knowledge bases or cached search APIs when freshness of results is critical.

## Known failure modes

- Missing or empty 'query' parameter returns no meaningful results
- Invalid 'type' or 'method' values in the input object cause schema validation failure
- Insufficient USDC balance or failed x402 micropayment results in a 402 Payment Required response
- Network or upstream search provider outage returns an error or empty data object
- Rate limiting or quota exhaustion may return error status

## 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 a 'data' field containing search results, a 'status' field indicating success, and an 'roi_proof' object showing compression ratio (e.g. 91.4%) indicating how efficiently the results were condensed.

## 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-search-9f9945a4/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)
