1. Get access.
- Create a Paravane Labs account from the signup page.
- Verify your email address.
- Wait for review if your account is not automatically approved.
- Sign in and open the API keys page.
- Create a key and copy it immediately. Raw API keys are only shown once.
2. Send a request.
The official Python SDK is the recommended integration for Python 3.8 or newer. It handles authentication, request serialization, typed responses, and structured errors.
python -m pip install --upgrade paravaneexport PARAVANE_API_KEY="pvn_live_..."On Windows PowerShell:
$env:PARAVANE_API_KEY = "pvn_live_..."from paravane import ParavaneClient
client = ParavaneClient()
result = client.smtprs.analyze("alice@example.com")
print(result.decision)
print(result.overall_risk)
print(result.credits_charged)
analyze(...). The HTTP endpoint remains POST /v1/analyse.Calling the REST API directly is also supported:
https://api.paravane.io/v1/analysecurl -X POST https://api.paravane.io/v1/analyse \
-H "Content-Type: application/json" \
-H "X-API-Key: pvn_live_your_key_here" \
-d '{"email":"alice@example.com"}'
3. Read the result.
The default analysis profile is quick. The most useful fields are decision, overall_risk, analysis_profile, credits_charged, reasons, and usage.
{
"email": "alice@example.com",
"overall_risk": 2,
"decision": "allow",
"tier": "BASIC",
"analysis_profile": "quick",
"credit_cost": 1,
"credits_charged": 1,
"response_profile": "summary",
"reasons": [],
"usage": {
"limit": 10000,
"used": 19,
"remaining": 9981,
"window": "calendar_month_utc"
}
}
The SDK returns a typed SmtpRsAnalysis. Use result.to_dict() when you need the complete original API payload, including fields introduced before a new SDK release.