targetstringerforderlich
The target of the report: a domain ('example.com') or a URL ('https://example.com/page').
https://api.sandbase.ai/v1/api/ahrefs/site-explorer-pages-historyTrack how many of a target's pages rank in organic search over time.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
Track how many of a target's pages rank in organic search over time.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/ahrefs/site-explorer-pages-history" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"scope": "domain",
"target": "ahrefs.com",
"country": "us",
"protocol": "both",
"date_from": "2026-08-01",
"history_grouping": "monthly"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
targetstringerforderlichThe target of the report: a domain ('example.com') or a URL ('https://example.com/page').
date_fromstringerforderlichStart date of the historical period in YYYY-MM-DD format.
scopestringScope of the target: exact (this URL only), prefix (URLs starting with the target), domain (the domain without subdomains), or subdomains (default — the domain and all its subdomains).
Standard: "subdomains"
Mögliche Werte: exact, prefix, domain, subdomains
countrystringTwo-letter country code (ISO 3166-1 alpha-2), e.g. 'us'.
date_tostringEnd date of the historical period in YYYY-MM-DD format. Defaults to today.
protocolstringProtocol of the target: both (default), http, or https.
Standard: "both"
Mögliche Werte: both, http, https
history_groupingstringTime bucket size for history rows: daily, weekly, or monthly (default). Each bucket is one charged row.
Standard: "monthly"
Mögliche Werte: daily, weekly, monthly
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Ahrefs Site Explorer Pages HistoryDiese API Ahrefs | Ab $0.00129 pro Aufruf | Asynchrones JSON |
Ahrefs | Ab $0.013545 pro Aufruf | Asynchrones JSON |
Ahrefs | $0.08 pro Aufruf | JSON |
Ahrefs | Ab $0.01419 pro Aufruf | Asynchrones JSON |
Ahrefs | Ab $0.02709 pro Aufruf | Asynchrones JSON |
Ahrefs | Ab $0.01419 pro Aufruf | Asynchrones JSON |
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/ahrefs/site-explorer-pages-history mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
Ab $0.00129 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: target (string) und date_from (string). Optional: scope (eines von exact, prefix, domain, subdomains), country (string), date_to (string), protocol (eines von both, http, https) und history_grouping (eines von daily, weekly, monthly). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Ein JSON-Ergebnis. Dieser Endpunkt läuft asynchron, daher zeigt die Antwort, wie Sie das fertige Ergebnis abrufen.
Nein. Ahrefs Site Explorer Pages History läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Ahrefs API beantragen.