{"uid":"cap_nFcoZPbskruBAkORItP5f","slug":"4sec-arbitrage-opportunity-finder-7e7b014b","name":"4SEC Arbitrage Opportunity Finder","description":"Real-time multi-DEX aggregated crypto market data. Pay per request with USDC on Base via x402 protocol.","url":"https://api.foursec.xyz/arbitrage-opportunity","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"object","example":{"total":{"type":"integer"},"timestamp":{"type":"string","format":"date-time"},"opportunities":{"type":"array","items":{"type":"object"}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_b8RHL10yN3ZPxLP_Ralfi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time cross-DEX arbitrage opportunities aggregated from multiple decentralized exchanges","exampleAgentPrompt":"Are there any live arbitrage opportunities across DEXes right now? Pull the latest data from 4SEC and show me what's available.","exampleUseCases":[{"title":"Real-time arbitrage bot signal","prompt":"Check for any current arbitrage opportunities across DEXes and alert me if there are profitable price gaps I should act on — I need the latest data right now."},{"title":"DeFi research dashboard feed","prompt":"Fetch the current list of cross-DEX arbitrage opportunities so I can display them on my DeFi research dashboard and track how many exist at this moment."},{"title":"Trading strategy backtesting trigger","prompt":"Pull the current arbitrage opportunity data from 4SEC, including the timestamp and total count, so I can log it as a snapshot for my strategy analysis."}],"resultDescription":"Returns a JSON object containing a timestamp of the data fetch, the total count of detected arbitrage opportunities, and an array of opportunity objects with details about price discrepancies across multiple DEXes.","failureModes":["Payment not received or insufficient USDC balance — 402 Payment Required response","Invalid or malformed query parameters — 400 Bad Request","Upstream DEX data unavailable causing stale or missing results","Rate limiting or network timeout from the API host","No arbitrage opportunities found at query time — empty opportunities array with total: 0"],"whenToPreferThis":"Choose this endpoint when you need real-time, multi-DEX aggregated arbitrage signals without building your own DEX data pipeline. It is ideal for trading bots, DeFi dashboards, or research tools that need pre-aggregated cross-exchange price gap data on demand. Prefer it over raw DEX APIs when you want a single call that spans multiple exchanges rather than querying each DEX individually.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:29:10.846Z","isFirstParty":false}