x402basequality 0.78

Cross-chain and cross-DEX arbitrage opportunity scanner via Bitquery, paid per-call with USDC on Base, Solana, or Lightning BTC.

Price
1.00 USDC / call
Protocol
x402
Verified
no

What it does

This endpoint scans for cross-chain and cross-DEX price discrepancies and profitable arbitrage routes. It is part of the Einstein AI x402 API suite, which wraps Bitquery blockchain data into pay-per-request endpoints using the x402 micropayment protocol. The `/raw` variant returns raw query data without AI-generated analysis.

The arbitrage scanner supports multiple EVM chains (Ethereum, Base, BSC, Arbitrum, Polygon, Optimism) and accepts optional parameters for chain selection, result limit (up to 500), and time period (1h to 30d). Payment is $1.00 per request, settled in USDC on Base (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913), USDC on Solana, or 1,309 sats via Lightning Network. No API key is needed — authentication is handled entirely through the x402 `X-PAYMENT` header containing a signed USDC TransferWithAuthorization payload.

The endpoint returned a valid 402 payment challenge during probing, confirming it is live. The OpenAPI spec is comprehensive, covering request/response schemas, pricing metadata, and payment flow details. Note that the `/api` route on the origin returned a 522 (host timeout), but this does not affect the x402 endpoint itself, which is served through a different path.

Capabilities

cross-chain-arbitragedex-price-comparisonmulti-chain-queryx402-micropaymentbitquery-dataraw-data-outputevm-chain-supportlightning-paymentsolana-payment

Use cases

  • Detect price discrepancies for the same token across different DEXes and chains
  • Feed arbitrage signals into automated trading bots
  • Monitor cross-chain pricing inefficiencies for research or alpha generation
  • Integrate real-time arbitrage data into DeFi dashboards
  • Scan for profitable routes across Ethereum, Base, BSC, Arbitrum, Polygon, and Optimism

Fit

Best for

  • AI agents that need on-demand cross-chain arbitrage intelligence without API key management
  • DeFi trading bots looking for pay-per-use arbitrage data
  • Researchers analyzing cross-DEX pricing inefficiencies across EVM chains

Not for

  • High-frequency trading requiring sub-second latency (90-second max timeout)
  • Non-EVM chains beyond Solana (only EVM chains plus Solana payment supported)
  • Users who need AI-interpreted analysis (this /raw endpoint returns unprocessed data)

Quick start

curl -X POST https://emc2ai.io/x402/bitquery/arbitragescanner/raw \
  -H "Content-Type: application/json" \
  -H "X-PAYMENT: <base64-signed-USDC-authorization>" \
  -d '{"chain": "ethereum", "limit": 10, "timeperiod": "24h"}'

Example

Request

{
  "chain": "ethereum",
  "limit": 10,
  "timeperiod": "24h"
}

Response

{
  "result": {
    "arbitrage_opportunities": [
      {
        "dex_a": "Uniswap V3",
        "dex_b": "SushiSwap",
        "token": "0xabc...",
        "symbol": "EXAMPLE",
        "price_a": 1.0023,
        "price_b": 1.0089,
        "spread_pct": 0.66,
        "volume_usd": 45200.5
      }
    ]
  },
  "status": "completed",
  "payment": {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000000",
    "scheme": "exact",
    "txHash": "0xdef...",
    "network": "base",
    "x402Version": 1
  }
}

Endpoint

Transporthttp
Protocolx402
Pay to0xc9368b30BD620164FD1a05a5d99dcaf8Ae754775
CurrencyUSD COIN

Quality

0.78/ 1.00

The endpoint is live (402 challenge confirmed), has a comprehensive OpenAPI spec with full request/response schemas, clear pricing ($1.00 USDC), and multi-chain payment options. Deducted points because the actual response payload structure is inferred (no real 200 response example captured), and the /api route returned a 522 timeout suggesting some infrastructure instability.

Warnings

  • The /api route on emc2ai.io returned HTTP 522 (origin timeout), indicating possible host-level instability, though the x402 endpoint itself responded correctly.
  • The example response JSON is inferred from the OpenAPI BitqueryResponse schema — no actual 200 response was captured during probing.
  • This is the /raw variant which returns data without AI analysis; the non-raw /x402/bitquery/arbitragescanner endpoint (priced at $1.15) includes AI interpretation.

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-22 00:10:25Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-21
Last seen2026-04-22

Agent access