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

Returns real-time 5-minute delta shifts in DEX buy/sell ratio, DeFiLlama APY spreads, and Polymarket prediction odds for a specified token or asset.

## Facts

- Endpoint: GET https://shopify-spy.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: shopify-spy.agentdiet.dev
- Website: https://shopify-spy.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/shopify-spy-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-alpha-7577c752
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CEI47e0utLHGfiKGD-Aki

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 shopify-spy-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-alpha-7577c752
```

Example prompt: Give me the latest 5-minute delta stream for ETH — I want to see real-time shifts in DEX buy/sell ratio, DeFiLlama APY spreads, and Polymarket odds right now.

## When to prefer this

Choose this endpoint when you need a stateful, time-windowed (5-minute) delta view combining DEX orderflow, DeFi yield spreads, and prediction market odds in a single call — rather than querying each data source separately. Ideal for autonomous trading bots that require compacted, actionable alpha signals across on-chain and off-chain markets simultaneously. Prefer over point-in-time DEX or APY endpoints when momentum and directional shift matter more than absolute values.

## Known failure modes

- Missing or empty 'target' parameter returns a validation error
- Unknown or unsupported token symbol may return empty or null delta fields
- Polymarket or DeFiLlama data unavailability may result in partial responses with missing spread/odds fields
- Stale state if called less frequently than 5-minute intervals may reduce delta accuracy
- Payment failure (x402) blocks the response if USDC micropayment is not completed

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

## Output

Returns a structured object containing computed 5-minute delta values for the requested asset, including changes in DEX buy/sell ratio, DeFiLlama APY spreads across chains, and Polymarket prediction odds shifts — providing stateful signal data suitable for 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/shopify-spy-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-alpha-7577c752/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from shopify-spy.agentdiet.dev](https://www.zero.xyz/host/shopify-spy.agentdiet.dev/llms.txt)
