# AgentDiet SERP Extract – Web Distillation to Agent-Ready Markdown

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

Fetches a URL or search result page and distills it into compressed, agent-ready markdown, returning token-efficient content with ROI compression metrics.

## Facts

- Endpoint: GET https://github-audit-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-to-agent-ready-markdown-01ec7bec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q3pZUSU6vS3RfHPMSIRwo

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-to-agent-ready-markdown-01ec7bec
```

Example prompt: Pull the content from https://docs.example.com/api-reference and distill it into clean markdown so I can read it without wading through all the navigation and boilerplate — show me the compression ratio too.

## When to prefer this

Choose this endpoint when an AI agent needs to ingest web page or SERP content in a token-efficient way — especially when LLM context window cost is a concern. It is preferred over raw HTML fetching or generic scrapers because it returns clean, structured markdown with built-in compression metrics, making it easier to slot directly into an agent's reasoning loop without preprocessing.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint may return an error or empty content field
- Paywalled or JavaScript-heavy pages may yield low-quality or empty markdown
- Very short pages may show low compression ratios, diminishing the ROI value
- Payment failure via x402/HTTP 402 if USDC balance is insufficient — request blocked before processing
- Rate limiting if too many requests are made in rapid succession

## 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 markdown (with title), a status field, and an roi_proof block showing raw_tokens, distilled_tokens, tokens_saved, compression_ratio_pct, and roi_multiplier — giving the agent both the content and a measurable proof of token efficiency.

## 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-to-agent-ready-markdown-01ec7bec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from github-audit-72343955726.us-central1.run.app](https://www.zero.xyz/host/github-audit-72343955726.us-central1.run.app/llms.txt)
