targetstringобязательно
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.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
Track how many of a target's pages rank in organic search over time.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
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"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
targetstringобязательноThe target of the report: a domain ('example.com') or a URL ('https://example.com/page').
date_fromstringобязательноStart 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).
По умолчанию: "subdomains"
Возможные значения: 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.
По умолчанию: "both"
Возможные значения: both, http, https
history_groupingstringTime bucket size for history rows: daily, weekly, or monthly (default). Each bucket is one charged row.
По умолчанию: "monthly"
Возможные значения: daily, weekly, monthly
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Ahrefs | От $0.00129 за запрос | Асинхронный JSON |
Ahrefs | От $0.013545 за запрос | Асинхронный JSON |
Ahrefs | $0.08 за запрос | JSON |
Ahrefs | От $0.01419 за запрос | Асинхронный JSON |
Ahrefs | От $0.02709 за запрос | Асинхронный JSON |
Ahrefs | От $0.01419 за запрос | Асинхронный JSON |
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/ahrefs/site-explorer-pages-history, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
От $0.00129 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: target (string) и date_from (string). Необязательные: scope (один из exact, prefix, domain, subdomains), country (string), date_to (string), protocol (один из both, http, https) и history_grouping (один из daily, weekly, monthly). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-результат. Этот endpoint работает асинхронно, поэтому ответ подсказывает, как получить готовый результат.
Нет. Ahrefs Site Explorer Pages History работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Ahrefs.