Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Ahrefs Ahrefs Domain Rating

เอกสาร 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.

ราคา
$0.08USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
2 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
Snapshot date in `YYYY-MM-DD` format.
Target domain, e.g. `ahrefs.com`.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Ahrefs$0.08 ต่อการเรียกJSON
Ahrefsเริ่มต้นที่ $0.013545 ต่อครั้งAsync JSON
Ahrefsเริ่มต้นที่ $0.01419 ต่อครั้งAsync JSON
Ahrefsเริ่มต้นที่ $0.02709 ต่อครั้งAsync JSON
Ahrefsเริ่มต้นที่ $0.01419 ต่อครั้งAsync JSON
Ahrefsเริ่มต้นที่ $0.00774 ต่อครั้งAsync JSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Ahrefs Ahrefs Domain Rating API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/ahrefs/domain-rating โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Ahrefs Ahrefs Domain Rating API ราคาเท่าไร?

$0.08 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Ahrefs Ahrefs Domain Rating API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: date (string) และ target (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Ahrefs Ahrefs Domain Rating API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Ahrefs ไหม?

ไม่จำเป็น Ahrefs Ahrefs Domain Rating ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Ahrefs API แยกต่างหาก