# AgentDiet 8K Events Context Distiller

> AgentDiet 8K Events Context Distiller is a paid API for AI agents from rag-diet.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Fetches and compresses financial or event data for a given ticker into a token-efficient, distilled context window snapshot with ~91% compression ratio

## Facts

- Endpoint: GET https://rag-diet.agentdiet.dev/v1/8k-events?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-8k-events-context-distiller-c5c630a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g51xLzgekJtXUU7c1C9FG

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-8k-events-context-distiller-c5c630a5
```

Example prompt: Pull the AgentDiet 8K events distillation for AAPL — I need a compressed, token-diet version of recent 8K filing events to fit in my context window without blowing the token budget.

## When to prefer this

Choose this endpoint when an AI agent needs to ingest financial 8K event data but must stay within tight context window token limits. It is specifically suited for agentic pipelines that operate under token budgets and need verifiable compression ratios rather than raw unprocessed SEC data. Prefer over raw SEC EDGAR feeds when token efficiency and deterministic compression proof are required.

## Known failure modes

- Invalid or unrecognized ticker symbol returns empty or error data payload
- Payment not settled in USDC on Base causes x402 payment-required rejection
- Missing required 'input' object or 'type'/'method' fields causes schema validation error
- Network or node unavailability may return a non-200 status
- Unsupported HTTP method in the method enum returns a validation error

## How this service works

Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.

## Output

Returns a JSON object with a 'data' field containing the distilled event payload, a 'status' field indicating success, and an 'roi_proof' object containing 'compression_ratio_pct' (e.g. 91.4%) showing how much the original content was compressed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "ticker": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-8k-events-context-distiller-c5c630a5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rag-diet.agentdiet.dev](https://www.zero.xyz/host/rag-diet.agentdiet.dev/llms.txt)
