# Contract Eye — AI Contract Clause Analyzer

> Contract Eye — AI Contract Clause Analyzer is a paid API for AI agents from contract-eye-x402.fly.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Analyzes contract text for risky, one-sided, or unusual clauses and returns a structured risk report with severity ratings and suggested modifications.

## Facts

- Endpoint: POST https://contract-eye-x402.fly.dev/api/analyze-contract
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/contract-eye-ai-contract-clause-analyzer-0c7bd59e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5MXAjfuMY4FQiNG4u4m7M

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 contract-eye-ai-contract-clause-analyzer-0c7bd59e -d '<json body>'
```

Example prompt: Can you analyze this contract text for risky or one-sided clauses and give me a risk score? Here's the full text: 'Contractor hereby assigns all right, title, and interest in any and all work product, including inventions conceived outside business hours...'

## When to prefer this

Choose this endpoint when you need structured, clause-level contract risk analysis with severity ratings and actionable modification suggestions, rather than a simple summary. Best for freelancers, businesses, or agents that need to programmatically process contract risk before signing. Preferred over generic LLM prompting because it returns a consistent JSON schema with risk scores, severity categories, and specific suggested modifications.

## Known failure modes

- Empty or missing contract text body results in an error response
- Extremely long contract text may exceed processing limits
- Ambiguous or non-English contract text may reduce analysis accuracy
- Network timeout if the AI analysis takes too long
- Payment failure if USDC balance is insufficient for the $0.05 fee

## How this service works

Pay $0.05 USDC, get a detailed risk analysis of any contract text. Flags risky, one-sided, or unusual clauses.

## Output

Returns a JSON object containing: a plain-language summary of overall contract risk, an array of findings each with a category, severity level (e.g. critical/high/medium), clause excerpt, explanation, and suggested modification, a numeric risk score (0-10), total clause count, list of safe clauses, count of flagged clauses, and a legal disclaimer.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "error": {
       "type": "string"
      },
      "result": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "result": {
   "summary": "This agreement contains several one-sided clauses favoring the vendor, particularly around IP assignment and liability.",
   "findings": [
    {
     "category": "IP assignment",
     "severity": "critical",
     "explanation": "This clause assigns ALL intellectual property to the company, including work done outside business hours or unrelated to the engagement.",
     "clause_excerpt": "Contractor hereby assigns all right, title, and interest in any and all work product...",
     "suggested_modification": "Limit IP assignment to work directly related to and created during the engagement. Add carve-out for pre-existing IP and personal projects."
    }
   ],
   "disclaimer": "Contract analysis for informational purposes only. Not legal advice.",
   "risk_score": 7,
   "clause_count": 14,
   "safe_clauses": [
    "confidentiality",
    "payment terms",
    "governing law"
   ],
   "flagged_count": 4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/contract-eye-ai-contract-clause-analyzer-0c7bd59e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from contract-eye-x402.fly.dev](https://www.zero.xyz/host/contract-eye-x402.fly.dev/llms.txt)
