# 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 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://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: agentdiet.dev
- Website: https://agentdiet.dev
- Canonical page: https://www.zero.xyz/c/agentdiet-dev-stateful-5-minute-defi-dex-polymarket-alpha-delta-stream-6478df24
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mKNClqzA99y944pGyzkIB

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 agentdiet-dev-stateful-5-minute-defi-dex-polymarket-alpha-delta-stream-6478df24
```

Example prompt: Pull the latest 5-minute orderflow and yield delta signals for ETH — I want to see the DEX buy/sell ratio shift, the DeFiLlama APY spread change, and how Polymarket odds have moved in the last interval.

## When to prefer this

Choose this endpoint when an autonomous trading bot or DeFi agent needs stateful, cross-source alpha signals — specifically the convergence of DEX orderflow momentum, yield spread changes, and prediction market sentiment — for a specific token on a 5-minute rolling basis. Prefer it over generic price feeds when you need delta (change) metrics rather than raw price, and when Polymarket odds context is relevant to the trade decision.

## Known failure modes

- Missing or invalid 'target' parameter returns a validation error
- Unknown or unsupported token symbol may return empty or null delta fields
- Upstream data source outages (DeFiLlama, DEX feeds, Polymarket) may cause stale or partial responses
- Payment required (HTTP 402) if x402 micropayment is not supplied
- Rate limiting if the endpoint is called more frequently than the 5-minute cadence supports

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

## Output

Returns a structured object containing real-time 5-minute delta metrics for the requested token: DEX buy/sell ratio shifts, DeFiLlama APY spread changes, and Polymarket prediction market odds movements. The data is stateful, meaning it reflects the computed change since the previous 5-minute snapshot.

## 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/agentdiet-dev-stateful-5-minute-defi-dex-polymarket-alpha-delta-stream-6478df24/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdiet.dev](https://www.zero.xyz/host/agentdiet.dev/llms.txt)
