Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Semrush Domain Rank History

Documentación de la 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.

Precio
Desde $0.02USD / llamada
Método
POST
Respuesta
JSON
Parámetros
2 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
Regional Semrush database, e.g. "us", "uk", "de".
Domain to analyze, e.g. "nike.com".
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
SemrushDesde $0.02 por llamadaJSON
SemrushDesde $0.08 por llamadaJSON
SemrushDesde $0.08 por llamadaJSON
SemrushDesde $0.08 por llamadaJSON
Semrush$0.004 por llamadaJSON
SemrushDesde $0.04 por llamadaJSON

Preguntas

FAQ

¿Cómo uso la API de Semrush Domain Rank History?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/semrush/domain-rank-history con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Semrush Domain Rank History?

Desde $0.02 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Semrush Domain Rank History?

Requeridos: database (string) y domain (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Semrush Domain Rank History?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Semrush?

No. Semrush Domain Rank History funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Semrush por separado.