# AgentDiet Prediction Oracle

> AgentDiet Prediction Oracle is a paid API for AI agents from status.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Returns a prediction or intelligence result for a given topic, with a reported compression ratio as proof of context distillation efficiency.

## Facts

- Endpoint: GET https://status.agentdiet.dev/v1/prediction-oracle?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-prediction-oracle-37d92201
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gqBsObJFQFWc0Wh5Tod3A

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-prediction-oracle-37d92201
```

Example prompt: Can you query the AgentDiet prediction oracle on the topic 'DeFi yield trends' and show me the prediction result along with the compression ratio it achieved?

## When to prefer this

Choose this endpoint when you need a cheap ($0.01 USDC), fast, topic-based prediction with built-in context compression metrics, especially in agent-to-agent (A2A) or machine-to-machine workflows that require micropayment-gated intelligence nodes on Base. Prefer it over general LLM calls when you want verifiable token efficiency (compression ratio proof) bundled with the result.

## Known failure modes

- Payment not settled in USDC on Base — returns 402 Payment Required
- Missing or invalid 'input' object — returns 400 Bad Request
- Topic query param absent or malformed — may return empty or default data
- Service node unavailable — returns 503 or non-ok status
- Unsupported HTTP method — returns 405 Method Not Allowed

## How this service works

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

## Output

A JSON object containing a 'data' field with the prediction payload, a 'status' field ('ok' on success), and a 'roi_proof' object that includes a 'compression_ratio_pct' value (e.g. 91.4%) indicating how much the context 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": {
      "topic": {
       "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-prediction-oracle-37d92201/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from status.agentdiet.dev](https://www.zero.xyz/host/status.agentdiet.dev/llms.txt)
