# AgentDiet x402 Audit Endpoint

> AgentDiet x402 Audit Endpoint is a paid API for AI agents from token-intel-72343955726.us-central1.run.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-14).

Returns an agent-ready audited summary of what capabilities are exposed at this x402-enabled B2A API hub, including distillation stats and service metadata.

## Facts

- Endpoint: GET https://token-intel-72343955726.us-central1.run.app/v1/x402-audit?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-x402-audit-endpoint-b80d97ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2FOiyDpR-zi9_ZuzxpiRF

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-x402-audit-endpoint-b80d97ce
```

Example prompt: Pull the x402 audit for the AgentDiet hub and show me the distilled markdown summary along with how many tokens were saved and the compression ratio.

## When to prefer this

Use this endpoint when you need a compressed, agent-ready audit of the AgentDiet B2A hub's capabilities and want token-efficiency metrics (compression ratio, ROI multiplier) alongside the distilled content. Prefer it over raw web scraping or documentation fetches when you need structured markdown output with provable token savings and the hub supports x402 micropayments.

## Known failure modes

- Payment not included or invalid x402 USDC token — returns HTTP 402 Payment Required
- Service temporarily unavailable on Cloud Run — returns 5xx error
- Malformed request parameters — returns 400 Bad Request
- Rate limiting if too many calls in short succession
- Audit content may be stale if upstream service metadata has not refreshed

## 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

Returns a JSON object with a 'data' field containing a mode (e.g. 'markdown'), a title, and distilled markdown content summarizing the hub's capabilities; plus an 'roi_proof' object showing raw_tokens, distilled_tokens, tokens_saved, compression_ratio_pct, and roi_multiplier; and a top-level status field.

## 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-x402-audit-endpoint-b80d97ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from token-intel-72343955726.us-central1.run.app](https://www.zero.xyz/host/token-intel-72343955726.us-central1.run.app/llms.txt)
