# 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 delta shifts in DEX buy/sell ratio, DeFiLlama APY spreads, and Polymarket prediction market odds for a given token or asset.

## Facts

- Endpoint: GET https://workflows.agentdiet.dev/v1/alpha-stream?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-1fe02665
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xPHbMzdgFEJ_fCTwXidDq

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-1fe02665
```

Example prompt: Give me the latest 5-minute alpha delta stream for ETH — I want to see the DEX buy/sell ratio shift, any DeFiLlama APY spread changes, and how Polymarket odds have moved so my trading bot can act on fresh signals.

## When to prefer this

Choose this endpoint when you need a single unified stateful delta signal combining DEX orderflow, DeFi yield spreads, and Polymarket prediction market odds for a specific token on a 5-minute cadence. It is purpose-built for autonomous trading bots that need cross-venue alpha shifts rather than raw snapshots — prefer this over calling DexScreener, DeFiLlama, and Polymarket independently when you want pre-computed deltas and confluence signals in one call.

## Known failure modes

- Missing or invalid 'target' parameter returns an error
- Token symbol not recognized by DexScreener or DeFiLlama results in empty or partial data
- Polymarket has no active market for the requested asset, resulting in missing odds delta
- Upstream data provider outage causes stale or missing delta values
- Rate limiting or payment failure (x402) blocks access to the feed

## 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/alpha-stream)

## Output

Returns a structured delta snapshot containing: the 5-minute change in DEX buy/sell ratio for the requested token, shifts in DeFiLlama APY spreads across relevant pools, and changes in Polymarket prediction market odds — all computed statelessly relative to the prior 5-minute window, giving an autonomous agent actionable directional signals.

## 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-1fe02665/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)
