x402basequality 0.78

Analyze legal documents and seller policies for risk factors via x402 micropayment on Base.

Price
per_call
Protocol
x402
Verified
no

What it does

LegalEasy (also branded PolicyCheck) provides an x402-payable endpoint that analyzes legal documents—terms of service, privacy policies, refund policies, and shipping terms—returning structured, machine-readable risk assessments with plain-English summaries. The `/api/x402/analyze` endpoint costs $0.03 per analysis, settled on Base mainnet (EIP-155:8453) via the x402 micropayment protocol.

The API accepts either a seller URL (which it auto-discovers and fetches policy pages from) or raw policy text. It returns a risk score (0–10), risk level classification, buyer protection rating (letter grade A+ through F), detected clause flags (e.g., binding arbitration, class action waiver, restocking fees), and a list of consumer-friendly positives. Each risk factor includes severity, source policy page, and a note when severity has been discounted for standard boilerplate. The response also includes analysis confidence and status fields so agents can determine whether to trust the scores.

The service is designed as an intelligence provider for AI shopping agents: it reports factual risk classifications without making purchase recommendations. A clause registry endpoint lists all detectable clause types with stable identifiers, enabling rule-based agent logic. Audit trail features allow linking checks to specific agents and transactions via `agent_id` and `transaction_ref` parameters.

Capabilities

legal-document-analysisrisk-assessmentpolicy-extractionclause-detectionurl-fetchingstructured-risk-scoringbuyer-protection-ratingx402-micropaymentbase-mainnet-settlementaudit-trailboilerplate-detection

Use cases

  • AI shopping agents verifying seller return and refund policies before purchase
  • Automated compliance checks on vendor terms of service
  • Extracting structured risk data from privacy policies for data governance workflows
  • Auditing seller policy changes over time with logged check history
  • Rule-based agent logic that blocks purchases from sellers with specific clauses like binding arbitration

Fit

Best for

  • AI agents that need machine-readable legal risk data at checkout
  • Developers building shopping or procurement agents that must evaluate seller policies
  • Compliance teams needing automated audit trails of policy checks
  • Applications requiring structured extraction of legal clauses from unstructured text

Not for

  • Providing legal advice or attorney-grade contract review
  • Analyzing non-English legal documents (no multilingual support documented)
  • High-volume batch processing without understanding per-call x402 payment costs

Quick start

curl -X POST https://legaleasy.tools/api/x402/analyze \
  -H "Content-Type: application/json" \
  -H "X-PAYMENT: <x402-payment-token>" \
  -d '{"url": "https://amazon.com"}'

Example

Request

{
  "url": "https://amazon.com",
  "document_type": "terms"
}

Response

{
  "payment": {
    "payer": "0xdef456...",
    "network": "eip155:8453",
    "settled": true,
    "transaction": "0xabc123..."
  },
  "analysis": {
    "flags": [
      "return_shipping_fee"
    ],
    "summary": "3 of 4 policy categories analyzed. Return shipping fee detected.",
    "positives": [
      "Free shipping on orders over $25"
    ],
    "confidence": "medium",
    "risk_level": "low",
    "risk_score": 1.5,
    "seller_url": "https://amazon.com",
    "analyzed_at": "2026-02-16T11:29:53Z",
    "risk_factors": [
      {
        "detail": "Buyer pays return shipping costs.",
        "factor": "return_shipping_fee",
        "source": "returns",
        "found_in": "return_policy",
        "severity": "low",
        "severity_note": null
      }
    ],
    "analysis_status": "partial",
    "buyer_protection_score": 85,
    "buyer_protection_rating": "A"
  }
}

Endpoint

Transporthttp
Protocolx402
Pay to0x5fEB3281d7E81Ea5e55AAeA96639DaaCA5d601c1
CurrencyUSD COIN

Quality

0.78/ 1.00

The endpoint returned a live 402 challenge, full OpenAPI schema is available (though served from policycheck.tools), and detailed documentation describes request/response fields, clause registry, and pricing. Score is slightly below 0.8 because the x402 challenge object was empty (no payment details captured in the probe) and the OpenAPI paths reference /api/chatgpt/analyze rather than /api/x402/analyze specifically.

Warnings

  • The x402 challenge object captured in the probe was empty — payment parameters (amount, token, network) were not directly confirmed from the 402 response itself.
  • The OpenAPI spec is served from policycheck.tools and documents /api/chatgpt/analyze, not /api/x402/analyze directly; the x402 endpoint details come from the docs page only.
  • No pricing page found (404); the $0.03 price is documented on the docs page but not independently verifiable from the 402 challenge.

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-22 00:51:41Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-21
Last seen2026-04-22

Agent access