Base URL
https://pulse-checkerapi.onrender.com
A lightweight, file-based uptime monitoring API.
Track website availability, response times, and history — all with simple REST endpoints.
📋 Monitors
Retrieve a list of all monitors. Tokens and check history are hidden.
curl https://pulse-checkerapi.onrender.com/api/monitors.php
Response
{
"success": true,
"monitors": [
{
"id": 1,
"url": "https://example.com",
"status": "up",
"uptime": 99.5,
"response_time": 125,
"last_check": "2026-09-04T10:30:00Z",
"created_at": "2026-09-04T05:58:07-04:00"
}
]
}
Fetch a single monitor by its ID.
curl https://pulse-checkerapi.onrender.com/api/monitors.php?id=1
| Parameter | Type | Description |
| id | integer | Monitor ID required |
Response
{
"success": true,
"monitor": {
"id": 1,
"url": "https://example.com",
"status": "up",
"uptime": 99.5,
"response_time": 125,
"last_check": "2026-09-04T10:30:00Z",
"created_at": "2026-09-04T05:58:07-04:00"
}
}
Create a new monitor. Returns a token — save it for future checks and deletion.
curl -X POST https://pulse-checkerapi.onrender.com/api/monitors.php \
-H "Content-Type: application/json" \
-d '{"url": "https://google.com"}'
| Parameter | Type | Description |
| url | string | Website URL to monitor required |
Response
{
"success": true,
"monitor": {
"id": 2,
"url": "https://google.com",
"token": "a1b2c3d4e5f67890...",
"status": "pending"
}
}
⚠️ Save the token! You need it to check or delete the monitor.
⚡ Check
Trigger a manual check for a monitor. Requires the monitor's token in the X-PulseCheck-Token header.
curl -X POST https://pulse-checkerapi.onrender.com/api/check.php?id=1 \
-H "X-PulseCheck-Token: YOUR_MONITOR_TOKEN"
| Header | Description |
| X-PulseCheck-Token | Monitor token required |
| Parameter | Description |
| id | Monitor ID required |
Response
{
"success": true,
"monitor_id": 1,
"status": "up",
"status_code": 200,
"response_time": 45,
"uptime_24h": 99.8,
"checked_at": "2026-09-04T10:30:00Z"
}
📊 History
Retrieve check history for a monitor. Returns up to 500 checks, sorted newest first.
curl https://pulse-checkerapi.onrender.com/api/history.php?id=1&limit=10
| Parameter | Type | Description |
| id | integer | Monitor ID required |
| limit | integer | Max checks to return (default 100, max 500) |
Response
{
"success": true,
"checks": [
{
"status_code": 200,
"response_time": 45,
"success": true,
"error_message": null,
"checked_at": "2026-09-04T10:30:00Z"
}
]
}
🗑️ Delete
Permanently delete a monitor and all its history. Requires the monitor's token in the X-PulseCheck-Token header.
curl -X DELETE https://pulse-checkerapi.onrender.com/api/monitors.php \
-H "X-PulseCheck-Token: YOUR_MONITOR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": 1}'
| Header | Description |
| X-PulseCheck-Token | Monitor token required |
| Parameter | Description |
| id | Monitor ID required |
Response
{
"success": true
}
📡 API Status
Check if the API is online and get version information.
curl https://pulse-checkerapi.onrender.com/
Response
{
"name": "PulseCheck API",
"version": "2.0.0",
"storage": "file-based",
"status": "online"
}
🛠️ Error Codes
| Code | Meaning |
| 200 | Success |
| 201 | Created |
| 401 | Unauthorized (missing token) |
| 403 | Invalid token |
| 404 | Monitor not found |
| 405 | Method not allowed |
| 422 | Invalid input |
| 500 | Server error |