{
  "info": {
    "name": "CryptoGuard API",
    "description": "Wallet security, scam detection, monitoring. Use {{api_key}} for auth.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    { "key": "base_url", "value": "https://api.cryptoguard.services" },
    { "key": "api_key", "value": "REPLACE_WITH_YOUR_KEY" },
    { "key": "wallet", "value": "0xdAC17F958D2ee523a2206206994597C13D831ec7" },
    { "key": "chain_id", "value": "1" }
  ],
  "item": [
    {
      "name": "Scan wallet",
      "request": {
        "method": "GET",
        "header": [
          { "key": "X-API-Key", "value": "{{api_key}}" }
        ],
        "url": {
          "raw": "{{base_url}}/scan/{{wallet}}?chain_id={{chain_id}}",
          "host": ["{{base_url}}"],
          "path": ["scan", "{{wallet}}"],
          "query": [{ "key": "chain_id", "value": "{{chain_id}}" }]
        }
      }
    },
    {
      "name": "Public recent threats",
      "request": {
        "method": "GET",
        "url": {
          "raw": "{{base_url}}/scan/public/recent?limit=50",
          "host": ["{{base_url}}"],
          "path": ["scan", "public", "recent"],
          "query": [{ "key": "limit", "value": "50" }]
        }
      }
    },
    {
      "name": "Public single-wallet snapshot",
      "request": {
        "method": "GET",
        "url": {
          "raw": "{{base_url}}/scan/public/{{wallet}}",
          "host": ["{{base_url}}"],
          "path": ["scan", "public", "{{wallet}}"]
        }
      }
    },
    {
      "name": "Token risk",
      "request": {
        "method": "GET",
        "header": [{ "key": "X-API-Key", "value": "{{api_key}}" }],
        "url": {
          "raw": "{{base_url}}/scan/token/{{wallet}}?chain_id={{chain_id}}",
          "host": ["{{base_url}}"],
          "path": ["scan", "token", "{{wallet}}"]
        }
      }
    },
    {
      "name": "Batch scan",
      "request": {
        "method": "POST",
        "header": [
          { "key": "X-API-Key", "value": "{{api_key}}" },
          { "key": "Content-Type", "value": "application/json" }
        ],
        "url": {
          "raw": "{{base_url}}/scan/batch",
          "host": ["{{base_url}}"],
          "path": ["scan", "batch"]
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"wallets\": [\n    {\"address\": \"0xdAC17F958D2ee523a2206206994597C13D831ec7\", \"chain_id\": 1}\n  ]\n}"
        }
      }
    },
    {
      "name": "Risk history (signed-in)",
      "request": {
        "method": "GET",
        "header": [{ "key": "Authorization", "value": "Bearer {{api_key}}" }],
        "url": {
          "raw": "{{base_url}}/auth/history/{{wallet}}",
          "host": ["{{base_url}}"],
          "path": ["auth", "history", "{{wallet}}"]
        }
      }
    },
    {
      "name": "Tiers / pricing",
      "request": {
        "method": "GET",
        "url": {
          "raw": "{{base_url}}/business/tiers",
          "host": ["{{base_url}}"],
          "path": ["business", "tiers"]
        }
      }
    },
    {
      "name": "Approval revoke calldata",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "url": {
          "raw": "{{base_url}}/scan/approvals/revoke-calldata",
          "host": ["{{base_url}}"],
          "path": ["scan", "approvals", "revoke-calldata"]
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"token_contract\": \"0xdAC17F958D2ee523a2206206994597C13D831ec7\",\n  \"spender\": \"0x000000000000000000000000000000000000dead\"\n}"
        }
      }
    }
  ]
}
