# AgentDiet SERP Scraper via X402-Broker

> AgentDiet SERP Scraper via X402-Broker 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 and compresses search engine results page (SERP) data for a given query, returning structured web search results paid per-call in USDC via x402.

## Facts

- Endpoint: GET https://mcp-gateway.agentdiet.dev/v1/serp-scraper?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-serp-scraper-via-x402-broker-8fc7fa02
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l1K3iocikU42GokL-F00I

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-serp-scraper-via-x402-broker-8fc7fa02
```

Example prompt: Search the web for 'best open-source LLM frameworks 2025' and give me the top results — use the SERP scraper that pays per call in USDC.

## When to prefer this

Choose this endpoint when your agent needs live, structured web search results and you are operating in an x402/USDC micropayment environment on Base. It is well-suited for agentic pipelines that require real-time SERP data at low per-call cost ($0.01 USDC) without managing browser infrastructure. Prefer it over traditional SERP APIs when you need x402-compatible pay-per-call billing or when routing through the AgentDiet broker for unified MCP/A2A access.

## Known failure modes

- Missing or empty 'query' parameter returns empty or error response
- Invalid HTTP method (not GET or POST) causes schema validation failure
- Payment failure via x402/USDC results in 402 response and no data returned
- Query triggers bot-detection or rate limiting on the underlying search engine
- Malformed input object (missing required 'type' or 'method' fields) causes 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 a 'data' field containing the scraped SERP results, a 'status' field ('ok' on success), and an 'roi_proof' object showing the compression ratio percentage (e.g. 91.4%), indicating how much the raw SERP data was compressed before delivery.

## 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-serp-scraper-via-x402-broker-8fc7fa02/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)
