# Einstein AI Arbitrage Scanner

> Einstein AI Arbitrage Scanner is a paid API for AI agents from api.relai.fi, paid per call via x402, $1.15/call, status unknown (last checked 2026-09-15).

Finds cross-chain and cross-DEX arbitrage opportunities across major EVM-compatible blockchains using on-chain data analysis.

## Facts

- Endpoint: POST https://api.relai.fi/relay/1769629274857/x402/bitquery/arbitragescanner
- Price: $1.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/einstein-ai-arbitrage-scanner-f0f8be19
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8TGSKtz81jLe0ylRO_CK9

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 einstein-ai-arbitrage-scanner-f0f8be19 -d '<json body>'
```

Example prompt: Scan the Arbitrum chain for the top 20 cross-DEX arbitrage opportunities from the last 24 hours.

## When to prefer this

Use this endpoint when you need real-time or recent cross-DEX arbitrage intelligence on EVM chains without building your own on-chain data pipeline. Prefer this over generic DEX APIs when you specifically want pre-computed arbitrage route discovery across multiple DEXes simultaneously.

## Known failure modes

- Invalid chain name returns an error — must be one of: base, ethereum, bsc, arbitrum, polygon, optimism, solana
- Limit exceeds 500 returns an error or capped results
- Invalid timeperiod value outside allowed enum returns a validation error
- No arbitrage opportunities found returns an empty result set
- Payment of $1.15 USDC not fulfilled results in 402 Payment Required
- Bitquery upstream timeout or rate limit causes delayed or failed response

## How this service works

Find cross-chain and cross-DEX arbitrage opportunities. Supported chains: ethereum, base, bsc, arbitrum, polygon, optimism. Default chain: ethereum. Required params: none (chain/limit/timeperiod are optional and defaulted).

## Output

A list of arbitrage opportunities including token pairs, DEX routes, price differentials, and potential profit margins found on the specified blockchain within the requested time period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "ethereum",
    "bsc",
    "arbitrum",
    "polygon",
    "optimism",
    "solana"
   ],
   "type": "string",
   "description": "Blockchain to query (e.g., base, ethereum, bsc, solana)"
  },
  "limit": {
   "type": "string",
   "description": "Maximum number of results to return (default: 10, max: 500)"
  },
  "timeperiod": {
   "enum": [
    "1h",
    "4h",
    "24h",
    "7d",
    "30d"
   ],
   "type": "string",
   "description": "Time period for analysis (e.g., 1h, 24h, 7d, 30d)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/einstein-ai-arbitrage-scanner-f0f8be19/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
