# 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 polymarket-odds.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 ratios, DeFiLlama APY spreads, and Polymarket prediction-market odds for a given token or asset.

## Facts

- Endpoint: POST https://polymarket-odds.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: polymarket-odds.agentdiet.dev
- Website: https://polymarket-odds.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/polymarket-odds-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-a713235e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L5-aus04z7sW9M-Aw6-m2

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 polymarket-odds-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-a713235e -d '<json body>'
```

Example prompt: Pull the latest 5-minute delta stream for ETH — I want to see how the DEX buy/sell ratio, DeFiLlama APY spreads, and Polymarket odds have shifted so I can decide whether to adjust my position.

## When to prefer this

Choose this endpoint when you need a stateful, time-windowed (5-minute) view of combined DEX orderflow pressure, DeFi yield spreads, and prediction market odds shifts for a single asset — particularly for autonomous trading bots that need multi-signal alpha in a single call rather than querying DEX, DeFiLlama, and Polymarket APIs separately.

## Known failure modes

- Missing or empty 'target' field returns a 400 validation error
- Unknown or unsupported token symbol may return empty or null delta values
- Downstream data unavailability (DeFiLlama, DexScreener, Polymarket) may cause partial or stale results
- Payment failure (x402) results in a 402 response requiring USDC micropayment
- Rate limiting or repeated calls without idempotency key may cause duplicate billing

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

## Output

A structured object containing stateful 5-minute delta metrics for the requested asset, including shifts in DEX buy/sell orderflow ratio, DeFiLlama APY spread changes, and Polymarket prediction-market odds movements — designed for consumption by 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/polymarket-odds-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-a713235e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from polymarket-odds.agentdiet.dev](https://www.zero.xyz/host/polymarket-odds.agentdiet.dev/llms.txt)
