# NexusEval Marketing Preflight

> NexusEval Marketing Preflight is a paid API for AI agents from nexuseval.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Evaluates marketing copy, headlines, and CTAs before publication, returning a quality score, pass/fail decision, risk flags, and improvement recommendations.

## Facts

- Endpoint: POST https://nexuseval.vercel.app/api/gate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexuseval-marketing-preflight-bfe8f9c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EtAHqXUQV-Ck90l85LqiI

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 nexuseval-marketing-preflight-bfe8f9c1 -d '<json body>'
```

Example prompt: Before I publish this email campaign, run a preflight quality check on it — the headline is 'Save 50% This Weekend Only', the copy is 'Our biggest sale of the year is here. Shop now and save big on everything in store.', the CTA is 'Shop Now', the audience is budget-conscious millennials, and the objective is to drive online sales.

## When to prefer this

Choose NexusEval Marketing Preflight when you need a fast, automated, pre-publish quality gate for marketing content — especially in agentic pipelines where AI-generated copy needs to be screened before going live. It is purpose-built for x402-native agent workflows, making it ideal when you want a pay-per-check model with no subscription overhead. Prefer this over general LLM review when you need a structured, machine-readable score and explicit PASS/FAIL decision that can gate downstream publishing actions.

## Known failure modes

- Missing required fields (copy, headline, cta) may result in validation errors or low-quality scores
- Overly short or vague copy may produce generic recommendations with limited actionability
- Payment failure or insufficient USDC balance returns a 402 error before evaluation
- Network timeout on the Vercel-hosted endpoint during high traffic
- Ambiguous or missing objective/audience may reduce scoring accuracy

## How this service works

x402-native pre-publish Marketing Quality Gateway for autonomous AI agents.

## Output

Returns a JSON object with a numeric quality score (0–100), a service label, a PASS or FAIL decision, an array of risk flags identifying problematic content, and an array of actionable recommendations for improvement.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "required": [
      "copy"
     ],
     "properties": {
      "objective": {
       "type": "string",
       "description": "Primary marketing objective"
      },
      "audience": {
       "type": "string",
       "description": "Target audience"
      },
      "headline": {
       "type": "string",
       "description": "Headline, subject line or core message"
      },
      "copy": {
       "type": "string",
       "description": "Marketing copy or campaign material to evaluate"
      },
      "cta": {
       "type": "string",
       "description": "Primary call to action"
      }
     }
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "score": 82,
  "service": "NexusEval",
  "decision": "PASS",
  "riskFlags": [],
  "recommendations": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nexuseval-marketing-preflight-bfe8f9c1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexuseval.vercel.app](https://www.zero.xyz/host/nexuseval.vercel.app/llms.txt)
