# 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 and returns 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/perps-funding-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-61bcab1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o1GX4iYPczrym4U20fYK-

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-61bcab1d
```

Example prompt: Pull 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 where Polymarket odds are moving right now.

## When to prefer this

Choose this endpoint when an autonomous trading agent needs a single, stateful, multi-source alpha feed combining DEX orderflow pressure, DeFi yield spreads, and prediction market odds into a unified 5-minute delta signal — especially when real-time momentum detection across multiple on-chain and off-chain sources is required simultaneously rather than querying each data source separately.

## Known failure modes

- Missing or invalid 'target' parameter returns a validation error
- Unknown or unsupported token symbol may return empty or null deltas
- Upstream data source outages (DexScreener, DeFiLlama, Polymarket) may cause partial or stale results
- Payment failure via x402 results in 402 Payment Required response
- Rate limiting may occur under high-frequency polling

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

## Output

Returns a structured object containing stateful 5-minute delta metrics for the requested token, including DEX buy/sell ratio shifts, DeFiLlama APY spread changes, and Polymarket odds movement — designed as real-time alpha signals for autonomous trading bots.

## 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-61bcab1d/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)
