# AgentDiet SERP Extract – Web Distillation Endpoint

> AgentDiet SERP Extract – Web Distillation Endpoint is a paid API for AI agents from json-repair-72343955726.us-central1.run.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-14).

Fetches a URL from the web, distills its content into clean agent-ready markdown, and returns compression metrics showing token savings.

## Facts

- Endpoint: GET https://json-repair-72343955726.us-central1.run.app/v1/serp-extract?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-serp-extract-web-distillation-endpoint-f0432407
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5iBi4PQqd4oRBSz75szIf

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-extract-web-distillation-endpoint-f0432407
```

Example prompt: Fetch the content at https://docs.example.com/api-reference and distill it into clean markdown — I want to use as few tokens as possible when reading it.

## When to prefer this

Choose this endpoint when an AI agent needs to read a web page but wants to minimize token consumption. It is especially valuable when ingesting documentation, articles, or structured web content into an agent context window, where raw HTML would waste tokens on boilerplate, navigation, and markup. Prefer it over raw fetch/scrape approaches when token efficiency matters.

## Known failure modes

- Invalid or unreachable URL returns an error status
- Paywalled or bot-blocked pages may return empty or partial content
- Very short pages with little content may show minimal compression benefit
- Network timeouts on slow external sites
- HTTP 402 payment required if USDC payment header is missing or insufficient

## How this service works

15-App Autonomous Business-to-Agent (B2A) API Hub & MCP Suite. Supports Web Distillation, On-Chain Risk, DEX Token Intelligence, B2B Lead Enrichment, Domain OSINT, Email Verification, SEC Filings, GitHub Audits, Prompt Firewall, and native HTTP 402 (x402 Base USDC).

## Output

A JSON object containing: the distilled page content as clean markdown (with title), a status field, and ROI proof metrics including raw token count, distilled token count, tokens saved, compression ratio percentage, and ROI multiplier — e.g. 95% compression saving 13,500 tokens.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "mode": "markdown",
   "title": "Example Documentation",
   "content": "# Example Documentation\nClean agent-ready markdown..."
  },
  "status": "ok",
  "roi_proof": {
   "raw_tokens": 14200,
   "tokens_saved": 13520,
   "roi_multiplier": 67.6,
   "distilled_tokens": 680,
   "compression_ratio_pct": 95.2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-serp-extract-web-distillation-endpoint-f0432407/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from json-repair-72343955726.us-central1.run.app](https://www.zero.xyz/host/json-repair-72343955726.us-central1.run.app/llms.txt)
