# 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-13).

Analyzes contract text to identify 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/contract/analyze
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/contract-eye-ai-contract-clause-analyzer-0090d37f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GhLYDi41gzVfunWgzagCj

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-0090d37f -d '<json body>'
```

Example prompt: Can you analyze this contract text for risky or one-sided clauses? Here's the full agreement: [paste contract text]. I want to know the risk score, which clauses are flagged, and what changes I should ask for.

## When to prefer this

Choose this endpoint when you need automated, structured risk analysis of contract or legal agreement text before signing — especially when you want severity ratings, specific clause excerpts, and actionable modification suggestions. Ideal for freelancers, startups, or procurement workflows that need a fast, low-cost first-pass review without engaging a lawyer. Prefer this over generic LLM prompting when you need a consistent, structured output format with risk scores and categorized findings.

## Known failure modes

- Empty or missing contract text body results in an error response
- Extremely long contract text may exceed processing limits
- Malformed JSON body returns a validation error
- Payment failure or insufficient USDC balance prevents the call from completing
- Non-English contract text may produce lower-quality analysis

## 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 with an overall risk score (0-10), total clause count, number of flagged clauses, a plain-language summary, a list of findings each with category, severity level (e.g. critical/high/medium), the specific clause excerpt, an explanation of why it's risky, and a suggested modification. Also lists clauses deemed safe. Includes a disclaimer that results are for informational purposes only and not legal advice.

## 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-0090d37f/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)
