# ArXiv AI/CS Paper Search & Structured Token-Diet Digest

> ArXiv AI/CS Paper Search & Structured Token-Diet Digest is a paid API for AI agents from onchain-risk.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-11-21).

Searches ArXiv for AI, CS, or math papers by topic or paper ID and returns structured abstracts, authors, PDF links, and BibTeX citations in a compact, token-efficient format.

## Facts

- Endpoint: POST https://onchain-risk.agentdiet.dev/v1/arxiv-ml-paper-summarizer?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: onchain-risk.agentdiet.dev
- Website: https://onchain-risk.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/onchain-risk-agentdiet-dev-arxiv-ai-cs-paper-search-structured-token-cc08f424
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ez4SVpn4krfwEibr2_1dw

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 onchain-risk-agentdiet-dev-arxiv-ai-cs-paper-search-structured-token-cc08f424 -d '<json body>'
```

Example prompt: Can you find the abstract, authors, PDF link, and BibTeX for the ArXiv paper on attention mechanisms — try searching 'attention is all you need' or use ID 1706.03762?

## When to prefer this

Choose this endpoint when an agent needs to programmatically search or retrieve structured academic paper metadata from ArXiv — especially when BibTeX output and token-efficient structured abstracts are required for downstream LLM processing. Prefer it over raw ArXiv API calls when you need a pre-digested, compact output ready for AI consumption. Ideal for research automation, citation management, and literature discovery workflows.

## Known failure modes

- ArXiv paper ID not found — returns an error indicating the ID is invalid or does not exist
- Ambiguous or overly broad topic query returning no results — empty results set returned
- ArXiv API rate limiting or downtime causing retrieval failure
- Malformed query string causing a 400-level error
- Payment not processed via x402, blocking access to the endpoint

## How this service works

Queries ArXiv for AI/CS/math papers and returns structured abstracts, authors, PDF links, and BibTeX. (Live x402 v2, IETF MPP & MCP endpoint at https://onchain-risk.agentdiet.dev/v1/arxiv-ml-paper-summarizer)

## Output

Returns a structured JSON object containing the paper title, authors, abstract text, ArXiv URL, PDF download link, BibTeX citation string, and other relevant metadata — formatted compactly to minimize token consumption for downstream agent use.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "minLength": 1,
   "description": "ArXiv paper ID (e.g. 2308.11432) or research topic search query"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onchain-risk-agentdiet-dev-arxiv-ai-cs-paper-search-structured-token-cc08f424/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchain-risk.agentdiet.dev](https://www.zero.xyz/host/onchain-risk.agentdiet.dev/llms.txt)
