# IMPERIUM PREFLIGHT SERP Scraper

> IMPERIUM PREFLIGHT SERP Scraper is a paid API for AI agents from preflight.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Performs a web search query and returns scraped SERP results, marketed under a multi-protocol readiness auditor brand.

## Facts

- Endpoint: GET https://preflight.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/imperium-preflight-serp-scraper-baa3257d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ncij5KDQEK2ZAh-3uBKIC

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 imperium-preflight-serp-scraper-baa3257d
```

Example prompt: Can you scrape the search engine results for the query 'best open source LLM frameworks 2025' and return me the top results?

## When to prefer this

Use this endpoint when you need programmatic access to web search results (SERP data) and want to pay per-call at $0.01 USDC via x402 protocol. It is suitable for lightweight, one-off search scraping tasks where you do not want to maintain a scraping infrastructure subscription. Note: the endpoint URL path (/v1/serp-scraper) reveals its actual function as a SERP scraper, despite the verbose multi-protocol branding name.

## Known failure modes

- Missing or empty 'query' parameter returns empty or error result
- Invalid HTTP method (not GET or POST) causes request rejection
- Search engine blocking or rate limiting returns empty data
- Malformed input object missing required 'type' or 'method' fields causes schema validation failure
- Payment not attached results in 402 Payment Required response

## How this service works

Automated 8-gate pre-flight readiness auditor for x402 v2, Dexter gas floor, IETF MPP, MCP Streamable HTTP, A2A v0.3.0 agent cards, OASF records, and ERC-8004 identity.

## Output

Returns a JSON object with a 'data' field containing scraped SERP results, a 'status' field indicating success, and an 'roi_proof' object showing compression ratio (e.g. 91.4%). The actual search result content is nested inside the data object.

## 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/imperium-preflight-serp-scraper-baa3257d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preflight.agentdiet.dev](https://www.zero.xyz/host/preflight.agentdiet.dev/llms.txt)
