v1.0
API Documentation
Integrate Regulation AI into your applications with our RESTful API. Secure, fast, and easy to use.
Getting Started
1. Get API Key
Generate your API key from the dashboard settings. Keep it secure and never share it publicly.
2. Make Requests
Use your API key in the Authorization header to authenticate all API requests.
3. Handle Response
All responses are in JSON format with consistent structure for easy parsing.
API Endpoints
GET
/api/v1/regulationsRetrieve list of regulations with pagination
GET
/api/v1/regulations/:idRetrieve a specific regulation by ID
POST
/api/v1/regulations/uploadUpload a new regulation document
POST
/api/v1/analyzeAnalyze regulation document with AI
GET
/api/v1/searchSearch across all regulations
GET
/api/v1/compliance/checkCheck compliance status for specific requirements
Code Examples
Authentication
bashcurl -X GET "https://api.regulationai.id/v1/regulations" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"List Regulations
javascriptconst response = await fetch('https://api.regulationai.id/v1/regulations', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
});
const data = await response.json();
console.log(data);Analyze Document
pythonimport requests
url = "https://api.regulationai.id/v1/analyze"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
}
payload = {
"document_id": "doc_123",
"analysis_type": "compliance"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())Rate Limits
Standard
1,000
requests per hour
Professional
10,000
requests per hour
Enterprise
Unlimited
custom limits available
Need Help?
Our team is ready to assist you with API integration.