DataWeaveAI API

AI-powered contract analysis and PII detection

DataWeaveAI API lets you automatically extract key information from contracts, detect and protect sensitive data, and assess risks - all with a simple API call.

Base URL

https://dataweaveai.com

Quick Example

# Detect PII in text
curl -X POST https://dataweaveai.com/detect-pii \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"text": "Contact john@email.com or call 555-123-4567"}'

Authentication

All API requests require an API key passed in the X-API-Key header.

X-API-Key: dw_live_xxxxxxxxxxxxx

Don't have a key yet? Get your API key →

Rate Limits

Plan Daily Limit Monthly Limit Features
Free 10 requests 50 requests PII Detection
Starter $39/mo 100 requests 500 requests All features
Pro $89/mo 500 requests 5,000 requests All features + priority

Detect PII

POST /detect-pii Free

Scan text for personally identifiable information (PII) including emails, phone numbers, SSNs, credit cards, and more.

Request Body

Parameter Type Description
text string The text to scan for PII (required)

Example Request

curl -X POST https://dataweaveai.com/detect-pii \
  -H "Content-Type: application/json" \
  -H "X-API-Key: dw_live_xxxxx" \
  -d '{
    "text": "Contact John at john@acme.com or 555-123-4567. SSN: 123-45-6789"
  }'

Response

{
  "pii_found": [
    {"type": "email", "value": "j***@acme.com", "risk_level": "medium"},
    {"type": "phone", "value": "555-***-4567", "risk_level": "medium"},
    {"type": "ssn", "value": "***-**-6789", "risk_level": "high"}
  ],
  "pii_types": ["email", "phone", "ssn"],
  "contains_pii": true,
  "risk_summary": "Found 3 PII instances including high-risk SSN"
}

Analyze Contract

POST /analyze-contract Starter+

Full AI-powered contract analysis. Extracts parties, dates, financial terms, obligations, risks, and more.

Request Body

Parameter Type Description
text string The contract text to analyze
options object Analysis options (optional)

Response Fields

partiesAll parties with names, roles, types
effective_dateContract start date
expiration_dateContract end date
contract_valueTotal contract value
obligationsList of obligations by party
risksDetected risks with severity
missing_clausesStandard clauses not found
🔒

Unlock Full Contract Analysis

Extract parties, dates, terms, obligations, and risks from any contract automatically.

View Plans →

Analyze File

POST /analyze-contract/file Starter+

Upload and analyze PDF, DOCX, images, or TXT files directly.

Supported Formats

  • PDF (.pdf)
  • Word (.docx)
  • Images (.jpg, .png, .gif, .webp)
  • Text (.txt, .md)
🔒

Upload Contracts Directly

Analyze PDF, Word, images, and text files without copy-pasting.

View Plans →

AI Contract Chat

POST /chat Starter+

Ask questions about your contracts in natural language.

Example Questions

  • "What are the termination conditions?"
  • "When does this contract expire?"
  • "What are my payment obligations?"
  • "Are there any auto-renewal clauses?"
🔒

Ask Questions About Contracts

Get instant answers about any clause, term, or obligation.

View Plans →

Batch Processing

POST /analyze-contract/batch Pro

Process up to 50 contracts at once with a single API call. Perfect for due diligence, bulk audits, and contract migrations.

Features

  • Process up to 50 contracts per batch request
  • Batch file upload endpoint (20 files per request)
  • Parallel processing — 5x faster than sequential
  • Individual success/failure status per contract
  • Bulk JSON response for easy parsing

Example Request

curl -X POST https://dataweaveai.com/analyze-contract/batch \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"contracts": [
    {"text": "Contract 1 text..."},
    {"text": "Contract 2 text..."},
    ... up to 50 contracts
  ]}'
📦

Analyze 50 Contracts at Once

Process entire portfolios in minutes, not hours. Includes 500 analyses/month.

Upgrade to Professional →

Check Usage

GET /api/keys/usage Free

Check your current API usage and remaining quota.

Response

{
  "key_id": "abc123",
  "plan": "free",
  "requests_today": 7,
  "requests_total": 23,
  "daily_limit": 10,
  "monthly_limit": 50
}

Ready to Unlock Full Access?

Get contract analysis, file upload, and batch processing.

View Plans →

Need help? Contact support@dataweaveai.com

About · Blog · Security · Status · Changelog