# protocol on GET /v3/site-explorer/domain-rating is deprecated

Ahrefs API deprecated GET /v3/site-explorer/domain-rating, query parameter protocol without giving a shutdown date yet.

The protocol query parameter for GET /v3/site-explorer/domain-rating is deprecated without a shutdown date. Ahrefs API announced on June 25, 2026, that the parameter has been removed from the endpoint. Requests that continue to include the protocol parameter fail.

## What to use instead

Stop sending protocol because Domain Rating is calculated per domain.

- API: Ahrefs API (api.ahrefs.com)
- Kind: Parameter removal
- Announced: June 25, 2026
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /v3/site-explorer/domain-rating`, `query parameter protocol`
- Source: [Announcement](https://docs.ahrefs.com/api/docs/changelog)
- Verified: November 6, 2026, against Ahrefs API's own pages
- Page: https://www.okapi.bot/providers/ahrefs-api/breaking-changes/protocol-on-get-v3-site-explorer-domain-rating-is-deprecated/

## Ahrefs API's words

> The protocol parameter has been removed from the

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
