# 4SEC Arbitrage Opportunity Finder

> 4SEC Arbitrage Opportunity Finder is a paid API for AI agents from api.foursec.xyz, paid per call via x402, $0.05/call, status down (last checked 2026-09-14).

Returns real-time cross-DEX arbitrage opportunities aggregated from multiple decentralized exchanges

## Facts

- Endpoint: GET https://api.foursec.xyz/arbitrage-opportunity
- Price: $0.05/call
- Payment: x402
- Status: down
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/4sec-arbitrage-opportunity-finder-7e7b014b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nFcoZPbskruBAkORItP5f

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 4sec-arbitrage-opportunity-finder-7e7b014b
```

Example prompt: Are there any live arbitrage opportunities across DEXes right now? Pull the latest data from 4SEC and show me what's available.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Real-time multi-DEX aggregated crypto market data. Pay per request with USDC on Base via x402 protocol.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "total": {
   "type": "integer"
  },
  "timestamp": {
   "type": "string",
   "format": "date-time"
  },
  "opportunities": {
   "type": "array",
   "items": {
    "type": "object"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/4sec-arbitrage-opportunity-finder-7e7b014b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.foursec.xyz](https://www.zero.xyz/host/api.foursec.xyz/llms.txt)
