datestringआवश्यक
Report date in YYYY-MM-DD format. Use today's date for current values.
https://api.sandbase.ai/v1/api/ahrefs/site-explorer-top-pagesList a target's pages by estimated organic traffic and top keyword.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
List a target's pages by estimated organic traffic and top keyword.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/ahrefs/site-explorer-top-pages" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"date": "2026-11-01",
"limit": 10,
"scope": "domain",
"target": "ahrefs.com",
"country": "us",
"protocol": "both"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
datestringआवश्यकReport date in YYYY-MM-DD format. Use today's date for current values.
targetstringआवश्यकThe 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.
डिफ़ॉल्ट: 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).
डिफ़ॉल्ट: "subdomains"
संभावित मान: exact, prefix, domain, subdomains
wherestringJSON filter expression (see the Ahrefs filter syntax docs). Filterable fields: url, sum_traffic, top_keyword, top_keyword_volume, top_keyword_best_position.
countrystringTwo-letter country code (ISO 3166-1 alpha-2), e.g. 'us'.
order_bystringSort order: 'field' or 'field:desc', comma-separated. Sortable fields: url, sum_traffic, top_keyword, top_keyword_volume, top_keyword_best_position.
protocolstringProtocol of the target: both (default), http, or https.
डिफ़ॉल्ट: "both"
संभावित मान: both, http, https
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Ahrefs | $0.014835 प्रति कॉल से | असिंक्रोनस JSON |
Ahrefs | $0.013545 प्रति कॉल से | असिंक्रोनस JSON |
Ahrefs | $0.08 प्रति कॉल | JSON |
Ahrefs | $0.01419 प्रति कॉल से | असिंक्रोनस JSON |
Ahrefs | $0.02709 प्रति कॉल से | असिंक्रोनस JSON |
Ahrefs | $0.01419 प्रति कॉल से | असिंक्रोनस JSON |
प्रश्न
https://api.sandbase.ai/v1/api/ahrefs/site-explorer-top-pages पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.014835 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: date (string) और target (string)। वैकल्पिक: limit (integer), scope (exact, prefix, domain, subdomains में से एक), where (string), country (string), order_by (string) और protocol (both, http, https में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON result। यह endpoint asynchronously चलता है, इसलिए response आपको बताता है कि तैयार result कैसे प्राप्त करना है।
नहीं। Ahrefs Site Explorer Top Pages SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Ahrefs API access के लिए आवेदन करने की आवश्यकता नहीं है।