{"uid":"cap_3NOFq8BlE5gfDHfj_zpmE","slug":"speraxos-flash-loan-historical-analyzer-1e3ecc13","name":"SperaxOS Flash Loan Historical Analyzer","description":"AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.","url":"https://chat.sperax.io/api/x402/tools/flash-loan-scanner/analyzeHistoricalFlashLoans?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"type":{"type":"string","description":"Filter by type: \"arbitrage\", \"liquidation\", or \"all\"."},"chain":{"type":"string","description":"Chain to analyze."},"limit":{"type":"number","description":"Maximum number of results. Default: 50."},"periodDays":{"type":"number","description":"Historical period in days."},"minProfitUsd":{"type":"number","description":"Minimum profit filter."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cX9DRDSG2p9bs3fG8kVjl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0xD74f5255D557944cf7Dd0E45FF521520002D5748","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes historical flash loan activity on a given blockchain, returning filtered records by type (arbitrage/liquidation), profit threshold, and time period.","exampleAgentPrompt":"Pull the last 30 days of flash loan arbitrage history on Base, show me up to 50 results, and filter to only trades that made at least $500 profit.","exampleUseCases":[{"title":"Arbitrage strategy research","prompt":"Show me all flash loan arbitrage events on Ethereum over the past 14 days where profit was at least $1000 — give me up to 100 results so I can spot patterns."},{"title":"Liquidation monitoring audit","prompt":"Scan the last 60 days of flash loan liquidation activity on Arbitrum for me, no minimum profit filter, and return up to 50 records so I can audit which protocols were targeted."},{"title":"DeFi profitability benchmarking","prompt":"Pull all types of flash loans on Base from the past 7 days with at least $250 profit, limit to 25 results — I want to benchmark how much money is flowing through flash loan strategies right now."}],"resultDescription":"Returns a list of historical flash loan transactions matching the specified filters, including flash loan type (arbitrage or liquidation), chain, profit in USD, and transaction metadata for up to the requested limit of records within the specified time window.","failureModes":["Invalid chain identifier returns an error or empty result set","Unsupported type value (not 'arbitrage', 'liquidation', or 'all') may return an error","Payment of $0.02 USDC via x402 fails due to insufficient balance, blocking the request","Period or limit values out of range may be rejected or clamped","No historical data available for the specified chain/period combination returns empty results"],"whenToPreferThis":"Choose this endpoint when you need AI-powered historical flash loan intelligence on a specific chain without managing API keys — ideal for DeFi researchers, quant analysts, or autonomous agents that need on-chain arbitrage and liquidation data payable per-request via USDC on Base. Prefer over on-chain indexers when you want pre-filtered, structured results rather than raw event logs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:45:24.823Z","isFirstParty":false,"canonicalSlug":"speraxos-flash-loan-historical-analyzer-1e3ecc13"}