Developer Overview
PII Firewall provides three integration options for developers:
| Option | Best For |
|---|---|
| REST API | Any language, backend services, quick integration |
| Node.js SDK | Node.js / TypeScript projects |
| MCP Server | Claude Desktop, AI agent pipelines |
Base URL
https://pii-firewallproxy-production.up.railway.appAuthentication
All API requests require an API key passed in the Authorization header:
http
Authorization: Bearer YOUR_API_KEYGet your API key from the PII Firewall dashboard after signing in.
Quick Example
bash
curl -X POST https://pii-firewallproxy-production.up.railway.app/detect \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "Contact John at john@example.com or +1-800-555-0100"}'Response:
json
{
"detections": [
{ "type": "NAME", "value": "John", "start": 8, "end": 12 },
{ "type": "EMAIL", "value": "john@example.com", "start": 16, "end": 32 },
{ "type": "PHONE", "value": "+1-800-555-0100", "start": 36, "end": 51 }
],
"count": 3
}Rate Limits
| Plan | Requests / min |
|---|---|
| Free | 10 |
| Starter | 60 |
| Business | 300 |
| Enterprise | Custom |
SDKs & Tools
- npm:
npm install pii-firewall-sdk - MCP: Works with Claude Desktop out of the box
- OpenAPI spec: Available at
/openapi.json
