targetstringzorunlu
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-all-backlinksList a target's backlinks with anchors, source ratings, and link attributes.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
List a target's backlinks with anchors, source ratings, and link attributes.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/ahrefs/site-explorer-all-backlinks" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 10,
"scope": "domain",
"target": "ahrefs.com",
"protocol": "both"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
targetstringzorunluThe 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.
Varsayılan: 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).
Varsayılan: "subdomains"
Olası değerler: exact, prefix, domain, subdomains
wherestringJSON filter expression (see the Ahrefs filter syntax docs). Filterable fields: url_from, url_to, anchor, title, domain_rating_source, url_rating_source, first_seen, last_seen, is_dofollow, link_type.
order_bystringSort order: 'field' or 'field:desc', comma-separated. Sortable fields: url_from, url_to, anchor, title, domain_rating_source, url_rating_source, first_seen, last_seen, is_dofollow, link_type.
protocolstringProtocol of the target: both (default), http, or https.
Varsayılan: "both"
Olası değerler: both, http, https
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Ahrefs | Kullanım başına $0.00645'den itibaren | Asenkron JSON |
Ahrefs | Kullanım başına $0.013545'den itibaren | Asenkron JSON |
Ahrefs | $0.08 çağrı başına | JSON |
Ahrefs | Kullanım başına $0.01419'den itibaren | Asenkron JSON |
Ahrefs | Kullanım başına $0.02709'den itibaren | Asenkron JSON |
Ahrefs | Kullanım başına $0.01419'den itibaren | Asenkron JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/ahrefs/site-explorer-all-backlinks adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.00645'dan başlayan, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: target (string). İsteğe bağlı: limit (integer), scope (exact, prefix, domain, subdomains arasından biri), where (string), order_by (string) ve protocol (both, http, https arasından biri). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Bir JSON sonucu. Bu uç nokta asenkron çalışır; bu nedenle yanıt, tamamlanan sonucu nasıl alacağınızı söyler.
Hayır. Ahrefs Site Explorer All Backlinks, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Ahrefs API erişimi için ayrıca başvuru yapmanız gerekmez.