curl --request GET \
--url https://api.dnsradar.dev/monitors/{monitor_id}/events \
--header 'X-Api-Key: <api-key>'{
"limit": 20,
"after": "<string>",
"before": "<string>",
"has_more": true,
"data": [
{
"id": "evt_abc123...",
"monitor_id": "mon_abc123...",
"monitor": {
"domain": "example.com",
"subdomain": "www",
"record_type": "A",
"expected_value": [
"192.168.1.1"
]
},
"occurred": "2023-11-07T05:31:56Z",
"previous_value": [
"192.168.1.1"
],
"current_value": [
"10.0.0.1"
],
"old_state": "MISMATCH",
"new_state": "VALID",
"incidence_count": 0
}
]
}Get a paginated list of DNS changes (as events) detected for a specific monitor.
curl --request GET \
--url https://api.dnsradar.dev/monitors/{monitor_id}/events \
--header 'X-Api-Key: <api-key>'{
"limit": 20,
"after": "<string>",
"before": "<string>",
"has_more": true,
"data": [
{
"id": "evt_abc123...",
"monitor_id": "mon_abc123...",
"monitor": {
"domain": "example.com",
"subdomain": "www",
"record_type": "A",
"expected_value": [
"192.168.1.1"
]
},
"occurred": "2023-11-07T05:31:56Z",
"previous_value": [
"192.168.1.1"
],
"current_value": [
"10.0.0.1"
],
"old_state": "MISMATCH",
"new_state": "VALID",
"incidence_count": 0
}
]
}incidence_count increases and triggers an event.occurred_before or occurred_after, as UTC Timestamps.API key used to authenticate yourself on DNSRadar. Obtain your API key from your DNSRadar dashboard.
Monitor UUID
Cursor for fetching the next page of results. Use the value from the previous response's 'after' field.
Cursor for fetching the previous page of results. Use the value from the previous response's 'before' field.
Number of items per page (1-100, default: 20)
1 <= x <= 100Field to order results by
Sort direction
asc, desc Filter events that occurred before this UTC timestamp
Filter events that occurred after this UTC timestamp
Filter events by old state
UNSET, VALID, INVALID, TIMEOUT, MISMATCH, NOT_FOUND, NO_DATA, BAD_SETUP Filter events by new state
VALID, INVALID, TIMEOUT, MISMATCH, NOT_FOUND, NO_DATA, BAD_SETUP Paginated list of events
Paginated response wrapper for list endpoints. Uses cursor-based pagination with after/before parameters.
Number of items per page (max 100)
20
Cursor to fetch the next page of results
Cursor to fetch the previous page of results
Indicates if there are more items to fetch
Array of items for the current page
Show child attributes