# 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 prediction-market odds for a given token or asset.

## Facts

- Endpoint: POST https://alpha-stream.agentdiet.dev/v1/alpha-stream?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-b6950e9b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BfpSVdI6ipbjn6iBvEiZk

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-b6950e9b -d '<json body>'
```

Example prompt: Pull the latest 5-minute alpha delta stream for AERO — I want to see the DEX buy/sell ratio shift, DeFiLlama APY spread, and any Polymarket odds movement right now.

## When to prefer this

Choose this endpoint when you need a stateful, time-delta view of DeFi alpha signals — specifically the combination of DEX orderflow pressure, yield APY spreads, and prediction market odds shifts — rather than a simple point-in-time snapshot. It is purpose-built for autonomous trading bots that need to detect momentum changes across multiple on-chain and off-chain signals in a single call.

## Known failure modes

- Missing or empty 'target' field returns a validation error
- Unknown or illiquid token symbol may return empty or null delta fields
- Upstream DexScreener, DeFiLlama, or Polymarket API outage causes partial or failed response
- Rate limiting or payment failure (HTTP 402) if x402 micropayment is not properly processed
- Stale data if upstream feeds have not refreshed within the 5-minute window

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

## Output

Returns a structured delta object containing 5-minute shifts in DEX buy/sell ratio, DeFiLlama APY spreads across protocols, and Polymarket prediction-market odds for the specified token or asset, enabling stateful alpha detection for autonomous trading agents.

## 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-b6950e9b/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)
