Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Ahrefs Ahrefs Domain Rating

Docs 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.

Prix
$0.08USD / appel
Méthode
POST
Réponse
JSON
Paramètres
2 obligatoires · 0 facultatifs

Bac à sable

Entrée
Snapshot date in `YYYY-MM-DD` format.
Target domain, e.g. `ahrefs.com`.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Ahrefs$0.08 par appelJSON
AhrefsÀ partir de $0.013545 par appelJSON asynchrone
AhrefsÀ partir de $0.01419 par appelJSON asynchrone
AhrefsÀ partir de $0.02709 par appelJSON asynchrone
AhrefsÀ partir de $0.01419 par appelJSON asynchrone
AhrefsÀ partir de $0.00774 par appelJSON asynchrone

Questions

FAQ

Comment utiliser l’API Ahrefs Ahrefs Domain Rating ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/ahrefs/domain-rating avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Ahrefs Ahrefs Domain Rating ?

$0.08 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Ahrefs Ahrefs Domain Rating accepte-t-elle ?

Obligatoire : date (string) et target (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Ahrefs Ahrefs Domain Rating ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Ahrefs ?

Non. Ahrefs Ahrefs Domain Rating fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Ahrefs séparément.