Get a domain's rating
Returns the most recent Ahrefs Domain Rating (DR) for a single domain tracked on DR Studio.
GET/api/public/domain-rating
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| domain | string | required | The domain to look up, without protocol or path. Example: example.com. The alias "target" is also accepted. |
Example request
curl "https://drstud.io/api/public/domain-rating?domain=example.com"Example response (200)
{
"domain": "example.com",
"domain_rating": 78.4,
"checked_at": "2026-06-28T10:14:00.000Z",
"attribution": "Data from DR Studio (https://drstud.io). Domain Rating by Ahrefs."
}Response fields
| Field | Type | Description |
|---|---|---|
| domain | string | Normalized domain (lowercase, no protocol). |
| domain_rating | number | null | Ahrefs DR on a 0–100 logarithmic scale. Null if not yet computed. |
| checked_at | string (ISO 8601) | Timestamp when this rating was recorded. |
| attribution | string | Attribution string you must display if you redistribute the value. |
Errors
| Field | Type | Description |
|---|---|---|
| 400 | Bad Request | Missing or invalid `domain` parameter. |
| 404 | Not Found | Domain is not tracked yet. Submit it at drstud.io to start tracking. |