Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Ahrefs Ahrefs Domain Rating

Dokumentacja API
https://api.sandbase.ai/v1/api/ahrefs/domain-rating

Return the Ahrefs Domain Rating (0-100 authority score) and Ahrefs Rank for a target domain on a given date. 4xx/5xx are not charged.

Cena
$0.08USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
2 wymaganych · 0 opcjonalnych

Playground

Wejście
Snapshot date in `YYYY-MM-DD` format.
Target domain, e.g. `ahrefs.com`.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

Ahrefs Ahrefs Domain Rating API

Returns the Ahrefs Domain Rating and Ahrefs Rank for one domain on a chosen date. You send the domain in target and a snapshot date in date.

Use cases

  • Check the authority score of a domain before you buy a guest post or ask for a link.
  • Track how a site's Domain Rating changes by calling the API with different date values.
  • Compare the Domain Rating of several competitor domains in one report.
  • Filter a list of prospect domains by minimum Domain Rating in an outreach tool.

Request

curl -X POST "https://api.sandbase.ai/v1/api/ahrefs/domain-rating" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"target": "ahrefs.com", "date": "2026-10-01"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
datestringYesSnapshot date in YYYY-MM-DD format.
targetstringYesTarget domain, e.g. ahrefs.com.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "domain_rating": {
    "ahrefs_rank": 620,
    "domain_rating": 91.0
  }
}

Response fields

FieldMeaning
domain_rating.domain_ratingThe Ahrefs Domain Rating of the target domain on the requested date. The value is on a 0-100 scale, as described in the API description.
domain_rating.ahrefs_rankThe Ahrefs Rank of the target domain on the requested date. A lower number means a higher position in the ranking.

Notes

  • Send target as a bare domain such as ahrefs.com.
  • Send date as YYYY-MM-DD. Both target and date are required.
  • To get more site metrics for the same domain, call Ahrefs Ahrefs Site Metrics.

Pricing

$0.08 per successful call. Failed calls are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Ahrefs$0.08 za wywołanieJSON
AhrefsOd $0.013545 za wywołanieAsynchroniczny JSON
AhrefsOd $0.01419 za wywołanieAsynchroniczny JSON
AhrefsOd $0.02709 za wywołanieAsynchroniczny JSON
AhrefsOd $0.01419 za wywołanieAsynchroniczny JSON
AhrefsOd $0.00774 za wywołanieAsynchroniczny JSON

Pytania

FAQ

Jak używać API Ahrefs Ahrefs Domain Rating?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/ahrefs/domain-rating z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Ahrefs Ahrefs Domain Rating?

$0.08 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Ahrefs Ahrefs Domain Rating?

Wymagane: date (string) i target (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Ahrefs Ahrefs Domain Rating?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Ahrefs lub klucza API?

Nie. Ahrefs Ahrefs Domain Rating działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Ahrefs.