GET List & Get Monitors
List your monitors or fetch a single monitor by ID
GET
https://api.anakin.io/v1/monitorsList all monitors you own.
Response
200 OK{
"monitors": [
{
"id": "b1e7c2a4-…",
"url": "https://example.com/product/123",
"watchMode": "specific_data",
"intervalMinutes": 60,
"isActive": true,
"sessionExpired": false,
"aiMode": true,
"creditCostPerRun": 4,
"nextRunAt": "2026-01-01T12:00:00Z",
"lastCheckedAt": "2026-01-01T11:00:00Z",
"createdAt": "2025-12-01T09:00:00Z",
"updatedAt": "2025-12-15T09:00:00Z"
}
]
}Each item is a full Monitor object.
GET
https://api.anakin.io/v1/monitors/{id}Fetch a single monitor by ID.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id required | string | The monitor ID. |
Response
200 OKReturns the Monitor object. Returns 404 not_found if the monitor doesn't exist or isn't yours.
Code Examples
# List all monitors
curl https://api.anakin.io/v1/monitors \
-H "X-API-Key: your_api_key"
# Get one
curl https://api.anakin.io/v1/monitors/b1e7c2a4-... \
-H "X-API-Key: your_api_key"import requests
headers = {"X-API-Key": "your_api_key"}
monitors = requests.get("https://api.anakin.io/v1/monitors", headers=headers).json()["monitors"]
for m in monitors:
print(m["id"], m["url"], "active" if m["isActive"] else "paused")
one = requests.get(f"https://api.anakin.io/v1/monitors/{monitors[0]['id']}", headers=headers).json()
print(one["lastCheckedAt"])const headers = { "X-API-Key": "your_api_key" };
const { monitors } = await (await fetch("https://api.anakin.io/v1/monitors", { headers })).json();
monitors.forEach((m) => console.log(m.id, m.url, m.isActive ? "active" : "paused"));
const one = await (await fetch(`https://api.anakin.io/v1/monitors/${monitors[0].id}`, { headers })).json();
console.log(one.lastCheckedAt);