{
  "name": "Polymarket Arbitrage Scanner",
  "version": "0.1.0",
  "description": "Find guaranteed profit opportunities on Polymarket",
  "pricing": {
    "per_request": "$0.01 USDC",
    "network": "Base L2",
    "protocol": "x402"
  },
  "endpoints": {
    "/health": "Health check (free)",
    "/api/v1/scan": "Scan for arbitrage opportunities (paid)"
  },
  "usage": {
    "1": "GET /api/v1/scan",
    "2": "Receive 402 Payment Required with payment instructions",
    "3": "Send USDC payment to specified address",
    "4": "Retry with X-Payment: <tx_hash> header"
  },
  "parameters": {
    "threshold": "Price sum threshold (default: 0.99)",
    "min_liquidity": "Minimum USD liquidity (default: 1000)",
    "max_results": "Maximum opportunities to return (default: 50)"
  },
  "what_is_arbitrage": "Polymarket uses YES/NO token pairs. In a perfect market, YES + NO = $1.00. When YES + NO < $1.00, you can buy both and guarantee profit when the market resolves. Example: YES @ $0.45 + NO @ $0.50 = $0.95. Buy $100 of each, pay $95, win $100 = $5 profit (5.3%)."
}