# DeFi Oracle MEV Scanner

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

Scans recent blocks on a specified chain to detect MEV (Maximal Extractable Value) activity indicators and potential MEV blocks

## Facts

- Endpoint: POST https://aracil.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-4afa8a9a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VBckgMqpe6vwXQb4nJ37d

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-4afa8a9a -d '<json body>'
```

Example prompt: Can you scan the last 20 blocks on Ethereum for MEV activity and tell me how many blocks show signs of sandwich attacks or front-running?

## When to prefer this

Use this endpoint when you need real-time, per-block MEV detection on a specific chain before executing large trades, auditing protocol security, or monitoring bot activity. Prefer this over general block explorers when you specifically need structured MEV indicators and potential extraction counts rather than raw transaction data.

## Known failure modes

- Unsupported or misspelled chain name returns an error or empty results
- RPC node unavailability causes timeout or incomplete scan
- Very recent blocks may not yet be fully indexed
- Large block counts may increase latency or hit rate limits
- Chain with low activity may return empty MEV indicators array without indicating an error

## 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 a JSON object containing the chain name, the block range scanned, the total number of blocks analyzed, an array of MEV indicator objects describing detected suspicious patterns (e.g. sandwich attacks, front-running, arbitrage), and a count of blocks that showed 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-4afa8a9a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aracil.vercel.app](https://www.zero.xyz/host/aracil.vercel.app/llms.txt)
