API Playground
Test the PulseGuard API directly in your browser with our interactive playground. All examples include authentication and can be run immediately.Authentication Setup
Before using the playground, you’ll need to authenticate. Choose your preferred method:Option 1: API Key (Recommended)
- Go to your PulseGuard Dashboard
- Navigate to Settings → API Keys
- Click “Generate New Key”
- Copy the key and use it in the Authorization header
Option 2: JWT Token
If you’re logged in to the dashboard, your JWT token is automatically used for API calls.Domain Monitoring
Create a Domain
Test domain creation with custom monitoring settings.Get Domain Statistics
Retrieve uptime statistics for the last 30 days.Response Time Trends
Get detailed response time data over time.Device Monitoring
Register a Device
Add a new device for monitoring.Get Device Metrics
Retrieve real-time metrics from a device.Service Monitoring
Create a Service
Monitor a custom service or API endpoint.Toolbox Tools
DNS Lookup
Perform DNS lookups for troubleshooting.SSL Certificate Check
Analyze SSL certificate details.Website Analysis
Get comprehensive website analysis.Incident Management
Create Incident
Manually create an incident for tracking.Add Comment to Incident
Collaborate on incident resolution.Dashboard & Reports
Get Dashboard Statistics
Retrieve high-level monitoring statistics.SDK Examples
JavaScript SDK
Python SDK
PHP SDK
Error Examples
Rate Limit Exceeded
Response (429)
Domain Not Found
Response (404)
Validation Error
Response (400)
Webhook Testing
Register Webhook
Test Webhook
Next Steps
- Explore the Full API: Check the complete API Reference for all endpoints
- Build an Integration: Use our SDKs or direct API calls
- Set Up Webhooks: Get real-time notifications
- Monitor Usage: Track your API usage in the dashboard

