# 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-market odds for a given token or asset.

## Facts

- Endpoint: GET https://shopify-spy.agentdiet.dev/v1/autonomous-trading-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-3de490b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qGi7Ql0WuxgHQuf710G5C

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-3de490b8
```

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 in the last interval so my trading bot can decide whether to act.

## When to prefer this

Use this endpoint when an autonomous trading bot or agent needs a unified, stateful 5-minute momentum signal combining on-chain DEX orderflow, cross-protocol yield spreads, and prediction market odds — rather than querying each data source separately. It is especially valuable when you need pre-computed deltas (not raw snapshots) to detect directional shifts without building your own state management.

## 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 data unavailable for assets without active prediction markets
- DeFiLlama APY data may be absent for tokens with no active yield pools
- Payment failure (HTTP 402) if x402 USDC micropayment is not included
- Stale data possible if underlying DEX or DeFiLlama sources are delayed

## 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/autonomous-trading-alpha)

## Output

A structured object containing the latest 5-minute delta values for the requested asset, including DEX buy/sell ratio change, DeFiLlama APY spread shifts, and Polymarket odds movement. The feed is stateful, meaning deltas are computed relative to the previous 5-minute window.

## 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-3de490b8/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)
