@getanyapi/sdk 0.52.2 → 0.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +52 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +785 -1
- package/dist/index.d.ts +785 -1
- package/dist/index.js +52 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5684,6 +5684,32 @@ var SeoNamespace = class {
|
|
|
5684
5684
|
this._core = _core;
|
|
5685
5685
|
}
|
|
5686
5686
|
_core;
|
|
5687
|
+
/**
|
|
5688
|
+
* SEO Backlinks
|
|
5689
|
+
*
|
|
5690
|
+
* Get AnyAPI SEO backlinks for a domain or URL, each with the linking page, anchor text, dofollow flag, authority rank, spam score, and first and last seen dates as normalized JSON.
|
|
5691
|
+
*
|
|
5692
|
+
* Price: $0.0288 per request plus $0.00005 per result (maximum $0.0768).
|
|
5693
|
+
*
|
|
5694
|
+
* @example
|
|
5695
|
+
* const res = await client.seo.backlinks({ target: "ahrefs.com", limit: 10 });
|
|
5696
|
+
*/
|
|
5697
|
+
backlinks(input, options) {
|
|
5698
|
+
return this._core.run("seo.backlinks", input, options);
|
|
5699
|
+
}
|
|
5700
|
+
/**
|
|
5701
|
+
* SEO Backlinks Summary
|
|
5702
|
+
*
|
|
5703
|
+
* Get AnyAPI SEO backlink profile totals for a domain or URL: backlinks, referring domains, authority rank, spam score, and broken links as normalized JSON.
|
|
5704
|
+
*
|
|
5705
|
+
* Price: $0.02885 per request plus $0 per result (maximum $0.02885).
|
|
5706
|
+
*
|
|
5707
|
+
* @example
|
|
5708
|
+
* const res = await client.seo.backlinksSummary({ target: "ahrefs.com" });
|
|
5709
|
+
*/
|
|
5710
|
+
backlinksSummary(input, options) {
|
|
5711
|
+
return this._core.run("seo.backlinks_summary", input, options);
|
|
5712
|
+
}
|
|
5687
5713
|
/**
|
|
5688
5714
|
* SEO Competitor Domains
|
|
5689
5715
|
*
|
|
@@ -5817,6 +5843,19 @@ var SeoNamespace = class {
|
|
|
5817
5843
|
keywordSuggestions(input, options) {
|
|
5818
5844
|
return this._core.run("seo.keyword_suggestions", input, options);
|
|
5819
5845
|
}
|
|
5846
|
+
/**
|
|
5847
|
+
* SEO LLM Mentions
|
|
5848
|
+
*
|
|
5849
|
+
* Find AI answers that mention a domain or keyword, from Google AI Overviews or ChatGPT, each with the question asked, the answer, its cited sources, and AI search volume as normalized JSON.
|
|
5850
|
+
*
|
|
5851
|
+
* Price: $0.12 per request plus $0.0012 per result (maximum $1.32).
|
|
5852
|
+
*
|
|
5853
|
+
* @example
|
|
5854
|
+
* const res = await client.seo.llmMentions({ domain: "ahrefs.com", limit: 5, platform: "google" });
|
|
5855
|
+
*/
|
|
5856
|
+
llmMentions(input, options) {
|
|
5857
|
+
return this._core.run("seo.llm_mentions", input, options);
|
|
5858
|
+
}
|
|
5820
5859
|
/**
|
|
5821
5860
|
* SEO Local Pack
|
|
5822
5861
|
*
|
|
@@ -5843,6 +5882,19 @@ var SeoNamespace = class {
|
|
|
5843
5882
|
rankedKeywords(input, options) {
|
|
5844
5883
|
return this._core.run("seo.ranked_keywords", input, options);
|
|
5845
5884
|
}
|
|
5885
|
+
/**
|
|
5886
|
+
* SEO Referring Domains
|
|
5887
|
+
*
|
|
5888
|
+
* Get AnyAPI SEO referring domains for a domain or URL, each with its backlink count, authority rank, spam score, and first seen date as normalized JSON.
|
|
5889
|
+
*
|
|
5890
|
+
* Price: $0.0288 per request plus $0.00005 per result (maximum $0.0768).
|
|
5891
|
+
*
|
|
5892
|
+
* @example
|
|
5893
|
+
* const res = await client.seo.referringDomains({ target: "ahrefs.com", limit: 10 });
|
|
5894
|
+
*/
|
|
5895
|
+
referringDomains(input, options) {
|
|
5896
|
+
return this._core.run("seo.referring_domains", input, options);
|
|
5897
|
+
}
|
|
5846
5898
|
/**
|
|
5847
5899
|
* SEO Related Keywords
|
|
5848
5900
|
*
|