# 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 github-audit.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 ratio, DeFiLlama APY spreads, and Polymarket odds for a given token or asset.

## Facts

- Endpoint: GET https://github-audit.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: github-audit.agentdiet.dev
- Website: https://github-audit.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/github-audit-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-154c557b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__DjteHrk5U2MXiitZLdxK

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 github-audit-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-154c557b
```

Example prompt: What are the latest 5-minute DEX buy/sell ratio shifts, DeFiLlama APY spread changes, and Polymarket odds deltas for ETH right now?

## When to prefer this

Choose this endpoint when you need a unified, stateful 5-minute delta signal combining DEX orderflow, DeFi yield spreads, and Polymarket prediction odds for a specific token — especially for autonomous trading bots that need cross-venue alpha signals in a single call rather than querying multiple data sources separately.

## Known failure modes

- Invalid or unrecognized token symbol returns an error or empty delta
- Upstream DexScreener, DeFiLlama, or Polymarket data unavailable causes degraded or partial response
- Rate limiting or payment failure (HTTP 402) if x402 micropayment not completed
- Stale data if 5-minute update cycle has not yet completed 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://github-audit.agentdiet.dev/v1/perps-funding-alpha)

## Output

Returns a structured object containing the computed 5-minute delta values for DEX buy/sell ratio, DeFiLlama APY spreads, and Polymarket odds for the specified token, enabling autonomous trading bots to detect momentum shifts and alpha signals.

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