# AgentDiet ArXiv Digest Distillation

> AgentDiet ArXiv Digest Distillation is a paid API for AI agents from onchain-risk-72343955726.us-central1.run.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Fetches and distills ArXiv academic paper content into compressed, agent-ready markdown, reporting token savings and compression ratio

## Facts

- Endpoint: GET https://onchain-risk-72343955726.us-central1.run.app/v1/arxiv-digest?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-arxiv-digest-distillation-cd0519f0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QCcLVZ9Du7vc27Qe-5hC8

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-arxiv-digest-distillation-cd0519f0
```

Example prompt: Can you fetch and distill this ArXiv paper — arxiv.org/abs/2310.06825 — into compressed markdown so I can read the key points without burning through my token budget?

## When to prefer this

Choose this endpoint when an AI agent needs to ingest ArXiv academic paper content while minimizing token usage. Ideal for pipelines where LLM context is limited or expensive, and a high-compression, clean markdown representation of academic papers is needed rather than raw full text. Prefer over direct ArXiv scraping when token efficiency and agent-readable formatting matter.

## Known failure modes

- Invalid or non-existent ArXiv paper ID returns error status
- ArXiv source unavailable or rate-limited causes fetch failure
- Payment not completed (HTTP 402) blocks access until USDC payment made
- Malformed URL parameter results in bad request error
- Very short papers may show low compression ratio

## 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 status 'ok', a data object containing the distilled markdown content and paper title in the requested mode, and an roi_proof block showing raw vs distilled token counts, compression ratio percentage, and ROI multiplier demonstrating token savings achieved.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "query"
   ],
   "properties": {
    "query": {
     "type": "string",
     "minLength": 1,
     "description": "ArXiv paper ID (e.g. 2308.11432) or research topic search query"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "status",
    "roi_proof",
    "data"
   ],
   "properties": {
    "data": {
     "type": "object"
    },
    "status": {
     "type": "string"
    },
    "roi_proof": {
     "type": "object"
    }
   }
  }
 }
}
```

## 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-arxiv-digest-distillation-cd0519f0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchain-risk-72343955726.us-central1.run.app](https://www.zero.xyz/host/onchain-risk-72343955726.us-central1.run.app/llms.txt)
