targetstringwymagane
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-by-backlinksList a target's pages ordered by backlink and referring-domain counts.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
List a target's pages ordered by backlink and referring-domain counts.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/ahrefs/site-explorer-pages-by-backlinks" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 10,
"scope": "domain",
"target": "ahrefs.com",
"protocol": "both"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
targetstringwymaganeThe target of the report: a domain ('example.com') or a URL ('https://example.com/page').
limitintegerMaximum number of rows to return (1-50, default 10). Each returned row is charged, so this caps the cost of one call.
Domyślnie: 10
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).
Domyślnie: "subdomains"
Możliwe wartości: exact, prefix, domain, subdomains
wherestringJSON filter expression (see the Ahrefs filter syntax docs). Filterable fields: url_to, title_target, links_to_target, refdomains_target.
order_bystringSort order: 'field' or 'field:desc', comma-separated. Sortable fields: url_to, links_to_target, refdomains_target.
protocolstringProtocol of the target: both (default), http, or https.
Domyślnie: "both"
Możliwe wartości: both, http, https
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Ahrefs | Od $0.00516 za wywołanie | Asynchroniczny JSON |
Ahrefs | Od $0.013545 za wywołanie | Asynchroniczny JSON |
Ahrefs | $0.08 za wywołanie | JSON |
Ahrefs | Od $0.01419 za wywołanie | Asynchroniczny JSON |
Ahrefs | Od $0.02709 za wywołanie | Asynchroniczny JSON |
Ahrefs | Od $0.01419 za wywołanie | Asynchroniczny JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/ahrefs/site-explorer-pages-by-backlinks z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
Od $0.00516 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: target (string). Opcjonalne: limit (integer), scope (jedna z opcji: exact, prefix, domain, subdomains), where (string), order_by (string) i protocol (jedna z opcji: both, http, https). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Wynik JSON. Ten endpoint działa asynchronicznie, więc odpowiedź informuje, jak pobrać gotowy wynik.
Nie. Ahrefs Site Explorer Pages By Backlinks działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Ahrefs.