# AgentDiet USDC Quote Audit

> AgentDiet USDC Quote Audit is a paid API for AI agents from status.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Audits a URL's HTTP content for token compression ROI, returning a compression ratio proof showing how much context window reduction AgentDiet would achieve

## Facts

- Endpoint: GET https://status.agentdiet.dev/v1/usdc-quote-audit?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-usdc-quote-audit-2881fd47
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l0KWH2x-Y8bd_CLZ6Mb_C

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-usdc-quote-audit-2881fd47
```

Example prompt: Can you run a compression ROI audit on https://example.com/longpage using a GET request and tell me what compression ratio AgentDiet would achieve?

## When to prefer this

Use this endpoint when you need to evaluate the compression ROI of a specific URL before committing to full AgentDiet distillation — ideal for cost-benefit analysis, pre-flight checks in agent pipelines, or benchmarking which pages are worth distilling. Prefer this over full distillation endpoints when you only need the compression ratio estimate, not the actual compressed content.

## Known failure modes

- Invalid or unreachable URL returns error status
- Missing required 'input' object or 'method' field returns schema validation error
- Target URL returns non-HTTP content causing parse failure
- Rate limiting or payment failure with x402 protocol if USDC not provided
- Timeout if target URL is slow to respond

## How this service works

Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.

## Output

Returns a JSON object with a status field ('ok'), a data object, and an roi_proof containing a compression_ratio_pct value (e.g. 91.4%) indicating how much the target URL's content can be compressed for LLM context window purposes.

## 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": {
      "url": {
       "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-usdc-quote-audit-2881fd47/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from status.agentdiet.dev](https://www.zero.xyz/host/status.agentdiet.dev/llms.txt)
