Skip to content

Troubleshooting

Healthcheck endpoints

Sometimes we need to check the heath of services - the endpoints below will return a balance and the last API request and if it was cached.

json
{
	"data": {
		"service": "ahrefs-v3",
		"last_request": "2024-03-11 18:38:42",
		"request_was_cached": false,
		"credits": {
			"subscription": "Enterprise, billed monthly",
			"usage_reset_date": "2024-04-04T00:00:00Z",
			"units_limit_workspace": 10000000,
			"units_usage_workspace": 9011700,
			"units_limit_api_key": null,
			"units_usage_api_key": 9011700,
			"api_key_expiration_date": "2025-03-06T17:06:35Z"
		}
	}
}

The following stats are available to call;

ServiceRouteUse
HunterIO/api/v1/hunter/statsAPI
Semrush/api/v1/semrush/statsAPI
Ahrefs/api/v1/ahrefs/statsAPI
Majestic/api/v1/majestic/statsAPI
Ahrefs v3/api/v1/ahrefs-v3/statsAPI