@getanyapi/sdk 0.52.2 → 0.54.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 +143 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3202 -529
- package/dist/index.d.ts +3202 -529
- package/dist/index.js +143 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5684,6 +5684,58 @@ var SeoNamespace = class {
|
|
|
5684
5684
|
this._core = _core;
|
|
5685
5685
|
}
|
|
5686
5686
|
_core;
|
|
5687
|
+
/**
|
|
5688
|
+
* SEO Backlink Anchors
|
|
5689
|
+
*
|
|
5690
|
+
* Get AnyAPI SEO anchor texts of the backlinks pointing at a domain or URL, each with backlink and referring domain counts, authority rank, and spam score 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.backlinkAnchors({ target: "ahrefs.com", limit: 10 });
|
|
5696
|
+
*/
|
|
5697
|
+
backlinkAnchors(input, options) {
|
|
5698
|
+
return this._core.run("seo.backlink_anchors", input, options);
|
|
5699
|
+
}
|
|
5700
|
+
/**
|
|
5701
|
+
* SEO Backlink Competitors
|
|
5702
|
+
*
|
|
5703
|
+
* Find the domains that share the most backlinks with a domain or URL, each with its authority rank and shared backlink count as normalized JSON.
|
|
5704
|
+
*
|
|
5705
|
+
* Price: $0.0288 per request plus $0.00005 per result (maximum $0.0768).
|
|
5706
|
+
*
|
|
5707
|
+
* @example
|
|
5708
|
+
* const res = await client.seo.backlinkCompetitors({ target: "ahrefs.com", limit: 10 });
|
|
5709
|
+
*/
|
|
5710
|
+
backlinkCompetitors(input, options) {
|
|
5711
|
+
return this._core.run("seo.backlink_competitors", input, options);
|
|
5712
|
+
}
|
|
5713
|
+
/**
|
|
5714
|
+
* SEO Backlinks
|
|
5715
|
+
*
|
|
5716
|
+
* 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.
|
|
5717
|
+
*
|
|
5718
|
+
* Price: $0.0288 per request plus $0.00005 per result (maximum $0.0768).
|
|
5719
|
+
*
|
|
5720
|
+
* @example
|
|
5721
|
+
* const res = await client.seo.backlinks({ target: "ahrefs.com", limit: 10 });
|
|
5722
|
+
*/
|
|
5723
|
+
backlinks(input, options) {
|
|
5724
|
+
return this._core.run("seo.backlinks", input, options);
|
|
5725
|
+
}
|
|
5726
|
+
/**
|
|
5727
|
+
* SEO Backlinks Summary
|
|
5728
|
+
*
|
|
5729
|
+
* Get AnyAPI SEO backlink profile totals for a domain or URL: backlinks, referring domains, authority rank, spam score, and broken links as normalized JSON.
|
|
5730
|
+
*
|
|
5731
|
+
* Price: $0.02885 per request plus $0 per result (maximum $0.02885).
|
|
5732
|
+
*
|
|
5733
|
+
* @example
|
|
5734
|
+
* const res = await client.seo.backlinksSummary({ target: "ahrefs.com" });
|
|
5735
|
+
*/
|
|
5736
|
+
backlinksSummary(input, options) {
|
|
5737
|
+
return this._core.run("seo.backlinks_summary", input, options);
|
|
5738
|
+
}
|
|
5687
5739
|
/**
|
|
5688
5740
|
* SEO Competitor Domains
|
|
5689
5741
|
*
|
|
@@ -5710,6 +5762,19 @@ var SeoNamespace = class {
|
|
|
5710
5762
|
domainIntersection(input, options) {
|
|
5711
5763
|
return this._core.run("seo.domain_intersection", input, options);
|
|
5712
5764
|
}
|
|
5765
|
+
/**
|
|
5766
|
+
* SEO Domain Pages
|
|
5767
|
+
*
|
|
5768
|
+
* Get AnyAPI SEO pages of a domain with their backlink profile (rank, backlinks, referring domains) and on-page data (title, headings, word count, status, technologies) as normalized JSON.
|
|
5769
|
+
*
|
|
5770
|
+
* Price: $0.0288 per request plus $0.00005 per result (maximum $0.0768).
|
|
5771
|
+
*
|
|
5772
|
+
* @example
|
|
5773
|
+
* const res = await client.seo.domainPages({ target: "ahrefs.com", limit: 10 });
|
|
5774
|
+
*/
|
|
5775
|
+
domainPages(input, options) {
|
|
5776
|
+
return this._core.run("seo.domain_pages", input, options);
|
|
5777
|
+
}
|
|
5713
5778
|
/**
|
|
5714
5779
|
* SEO Domain Rank Overview
|
|
5715
5780
|
*
|
|
@@ -5817,6 +5882,58 @@ var SeoNamespace = class {
|
|
|
5817
5882
|
keywordSuggestions(input, options) {
|
|
5818
5883
|
return this._core.run("seo.keyword_suggestions", input, options);
|
|
5819
5884
|
}
|
|
5885
|
+
/**
|
|
5886
|
+
* SEO LLM Mentions
|
|
5887
|
+
*
|
|
5888
|
+
* 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.
|
|
5889
|
+
*
|
|
5890
|
+
* Price: $0.12 per request plus $0.0012 per result (maximum $1.32).
|
|
5891
|
+
*
|
|
5892
|
+
* @example
|
|
5893
|
+
* const res = await client.seo.llmMentions({ domain: "ahrefs.com", limit: 5, platform: "google" });
|
|
5894
|
+
*/
|
|
5895
|
+
llmMentions(input, options) {
|
|
5896
|
+
return this._core.run("seo.llm_mentions", input, options);
|
|
5897
|
+
}
|
|
5898
|
+
/**
|
|
5899
|
+
* SEO LLM Top Brands
|
|
5900
|
+
*
|
|
5901
|
+
* Rank the brands ChatGPT names most often in answers about a keyword or domain, each with mention count, AI search volume, and the sources and categories behind them as normalized JSON.
|
|
5902
|
+
*
|
|
5903
|
+
* Price: $0.12 per request plus $0.0012 per result (maximum $1.32).
|
|
5904
|
+
*
|
|
5905
|
+
* @example
|
|
5906
|
+
* const res = await client.seo.llmTopBrands({ keyword: "seo tools", limit: 5 });
|
|
5907
|
+
*/
|
|
5908
|
+
llmTopBrands(input, options) {
|
|
5909
|
+
return this._core.run("seo.llm_top_brands", input, options);
|
|
5910
|
+
}
|
|
5911
|
+
/**
|
|
5912
|
+
* SEO LLM Top Domains
|
|
5913
|
+
*
|
|
5914
|
+
* Rank the domains Google AI Overviews and ChatGPT cite most often in answers about a keyword or domain, each with mention count, AI search volume, and breakdowns by platform, location, and co-cited sources as normalized JSON.
|
|
5915
|
+
*
|
|
5916
|
+
* Price: $0.12 per request plus $0.0012 per result (maximum $1.32).
|
|
5917
|
+
*
|
|
5918
|
+
* @example
|
|
5919
|
+
* const res = await client.seo.llmTopDomains({ keyword: "seo tools", limit: 5 });
|
|
5920
|
+
*/
|
|
5921
|
+
llmTopDomains(input, options) {
|
|
5922
|
+
return this._core.run("seo.llm_top_domains", input, options);
|
|
5923
|
+
}
|
|
5924
|
+
/**
|
|
5925
|
+
* SEO LLM Top Pages
|
|
5926
|
+
*
|
|
5927
|
+
* Rank the pages Google AI Overviews and ChatGPT cite most often in answers about a keyword or domain, each with mention count, AI search volume, and breakdowns by platform, location, and co-cited sources as normalized JSON.
|
|
5928
|
+
*
|
|
5929
|
+
* Price: $0.12 per request plus $0.0012 per result (maximum $1.32).
|
|
5930
|
+
*
|
|
5931
|
+
* @example
|
|
5932
|
+
* const res = await client.seo.llmTopPages({ keyword: "seo tools", limit: 5 });
|
|
5933
|
+
*/
|
|
5934
|
+
llmTopPages(input, options) {
|
|
5935
|
+
return this._core.run("seo.llm_top_pages", input, options);
|
|
5936
|
+
}
|
|
5820
5937
|
/**
|
|
5821
5938
|
* SEO Local Pack
|
|
5822
5939
|
*
|
|
@@ -5843,6 +5960,19 @@ var SeoNamespace = class {
|
|
|
5843
5960
|
rankedKeywords(input, options) {
|
|
5844
5961
|
return this._core.run("seo.ranked_keywords", input, options);
|
|
5845
5962
|
}
|
|
5963
|
+
/**
|
|
5964
|
+
* SEO Referring Domains
|
|
5965
|
+
*
|
|
5966
|
+
* 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.
|
|
5967
|
+
*
|
|
5968
|
+
* Price: $0.0288 per request plus $0.00005 per result (maximum $0.0768).
|
|
5969
|
+
*
|
|
5970
|
+
* @example
|
|
5971
|
+
* const res = await client.seo.referringDomains({ target: "ahrefs.com", limit: 10 });
|
|
5972
|
+
*/
|
|
5973
|
+
referringDomains(input, options) {
|
|
5974
|
+
return this._core.run("seo.referring_domains", input, options);
|
|
5975
|
+
}
|
|
5846
5976
|
/**
|
|
5847
5977
|
* SEO Related Keywords
|
|
5848
5978
|
*
|
|
@@ -5882,6 +6012,19 @@ var SeoNamespace = class {
|
|
|
5882
6012
|
searchVolume(input, options) {
|
|
5883
6013
|
return this._core.run("seo.search_volume", input, options);
|
|
5884
6014
|
}
|
|
6015
|
+
/**
|
|
6016
|
+
* SEO Top Pages
|
|
6017
|
+
*
|
|
6018
|
+
* Get AnyAPI SEO top pages of a domain by organic search, each with ranking keyword counts, estimated traffic and its ad value, and position distribution as normalized JSON.
|
|
6019
|
+
*
|
|
6020
|
+
* Price: $0.0144 per request plus $0.00015 per result (maximum $0.1584).
|
|
6021
|
+
*
|
|
6022
|
+
* @example
|
|
6023
|
+
* const res = await client.seo.topPages({ target: "ahrefs.com", limit: 10 });
|
|
6024
|
+
*/
|
|
6025
|
+
topPages(input, options) {
|
|
6026
|
+
return this._core.run("seo.top_pages", input, options);
|
|
6027
|
+
}
|
|
5885
6028
|
};
|
|
5886
6029
|
|
|
5887
6030
|
// src/generated/platforms/similarweb.ts
|