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

Computes real-time 5-minute delta shifts in DEX buy/sell ratios, DeFiLlama APY spreads, and Polymarket prediction-market odds for a given token or asset.

## Facts

- Endpoint: GET https://json-repair.agentdiet.dev/v1/perps-funding-alpha?utm_source=zero.xyz
- Price: $0.03/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: json-repair.agentdiet.dev
- Website: https://json-repair.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/json-repair-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-alpha-280a86d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IID3o6mFqpp_hrncKFr5M

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 json-repair-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-alpha-280a86d1
```

Example prompt: Show me the latest 5-minute delta shifts in DEX buy/sell ratio, DeFiLlama APY spreads, and Polymarket odds for ETH so I can decide whether to adjust my position.

## When to prefer this

Choose this endpoint when you need a stateful, time-windowed delta feed combining DEX orderflow, DeFi yield, and prediction market signals in a single call for a specific token — particularly for autonomous trading bots that need all three alpha signals together rather than querying each data source separately.

## Known failure modes

- Unknown or unsupported token symbol returns an error or empty delta payload
- Stale or unavailable on-chain data may result in null delta fields
- Missing required 'target' parameter returns a 400-level validation error
- Upstream DeFiLlama or Polymarket API outage causes degraded or incomplete response
- Payment failure (x402) blocks access if USDC balance is insufficient

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

## Output

Returns a JSON object containing computed 5-minute delta values for the requested token, including DEX buy/sell ratio shifts, DeFiLlama APY spread changes, and Polymarket odds movements relative to the prior 5-minute window, enabling stateful orderflow and yield trend analysis.

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