{
  "openapi": "3.1.0",
  "info": {
    "title": "DevX Crypto Link Check",
    "version": "1.0.0",
    "description": "Phishing / impersonation check for crypto links before an agent or person connects a wallet or signs: brand lookalikes & typosquats of 60 wallets/exchanges/dapps, punycode, domain age (RDAP), DNS, redirects, and a page scan for seed-phrase prompts and approval-drainer code. 1-10 URLs per call.",
    "termsOfService": "https://crypto-link-check.nextill-pos.workers.dev/terms",
    "contact": {
      "name": "DevX",
      "email": "madebydevx@gmail.com",
      "url": "https://madebydevx.com"
    }
  },
  "servers": [
    {
      "url": "https://crypto-link-check.nextill-pos.workers.dev"
    }
  ],
  "paths": {
    "/api/basic": {
      "get": {
        "summary": "Free: lexical phishing/impersonation check for one URL or domain",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "verdict + findings"
          }
        }
      }
    },
    "/v1/check": {
      "get": {
        "summary": "Paid (0.005 USDC, x402): full link check for 1-10 URLs (RDAP age, DNS, redirects, page scan)",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "URL or domain; repeat for up to 10"
          }
        ],
        "x-payment-info": {
          "protocol": "x402",
          "x402Version": 2,
          "scheme": "exact",
          "network": "eip155:8453",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "amount": "5000",
          "price_usd": 0.005,
          "payTo": "0xB3cDDccEe6B150c8efFD55B961afc0Ecefe7f247",
          "facilitator": "https://facilitator.payai.network"
        },
        "responses": {
          "200": {
            "description": "reports"
          },
          "402": {
            "description": "Payment required (PAYMENT-REQUIRED header, x402 v2)"
          }
        }
      }
    }
  }
}