# CuseTheJuice Email Spam/Phishing Header Check

> CuseTheJuice Email Spam/Phishing Header Check is a paid API for AI agents from app.cusethejuice.com, paid per call via x402, $0.01/call, status down (last checked 2026-09-02).

Analyzes email From, Reply-To, and Subject headers to detect spam and phishing signals, returning a confidence score, matched rules, and detailed signals.

## Facts

- Endpoint: GET https://app.cusethejuice.com/api/bots/email-spam-check
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/app-cusethejuice-com-d5ae0bda
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vD5-j6XpgzuBWSGkhlsCt

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 app-cusethejuice-com-d5ae0bda
```

Example prompt: Can you check whether this email looks like spam or phishing — the From is 'offers@best-deals-now.biz', the Reply-To is 'noreply@freeprize123.net', and the Subject is 'You have been selected! Claim your reward now' — use strict mode and tell me the confidence score and any rules that fired.

## When to prefer this

Choose this endpoint when you need lightweight, header-only spam and phishing detection without access to or parsing of the email body — ideal for pre-filtering pipelines, sender reputation checks, or privacy-preserving analysis where body content should not be transmitted. Prefer over full-message scanners when speed and minimal data exposure matter.

## Known failure modes

- Missing required email header fields returns a validation error
- Invalid or missing mode parameter may default to balanced or return an error
- Payment failure via x402 returns HTTP 402 with bazaar payment details
- Malformed input JSON returns a 400 bad request
- Empty or very short subject/from fields may produce low-confidence results

## How this service works

CuseTheJuice app: spam/phishing from From, Reply-To, Subject only (no body). GET/POST: headers, optional mode. JSON rules/signals; optional X-CTJ-Spam-Check header. Pay with x402 (Base USDC). HTTP shape: extensions.bazaar on the 402. Catalog: https://app.cusethejuice.com/agents

## Output

Returns a JSON object with a confidence integer (0-100), the detection mode used, an array of matched rule names, and an array of signal objects each containing a reasonCode and detail string explaining why the email was flagged or cleared.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "result"
     ],
     "properties": {
      "result": {
       "type": "object",
       "required": [
        "confidence",
        "mode",
        "rules",
        "signals"
       ],
       "properties": {
        "mode": {
         "type": "string"
        },
        "rules": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "signals": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "detail",
           "reasonCode"
          ],
          "properties": {
           "detail": {
            "type": "string"
           },
           "reasonCode": {
            "type": "string"
           }
          }
         }
        },
        "confidence": {
         "type": "integer"
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "result"
 ],
 "properties": {
  "error": {
   "type": "string"
  },
  "result": {
   "type": [
    "object",
    "null"
   ],
   "required": [
    "mode",
    "rules",
    "signals",
    "confidence"
   ],
   "properties": {
    "mode": {
     "enum": [
      "strict",
      "balanced",
      "lenient"
     ],
     "type": "string"
    },
    "rules": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "signals": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "reasonCode",
       "detail"
      ],
      "properties": {
       "detail": {
        "type": "string"
       },
       "reasonCode": {
        "type": "string"
       }
      }
     }
    },
    "confidence": {
     "type": "integer",
     "maximum": 10,
     "minimum": 1
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/app-cusethejuice-com-d5ae0bda/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from app.cusethejuice.com](https://www.zero.xyz/host/app.cusethejuice.com/llms.txt)
