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+
Analyze File
POST
/analyze-contract/file
Starter+
AI Contract Chat
POST
/chat
Starter+
Batch Processing
POST
/analyze-contract/batch
Pro
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 →