# 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.01/call, status unknown (last checked 2026-11-21).

Computes 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: POST https://github-audit.agentdiet.dev/v1/perps-funding-alpha?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-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-4b18be6f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Egu6lkOuiBd2F76FFC4iI

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-4b18be6f -d '<json body>'
```

Example prompt: Pull the latest 5-minute delta stream for AERO — I need the DEX buy/sell ratio shift, DeFiLlama APY spread change, and Polymarket odds movement right now for my trading bot.

## When to prefer this

Choose this endpoint when an autonomous trading bot or DeFi agent needs a unified, stateful 5-minute delta feed combining DEX orderflow, DeFiLlama yield spreads, and Polymarket prediction market odds for a single token — particularly when real-time alpha signal aggregation across multiple DeFi data sources is needed in a single call rather than querying each source separately.

## Known failure modes

- Invalid or unrecognized token symbol returns an error or empty result
- Upstream DeFiLlama or Polymarket data unavailability may cause stale or missing deltas
- Missing required 'target' field causes a 400-level validation error
- Rate limiting or payment failure via x402 returns a 402 Payment Required response
- Network latency from real-time data sources may cause delayed or incomplete delta computation

## 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 5-minute delta metrics for the requested token: DEX buy/sell ratio shift, DeFiLlama APY spread change, Polymarket odds movement, and related orderflow/yield signals useful for autonomous trading decisions.

## 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-4b18be6f/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)
