REST API ที่ทรงพลัง
รวมการตรวจจับ PII และการทำให้ไม่ระบุตัวตนเข้ากับแอปพลิเคชันใด ๆ จุดสิ้นสุดที่เรียบง่าย เอกสารที่ครอบคลุม พร้อมสำหรับองค์กร.
เริ่มต้นอย่างรวดเร็ว
เริ่มต้นกับ API ในไม่กี่นาที
ติดตั้ง SDK ของเราและทำการเรียก API ครั้งแรกของคุณ
- ติดตั้ง SDK สำหรับภาษาของคุณ
- รับ API token ของคุณจากแดชบอร์ด
- ทำการร้องขอการทำให้ไม่ระบุตัวตนครั้งแรกของคุณ
- รวมเข้ากับแอปพลิเคชันของคุณ
// Analyze text for PII
const response = await fetch('https://blurgate.legal/api/presidio/analyze', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
text: 'Contact John Smith at john.smith@company.com',
language: 'en'
})
});
const results = await response.json();
// Returns detected entities with positions and confidence scoresEndpoints ที่มีอยู่
POST
/api/presidio/analyzeAnalyze text to detect PII entities. Returns entity types, positions, and confidence scores.
View documentation →POST
/api/presidio/anonymizeAnonymize detected PII using your chosen method. Returns anonymized text.
View documentation →POST
/api/presidio/batchProcess multiple documents in a single request. Enterprise plans support up to 100 documents.
View documentation →GET
/api/healthCheck API status and service health. No authentication required.
Public endpointฟีเจอร์ของ API
JWT Authentication
การตรวจสอบสิทธิ์ที่ปลอดภัยโดยใช้โทเค็นสำหรับการเรียก API ทั้งหมด
การจำกัดอัตรา
การจำกัดอัตราที่เป็นธรรมพร้อมส่วนหัวที่ชัดเจน ขีดจำกัดที่สูงขึ้นสำหรับองค์กร
ตัวอย่างโค้ด
ตัวอย่างที่พร้อมใช้งานในหลายภาษาโปรแกรม