Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Semrush Domain Rank History

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

Prezzo
Da $0.02USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
2 obbligatori · 0 opzionali

Playground

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

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

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

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
SemrushDa $0.02 per chiamataJSON
SemrushDa $0.08 per chiamataJSON
SemrushDa $0.08 per chiamataJSON
SemrushDa $0.08 per chiamataJSON
Semrush$0.004 per chiamataJSON
SemrushDa $0.04 per chiamataJSON

Domande

FAQ

Come uso l'API Semrush Domain Rank History?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/semrush/domain-rank-history con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Semrush Domain Rank History?

A partire da $0.02 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Semrush Domain Rank History?

Richiesti: database (string) e domain (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Semrush Domain Rank History?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Semrush?

No. Semrush Domain Rank History funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Semrush.