# ChainRay Sandwich Scanner

> ChainRay Sandwich Scanner is a paid API for AI agents from chainray.online, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Detects sandwich attacks and MEV (maximal extractable value) bot activity targeting a specific wallet or contract address on a given blockchain network

## Facts

- Endpoint: GET https://chainray.online/sandwich-scanner/:var1
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-sandwich-scanner-fe5eabb9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uXSaMuYkL4c2MF4zObH_6

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 chainray-sandwich-scanner-fe5eabb9
```

Example prompt: Scan 0xAbC123...def456 on Ethereum for any sandwich attacks or MEV bot activity — I want to know if this wallet has been targeted.

## When to prefer this

Use this endpoint when you need to determine whether a specific wallet or smart contract has been a victim of sandwich attacks or MEV exploitation on-chain. Ideal for DeFi risk assessment, trader protection analysis, or auditing suspicious transaction patterns around a specific address. Prefer this over general transaction history endpoints when the specific concern is MEV/sandwich bot activity.

## Known failure modes

- Invalid or malformed wallet/contract address returns an error or empty result
- Unsupported chain identifier returns an error indicating the network is not available
- Missing required 'address' query parameter results in a 400-level error
- Network congestion or node unavailability may cause timeout or 503 errors
- Address with no transaction history returns empty or null attack data

## How this service works

ChainRay /sandwich-scanner

## Output

Returns data on detected sandwich attacks, MEV bot interactions, and front-run/back-run transaction patterns associated with the provided wallet or contract address on the specified blockchain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Blockchain network"
      },
      "address": {
       "type": "string",
       "description": "Wallet or contract address"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainray-sandwich-scanner-fe5eabb9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainray.online](https://www.zero.xyz/host/chainray.online/llms.txt)
