# AgentDiet Earnings Risk Factors Lookup

> AgentDiet Earnings Risk Factors Lookup 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).

Retrieves distilled, token-compressed earnings risk factor data for a given stock ticker symbol

## Facts

- Endpoint: GET https://rag-diet.agentdiet.dev/v1/earnings-risk-factors?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-earnings-risk-factors-lookup-15c7977f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_88RBhXVgYjI8T60d819h3

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-earnings-risk-factors-lookup-15c7977f
```

Example prompt: Can you pull the earnings risk factors for TSLA — I want the distilled, compressed summary of what risks analysts flag for their upcoming earnings?

## When to prefer this

Choose this endpoint when you need concise, token-efficient earnings risk factor data for a stock ticker and want to minimize context window usage in an AI agent pipeline. It is especially useful when operating under token constraints or when integrating financial risk data into an A2A or MCP workflow that pays per-call in USDC via x402 protocol.

## Known failure modes

- Missing or invalid ticker symbol returns an error or empty data object
- Ticker not covered by the service returns empty or null data
- Payment not settled in USDC on Base results in 402 Payment Required response
- Malformed request (wrong method or missing required fields) returns a validation error
- Service unavailability or node failure returns a non-200 status

## 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 containing distilled, token-compressed earnings risk factor data for the requested ticker, along with a compression ratio proof (e.g. 91.4% compression) and a status field indicating success.

## 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-earnings-risk-factors-lookup-15c7977f/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)
