# 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

## Facts

- Endpoint: POST https://onchain-risk.agentdiet.dev/v1/cs-lg-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-0877ebad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_47MLldAxZ9NevsurwRg56

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

Example prompt: Can you search ArXiv for recent papers on retrieval-augmented generation and give me the abstracts, authors, PDF links, and BibTeX for the top results?

## When to prefer this

Choose this endpoint when you need structured, token-efficient ArXiv paper metadata (abstract, authors, PDF, BibTeX) for AI, CS, or math topics, especially in agentic pipelines where compact output and pay-per-call micropayment via x402 USDC are desirable. Prefer over raw ArXiv API scraping when you need pre-formatted BibTeX and normalized metadata without parsing overhead.

## Known failure modes

- Invalid or non-existent ArXiv paper ID returns no results or an error
- Overly broad or ambiguous topic queries may return loosely related papers
- ArXiv API downtime or rate limiting may cause failures
- Payment not completed (HTTP 402) if x402 micropayment is not fulfilled before the call
- Very new papers not yet indexed may not appear in results

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

## Output

A structured response containing paper titles, author lists, abstracts, PDF links, and BibTeX citation strings for papers matching the query or the specified ArXiv ID, formatted for direct agent consumption with minimal token overhead.

## 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-0877ebad/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)
