# 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-23).

Computes and returns 5-minute rolling deltas in DEX buy/sell ratio, DeFiLlama APY spreads, and Polymarket prediction market odds for a given token or asset.

## Facts

- Endpoint: POST 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-23
- 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-5a20ca84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0Ua8y5YilY1YWHrdlH12C

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

Example prompt: Pull the latest 5-minute alpha delta stream for ETH — I want to see how the DEX buy/sell ratio, DeFiLlama APY spreads, and Polymarket odds have shifted in the last interval.

## When to prefer this

Choose this endpoint when you need a stateful, short-interval (5-minute) delta feed combining DEX orderflow, DeFi yield spreads, and prediction market odds in a single call. It is especially suited for autonomous trading bots that need composite alpha signals rather than a single data source. Prefer this over standalone Polymarket or DeFiLlama APIs when you need cross-market shift correlation for a specific token.

## Known failure modes

- Invalid or unrecognized token symbol returns an error or empty delta
- Missing required 'target' field causes a 400-level validation error
- Payment not processed (HTTP 402) if x402 micropayment header is absent or rejected
- Stale or unavailable upstream data (DeFiLlama, DEX, Polymarket) may result in degraded or partial deltas
- Network timeout or service unavailability returns 5xx error

## 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 the 5-minute delta values for the requested token, including DEX buy/sell ratio changes, DeFiLlama APY spread shifts, and Polymarket implied probability movements. The response reflects stateful comparison against the prior 5-minute window, enabling trend 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/serp-extract-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-5a20ca84/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)
