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

Semrush Domain Rank History

เอกสาร API
https://api.sandbase.ai/v1/api/semrush/domain-rank-history

Monthly history of a domain's Semrush rank, organic keywords, organic traffic and traffic cost.

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

Playground

อินพุต
Regional Semrush database, e.g. "us", "uk", "de".
Domain to analyze, e.g. "nike.com".
เอาต์พุตพร้อมใช้งาน

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

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

API README

Semrush Domain Rank History API

Returns a monthly history of a domain's Semrush rank, organic keywords, organic traffic and organic cost. It needs a regional Semrush database and a domain. The response is a semicolon-separated text table with a header line and one row per period.

Use cases

  • Chart how many organic keywords nike.com ranks for over time.
  • Spot sudden drops in organic traffic that point to a ranking loss.
  • Compare the growth of organic cost against organic traffic for a competitor.
  • Track a domain's Semrush rank before and after a content or link-building campaign.

Request

curl -X POST "https://api.sandbase.ai/v1/api/semrush/domain-rank-history" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"database": "us", "domain": "nike.com"}'

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

Parameters

NameTypeRequiredDescription
databasestringYesRegional Semrush database, e.g. "us", "uk", "de".
domainstringYesDomain to analyze, e.g. "nike.com".

Example response

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

"Rank;Organic Keywords;Organic Traffic;Organic Cost\r\n76;3789540;26551513;13860391…"

Response fields

FieldMeaning
[].1First column, headed Rank. It holds the domain's Semrush rank for that row. The first data row shows 76.
[].2Second column, headed Organic Keywords. It holds the number of organic keywords counted for the domain in that row. The first data row shows 3789540.
[].3Third column, headed Organic Traffic. It holds the organic traffic figure for the domain in that row. The first data row shows 26551513.
[].4Fourth column, headed Organic Cost. It holds the organic cost figure for the domain in that row. The first data row shows 13860391.

Notes

  • The response is plain text, not JSON. Lines are separated by \r\n and columns by ;. The first line is the header, and each later line is one row.
  • The response shown has no date column. Do not assume a date for a row beyond its position in the list.
  • Set database to a regional code such as us, uk or de. Pass the bare domain, such as nike.com.
  • For a current snapshot of the same domain, call Semrush Domain Overview. For the keywords behind the traffic, call Semrush Domain Organic Keywords.

Pricing

Billed at the actual cost of each call, about $0.02 for the request above. Failed calls are not charged.

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

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

APIs ทั้งหมด
APIราคาการตอบกลับ
Semrushเริ่มต้นที่ $0.02 ต่อครั้งJSON
Semrushเริ่มต้นที่ $0.08 ต่อครั้งJSON
Semrushเริ่มต้นที่ $0.08 ต่อครั้งJSON
Semrushเริ่มต้นที่ $0.08 ต่อครั้งJSON
Semrush$0.004 ต่อการเรียกJSON
Semrushเริ่มต้นที่ $0.04 ต่อครั้งJSON

คำถาม

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

ฉันจะใช้ Semrush Domain Rank History API ได้อย่างไร?

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

Semrush Domain Rank History API ราคาเท่าไร?

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

Semrush Domain Rank History API รับพารามิเตอร์อะไรบ้าง?

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

Semrush Domain Rank History API ส่งคืนอะไร?

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

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

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