# AgentDiet Citation Search

> AgentDiet Citation Search is a paid API for AI agents from agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

Executes live Google News RSS and HackerNews Algolia searches, returning clean token-pruned results with zero ad bloat for AI agent grounding.

## Facts

- Endpoint: GET https://agentdiet.dev/v1/citation-search?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-citation-search-ad947c3e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_en_dYSdSZD_toUh4_CNgD

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-citation-search-ad947c3e
```

Example prompt: Search for the latest news and HackerNews discussions about 'Anthropic Claude model releases' and give me clean, token-efficient citations I can use to ground my response.

## When to prefer this

Choose this endpoint when you need live, real-time web search results specifically from Google News and HackerNews in a token-efficient, ad-free format suitable for AI agent grounding. Prefer it over general web scrapers when you want clean citation-ready tech news snippets without parsing overhead, and when you need cost-predictable per-call pricing at $0.01 USDC.

## Known failure modes

- Empty results if query is too niche or misspelled
- Rate limiting or upstream RSS/Algolia outages may cause failures
- Very broad queries may return noisy or irrelevant results
- Non-English queries may yield sparse results depending on RSS feed coverage
- Payment failure (x402 protocol) if insufficient USDC balance

## How this service works

Executes live Google News RSS + HackerNews Algolia search queries and returns clean, token-pruned results with zero ad bloat. (Live x402 v2, IETF MPP & MCP endpoint at https://agentdiet.dev/v1/citation-search)

## Output

A list of clean, token-pruned search result objects from Google News RSS and HackerNews Algolia, each containing headline, URL, source, publication date, and a brief snippet — free of advertisements and promotional content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "minLength": 1,
   "description": "Search query for live news, technical articles, and web results"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-citation-search-ad947c3e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdiet.dev](https://www.zero.xyz/host/agentdiet.dev/llms.txt)
