{"uid":"cap_v6T0e9xF2dkQairAQsZl4","slug":"onchain-risk-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-ef750baa","name":"Stateful 5-Minute DeFi, DEX & Polymarket Alpha Delta Stream","description":"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://onchain-risk.agentdiet.dev/v1/crypto-alpha)","url":"https://onchain-risk.agentdiet.dev/v1/crypto-alpha?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.01","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9CxbLggOnm_joK2RqhAiD","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"onchain-risk.agentdiet.dev","brandSlug":"onchain-risk-agentdiet-dev-mpp","brandBaseUrl":"https://onchain-risk.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Returns real-time 5-minute delta shifts in DEX buy/sell orderflow ratio, DeFiLlama APY spreads, and Polymarket prediction odds for a given token or asset.","exampleAgentPrompt":"Give me the 5-minute alpha delta stream for AERO — I want to see the current DEX buy/sell ratio shift, DeFiLlama APY spread, and any Polymarket odds movement right now.","exampleUseCases":[{"title":"Autonomous bot momentum signal","prompt":"My trading bot needs the latest 5-minute orderflow delta and buy/sell ratio shift for ETH — pull the real-time DEX and DeFiLlama alpha signals now so it can decide whether to enter a position."},{"title":"DeFi yield spread monitoring","prompt":"Check the current DeFiLlama APY spread delta for SOL over the last 5 minutes — I want to know if yields are widening or compressing across protocols right now."},{"title":"Polymarket odds shift detection","prompt":"Has there been any significant Polymarket odds movement on BTC in the last 5 minutes? Also show me the DEX orderflow pressure so I can see if the market is pricing in something new."}],"resultDescription":"Returns a JSON object containing stateful 5-minute delta metrics for the requested token, including shifts in DEX buy/sell ratio, DeFiLlama APY spreads across protocols, and Polymarket prediction market odds changes — enabling autonomous agents to detect momentum, yield, and sentiment shifts in real time.","failureModes":["Missing or empty 'target' parameter returns a validation error","Unknown or unsupported token symbol may return empty or null delta fields","Payment failure via x402 returns HTTP 402 with payment instructions","DexScreener or DeFiLlama upstream outage may cause partial or stale data","Polymarket data unavailable for tokens with no active prediction markets"],"whenToPreferThis":"Choose this endpoint when you need stateful, incremental 5-minute delta signals across DEX orderflow, DeFi yield spreads, and prediction market odds simultaneously for a single token — particularly for autonomous trading bots that need real-time momentum detection rather than point-in-time snapshots. Prefer this over plain DEX liquidity APIs when you need cross-source alpha aggregation including Polymarket sentiment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:51:34.444Z","isFirstParty":false,"canonicalSlug":"onchain-risk-agentdiet-dev-stateful-5-minute-defi-dex-polymarket-ef750baa"}