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

Queries ArXiv by paper ID or topic and returns structured abstracts, authors, PDF links, and BibTeX citations in a compact agent-ready format

## Facts

- Endpoint: POST https://onchain-risk.agentdiet.dev/v1/preprint-digest?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-f680a58b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fVypZQZn4dXTpXk8DiI1T

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-f680a58b -d '<json body>'
```

Example prompt: Can you look up ArXiv paper 2308.11432 and give me the abstract, authors, PDF link, and BibTeX so I can cite it in my paper?

## When to prefer this

Choose this endpoint when you need structured, citation-ready metadata (including BibTeX) from ArXiv papers — either by exact paper ID or topic search — in a compact token-efficient format ready for agent pipelines. Prefer this over raw ArXiv API calls when you want parsed, structured output without handling ArXiv's XML feed yourself, or when operating in an x402/MCP-native payment environment.

## Known failure modes

- Invalid or non-existent ArXiv paper ID returns empty result or error
- Overly broad search query may return low-relevance or too many results
- ArXiv rate limiting or downtime may cause upstream failures
- Very new papers not yet indexed on ArXiv may not be found
- Empty or missing query field returns a validation error

## 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/preprint-digest)

## Output

Returns structured metadata for matching ArXiv papers including: title, abstract text, author list, publication date, ArXiv ID, direct PDF link, and formatted BibTeX citation — all in a compact token-efficient format suitable for agent consumption.

## 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-f680a58b/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)
