# Stateful 5-Minute DeFi, DEX & Polymarket Alpha Delta Stream

> Stateful 5-Minute DeFi, DEX & Polymarket Alpha Delta Stream is a paid API for AI agents from workflows.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-21).

Computes real-time 5-minute stateful deltas in DEX buy/sell ratios, DeFiLlama APY spreads, and Polymarket prediction market odds for a given token or asset.

## Facts

- Endpoint: GET https://workflows.agentdiet.dev/v1/autonomous-trading-alpha?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: workflows.agentdiet.dev
- Website: https://workflows.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/workflows-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-alpha-5662e6f2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tfYkDB9JlJ2Z9PKx4ROHG

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 workflows-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-alpha-5662e6f2
```

Example prompt: What are the latest 5-minute stateful deltas for ETH — give me the DEX buy/sell ratio shift, DeFiLlama APY spread change, and Polymarket odds movement right now.

## When to prefer this

Choose this endpoint when an autonomous trading agent needs a combined, stateful multi-source alpha signal (DEX orderflow + DeFiLlama yield + Polymarket odds) computed as 5-minute deltas rather than raw snapshots. Prefer this over single-source DEX or orderflow APIs when cross-market signal fusion is required for trade decisioning.

## Known failure modes

- Missing or invalid 'target' parameter returns a validation error
- Unknown or unsupported token symbol may return empty or null delta fields
- Payment failure (x402) results in 402 response blocking data access
- Downstream data source outage (DexScreener, DeFiLlama, Polymarket) may return stale or incomplete deltas
- Rate limiting or quota exhaustion returns an error response

## How this service works

Stateful 5-minute delta feed for autonomous trading bots: computes real-time shifts in DEX buy/sell ratio, DeFiLlama APY spreads, and Polymarket odds. (Live x402 v2, IETF MPP & MCP endpoint at https://workflows.agentdiet.dev/v1/autonomous-trading-alpha)

## Output

Returns a structured object containing real-time 5-minute deltas: DEX buy/sell ratio changes, DeFiLlama APY spread movements, and Polymarket odds shifts for the requested token or asset — all computed as stateful incremental changes from the prior 5-minute window.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "target"
 ],
 "properties": {
  "target": {
   "type": "string",
   "minLength": 1,
   "description": "Primary token symbol or asset (e.g. AERO, ETH, SOL) to track stateful 5-minute orderflow and yield deltas"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/workflows-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-alpha-5662e6f2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from workflows.agentdiet.dev](https://www.zero.xyz/host/workflows.agentdiet.dev/llms.txt)
