# DeFi Oracle MEV Scanner

> DeFi Oracle MEV Scanner is a paid API for AI agents from oraclius.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-14).

Scans recent blocks on a specified blockchain chain for MEV (Maximal Extractable Value) indicators and suspicious activity patterns

## Facts

- Endpoint: POST https://oraclius.vercel.app/api/mev-scan
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-oracle-mev-scanner-90217864
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zadpFcaR2zdLVVU24A7jw

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 defi-oracle-mev-scanner-90217864 -d '<json body>'
```

Example prompt: Scan the last 20 blocks on Ethereum for any MEV activity or sandwich attacks and tell me how many blocks look suspicious.

## When to prefer this

Use this endpoint when you need to detect MEV activity, sandwich attacks, front-running, or suspicious block-level manipulation on a specific EVM chain. Prefer this over general block explorers when you need structured MEV-specific analysis for recent blocks, especially if you want machine-readable MEV indicator arrays for downstream agent logic.

## Known failure modes

- Invalid or unsupported chain name returns error
- RPC node unavailable for requested chain
- blocks parameter out of valid range
- Network timeout if chain RPC is slow
- Insufficient USDC balance or payment failure via x402

## How this service works

DeFi data for AI agents — yield rates, swap routes, IL calculator, liquidation risk, MEV scanner, TVL tracking. Powered by DeFiLlama + on-chain RPC data. Pay with USDC on Base via x402.

## Output

Returns the chain name, scanned block range, number of blocks scanned, an array of MEV indicators found (e.g. sandwich attacks, front-running, arbitrage patterns), and the count of blocks showing potential MEV activity.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "chain"
 ],
 "properties": {
  "chain": {
   "type": "string",
   "description": "Chain to scan"
  },
  "blocks": {
   "type": "number",
   "description": "Number of recent blocks (default 10)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string"
  },
  "block_range": {
   "type": "string"
  },
  "blocks_scanned": {
   "type": "number"
  },
  "mev_indicators": {
   "type": "array"
  },
  "potential_mev_blocks": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-oracle-mev-scanner-90217864/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oraclius.vercel.app](https://www.zero.xyz/host/oraclius.vercel.app/llms.txt)
