Why Engineers Put Domain Data in Grafana
If your team already runs Grafana for infrastructure monitoring, SSL and domain expiry data belongs there too. A cert expiry is as operationally important as disk space or memory pressure — and your on-call engineers should be able to see it in the same place they watch everything else.
DomainCat's REST API returns SSL and domain health as clean JSON, making it straightforward to pull into Grafana using the JSON API data source plugin. You can build stat panels showing days remaining for each cert, table panels listing all domains with their expiry dates, or alert rules that page your on-call when a cert drops below 14 days.
You're not locked into DomainCat's alerting either — once your data is in Grafana, you can use any Grafana alerting destination: PagerDuty, OpsGenie, Slack, email, or your own webhook handler.
The API Endpoints
The DomainCat API is authenticated with a bearer token. Retrieve your API key from the Settings page after signing up.
[
{
"id": 42,
"hostname": "example.com",
"label": "Main site",
"group_name": "Clients",
"issuer": "Let's Encrypt",
"days_remaining": 24,
"valid_to": "2026-05-12T00:00:00.000Z",
"registrar": "Namecheap",
"domain_expiry": "2027-03-01T00:00:00.000Z",
"country": "US",
"last_checked_at": "2026-04-18T10:00:00.000Z"
}
]{
"total": 47,
"expiring_soon": 3,
"ssl_expired": 0,
"domain_expiring_soon": 2,
"domain_expired": 0,
"unchecked": 1
}Available Fields per Domain
Every domain returned by the API includes the following fields, all of which can be used as Grafana panel data sources or alert conditions:
Connecting DomainCat to Grafana
Use the Grafana JSON API data source plugin to query DomainCat directly. Here's the setup in four steps:
Install the JSON API plugin
In your Grafana instance, go to Administration → Plugins and install the JSON API data source (by Marcus Olsson). This plugin can query any REST endpoint that returns JSON.
Add DomainCat as a data source
Set the URL to https://domaincat.app/api. Under Headers, add Authorization: Bearer YOUR_API_KEY. You can copy your API key from the DomainCat Settings page.
Build panels using the /domains endpoint
Create a table panel querying /domains. Map hostname, days_remaining, valid_to, and domain_expiry as columns. Use days_remaining for color thresholds: green above 30, yellow 8–30, red below 7.
Import the free dashboard template
DomainCat provides a pre-built Grafana dashboard JSON that you can import directly. Log into DomainCat and download the template from the Settings → API section to get started immediately.
What You Can Build in Grafana
Related Monitoring Tools
Explore other DomainCat monitoring capabilities: