# 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 alpha-stream.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-11-21).

Computes real-time 5-minute delta shifts in DEX buy/sell ratio, DeFiLlama APY spreads, and Polymarket odds for a given token or asset, maintaining stateful tracking for autonomous trading bots.

## Facts

- Endpoint: POST https://alpha-stream.agentdiet.dev/v1/perps-funding-alpha?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: alpha-stream.agentdiet.dev
- Website: https://alpha-stream.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/alpha-stream-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-3dcb28e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2Oom0TNUl1X-88z7dqMXv

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 alpha-stream-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-3dcb28e2 -d '<json body>'
```

Example prompt: Track the 5-minute alpha delta stream for ETH — I want the latest DEX buy/sell ratio shifts, DeFiLlama APY spread changes, and Polymarket odds movements.

## When to prefer this

Choose this endpoint when you need stateful, continuously updated 5-minute delta signals across DEX orderflow, DeFi yield spreads, and prediction market odds for a specific token — particularly for autonomous trading bots that require incremental change detection rather than point-in-time snapshots. Prefer this over generic DEX or DeFi lookup endpoints when you need cross-source alpha aggregation (DEX + DeFiLlama + Polymarket) in a single call.

## Known failure modes

- Missing or empty 'target' field returns validation error
- Unknown or unsupported token symbol may return empty or null delta fields
- Temporary data-source outages (DexScreener, DeFiLlama, Polymarket) may cause partial or stale results
- Payment required (HTTP 402) if x402 micropayment header is missing or invalid
- Rate limiting if requests exceed allowed frequency

## 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://alpha-stream.agentdiet.dev/v1/perps-funding-alpha)

## Output

Returns a structured JSON object containing stateful 5-minute delta metrics for the requested token, including DEX buy/sell ratio shifts, DeFiLlama APY spread changes, and Polymarket odds movements — designed to feed autonomous trading bots with actionable alpha 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/alpha-stream-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-3dcb28e2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alpha-stream.agentdiet.dev](https://www.zero.xyz/host/alpha-stream.agentdiet.dev/llms.txt)
