Comprehensive API reference untuk mengintegrasikan Bitvisor dengan sistem Anda
API keys & tokens
Vulnerability scans
Generate reports
Real-time notifications
Semua API calls memerlukan autentikasi menggunakan API key. Dapatkan API key dari dashboard pengguna Anda.
API dibatasi untuk mencegah penyalahgunaan:
Retrieve all vulnerability scans for your account
{
"data": [
{
"id": 1,
"target": "example.com",
"status": "completed",
"created_at": "2025-09-24T10:00:00Z",
"completed_at": "2025-09-24T10:15:00Z",
"vulnerabilities_found": 5,
"severity_counts": {
"critical": 1,
"high": 2,
"medium": 2,
"low": 0
}
}
],
"meta": {
"current_page": 1,
"total_pages": 5,
"total_items": 42
}
}
Start a new vulnerability scan
{
"target": "example.com",
"scan_type": "full", // full, quick, custom
"options": {
"include_subdomain": true,
"port_scan": true,
"web_scan": true,
"ssl_scan": true
}
}
{
"scan_id": 123,
"status": "pending",
"target": "example.com",
"estimated_duration": "10-15 minutes",
"message": "Scan has been queued successfully"
}
Get detailed scan results
{
"id": 123,
"target": "example.com",
"status": "completed",
"scan_type": "full",
"started_at": "2025-09-24T10:00:00Z",
"completed_at": "2025-09-24T10:15:00Z",
"vulnerabilities": [
{
"id": "CVE-2023-1234",
"title": "SQL Injection Vulnerability",
"severity": "high",
"cvss_score": 8.5,
"description": "SQL injection vulnerability in login form",
"affected_url": "https://example.com/login",
"recommendation": "Use parameterized queries"
}
]
}
Generate a security report
{
"scan_ids": [123, 124, 125],
"format": "pdf", // pdf, html, json
"include_executive_summary": true,
"include_technical_details": true,
"custom_branding": {
"company_name": "Your Company",
"logo_url": "https://yoursite.com/logo.png"
}
}
Download generated report
Returns the report file in the requested format
Receive real-time notifications when events occur in your account.
scan.started - When a scan beginsscan.completed - When a scan finishesscan.failed - When a scan failsvulnerability.found - When new vulnerability is detected{
"event": "scan.completed",
"timestamp": "2025-09-24T10:15:00Z",
"data": {
"scan_id": 123,
"target": "example.com",
"status": "completed",
"vulnerabilities_found": 5,
"scan_duration": "15 minutes"
}
}
Invalid request parameters or malformed JSON
Invalid or missing API key
Insufficient permissions for the requested resource
Requested resource does not exist
Too many requests - rate limit exceeded
Internal server error - please try again later
Official SDK untuk Node.js dan browser
npm install bitvisor-sdk
Library Python untuk integrasi mudah
pip install bitvisor-python
Composer package untuk PHP
composer require bitvisor/sdk
Tim developer kami siap membantu integrasi API Anda