# 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 serp-extract.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-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

## Facts

- Endpoint: GET https://serp-extract.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: serp-extract.agentdiet.dev
- Website: https://serp-extract.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/serp-extract-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-63b8ec94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Spn2uArXkMOT7XDA4p-uE

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 serp-extract-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-63b8ec94
```

Example prompt: Give me the latest 5-minute delta feed for ETH — show me the DEX buy/sell ratio shift, DeFiLlama APY spread change, and any Polymarket odds movement right now.

## When to prefer this

Choose this endpoint when you need stateful, time-windowed delta signals (not just a snapshot) across DEX orderflow, DeFi yield spreads, and prediction market odds simultaneously for a single token. It is ideal for autonomous trading bots that need to detect momentum shifts, yield arbitrage windows, or correlated on-chain and prediction-market moves within a 5-minute cadence rather than polling multiple separate APIs.

## Known failure modes

- Missing or invalid 'target' parameter returns a validation error
- Unrecognized token symbol may return empty or null deltas
- Upstream DexScreener, DeFiLlama, or Polymarket API outages may cause degraded or stale data
- Rate limiting or payment failure (HTTP 402) if x402 payment not completed
- Generic 500 error if stateful session data is unavailable for the requested asset

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

## Output

Returns a structured object containing computed 5-minute delta values including DEX buy/sell ratio shifts, DeFiLlama APY spread changes, and Polymarket odds movements for the requested token, enabling stateful comparison against the prior interval for alpha signal detection.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "target"
 ],
 "properties": {
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1,
   "description": "Maximum number of items to return per page (1-100)"
  },
  "cursor": {
   "type": "string",
   "description": "Opaque pagination cursor for fetching the next page"
  },
  "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/serp-extract-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-63b8ec94/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from serp-extract.agentdiet.dev](https://www.zero.xyz/host/serp-extract.agentdiet.dev/llms.txt)
