@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.js
CHANGED
|
@@ -5565,6 +5565,58 @@ var SeoNamespace = class {
|
|
|
5565
5565
|
this._core = _core;
|
|
5566
5566
|
}
|
|
5567
5567
|
_core;
|
|
5568
|
+
/**
|
|
5569
|
+
* SEO Backlink Anchors
|
|
5570
|
+
*
|
|
5571
|
+
* 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.
|
|
5572
|
+
*
|
|
5573
|
+
* Price: $0.0288 per request plus $0.00005 per result (maximum $0.0768).
|
|
5574
|
+
*
|
|
5575
|
+
* @example
|
|
5576
|
+
* const res = await client.seo.backlinkAnchors({ target: "ahrefs.com", limit: 10 });
|
|
5577
|
+
*/
|
|
5578
|
+
backlinkAnchors(input, options) {
|
|
5579
|
+
return this._core.run("seo.backlink_anchors", input, options);
|
|
5580
|
+
}
|
|
5581
|
+
/**
|
|
5582
|
+
* SEO Backlink Competitors
|
|
5583
|
+
*
|
|
5584
|
+
* 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.
|
|
5585
|
+
*
|
|
5586
|
+
* Price: $0.0288 per request plus $0.00005 per result (maximum $0.0768).
|
|
5587
|
+
*
|
|
5588
|
+
* @example
|
|
5589
|
+
* const res = await client.seo.backlinkCompetitors({ target: "ahrefs.com", limit: 10 });
|
|
5590
|
+
*/
|
|
5591
|
+
backlinkCompetitors(input, options) {
|
|
5592
|
+
return this._core.run("seo.backlink_competitors", input, options);
|
|
5593
|
+
}
|
|
5594
|
+
/**
|
|
5595
|
+
* SEO Backlinks
|
|
5596
|
+
*
|
|
5597
|
+
* 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.
|
|
5598
|
+
*
|
|
5599
|
+
* Price: $0.0288 per request plus $0.00005 per result (maximum $0.0768).
|
|
5600
|
+
*
|
|
5601
|
+
* @example
|
|
5602
|
+
* const res = await client.seo.backlinks({ target: "ahrefs.com", limit: 10 });
|
|
5603
|
+
*/
|
|
5604
|
+
backlinks(input, options) {
|
|
5605
|
+
return this._core.run("seo.backlinks", input, options);
|
|
5606
|
+
}
|
|
5607
|
+
/**
|
|
5608
|
+
* SEO Backlinks Summary
|
|
5609
|
+
*
|
|
5610
|
+
* Get AnyAPI SEO backlink profile totals for a domain or URL: backlinks, referring domains, authority rank, spam score, and broken links as normalized JSON.
|
|
5611
|
+
*
|
|
5612
|
+
* Price: $0.02885 per request plus $0 per result (maximum $0.02885).
|
|
5613
|
+
*
|
|
5614
|
+
* @example
|
|
5615
|
+
* const res = await client.seo.backlinksSummary({ target: "ahrefs.com" });
|
|
5616
|
+
*/
|
|
5617
|
+
backlinksSummary(input, options) {
|
|
5618
|
+
return this._core.run("seo.backlinks_summary", input, options);
|
|
5619
|
+
}
|
|
5568
5620
|
/**
|
|
5569
5621
|
* SEO Competitor Domains
|
|
5570
5622
|
*
|
|
@@ -5591,6 +5643,19 @@ var SeoNamespace = class {
|
|
|
5591
5643
|
domainIntersection(input, options) {
|
|
5592
5644
|
return this._core.run("seo.domain_intersection", input, options);
|
|
5593
5645
|
}
|
|
5646
|
+
/**
|
|
5647
|
+
* SEO Domain Pages
|
|
5648
|
+
*
|
|
5649
|
+
* 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.
|
|
5650
|
+
*
|
|
5651
|
+
* Price: $0.0288 per request plus $0.00005 per result (maximum $0.0768).
|
|
5652
|
+
*
|
|
5653
|
+
* @example
|
|
5654
|
+
* const res = await client.seo.domainPages({ target: "ahrefs.com", limit: 10 });
|
|
5655
|
+
*/
|
|
5656
|
+
domainPages(input, options) {
|
|
5657
|
+
return this._core.run("seo.domain_pages", input, options);
|
|
5658
|
+
}
|
|
5594
5659
|
/**
|
|
5595
5660
|
* SEO Domain Rank Overview
|
|
5596
5661
|
*
|
|
@@ -5698,6 +5763,58 @@ var SeoNamespace = class {
|
|
|
5698
5763
|
keywordSuggestions(input, options) {
|
|
5699
5764
|
return this._core.run("seo.keyword_suggestions", input, options);
|
|
5700
5765
|
}
|
|
5766
|
+
/**
|
|
5767
|
+
* SEO LLM Mentions
|
|
5768
|
+
*
|
|
5769
|
+
* 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.
|
|
5770
|
+
*
|
|
5771
|
+
* Price: $0.12 per request plus $0.0012 per result (maximum $1.32).
|
|
5772
|
+
*
|
|
5773
|
+
* @example
|
|
5774
|
+
* const res = await client.seo.llmMentions({ domain: "ahrefs.com", limit: 5, platform: "google" });
|
|
5775
|
+
*/
|
|
5776
|
+
llmMentions(input, options) {
|
|
5777
|
+
return this._core.run("seo.llm_mentions", input, options);
|
|
5778
|
+
}
|
|
5779
|
+
/**
|
|
5780
|
+
* SEO LLM Top Brands
|
|
5781
|
+
*
|
|
5782
|
+
* 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.
|
|
5783
|
+
*
|
|
5784
|
+
* Price: $0.12 per request plus $0.0012 per result (maximum $1.32).
|
|
5785
|
+
*
|
|
5786
|
+
* @example
|
|
5787
|
+
* const res = await client.seo.llmTopBrands({ keyword: "seo tools", limit: 5 });
|
|
5788
|
+
*/
|
|
5789
|
+
llmTopBrands(input, options) {
|
|
5790
|
+
return this._core.run("seo.llm_top_brands", input, options);
|
|
5791
|
+
}
|
|
5792
|
+
/**
|
|
5793
|
+
* SEO LLM Top Domains
|
|
5794
|
+
*
|
|
5795
|
+
* 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.
|
|
5796
|
+
*
|
|
5797
|
+
* Price: $0.12 per request plus $0.0012 per result (maximum $1.32).
|
|
5798
|
+
*
|
|
5799
|
+
* @example
|
|
5800
|
+
* const res = await client.seo.llmTopDomains({ keyword: "seo tools", limit: 5 });
|
|
5801
|
+
*/
|
|
5802
|
+
llmTopDomains(input, options) {
|
|
5803
|
+
return this._core.run("seo.llm_top_domains", input, options);
|
|
5804
|
+
}
|
|
5805
|
+
/**
|
|
5806
|
+
* SEO LLM Top Pages
|
|
5807
|
+
*
|
|
5808
|
+
* 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.
|
|
5809
|
+
*
|
|
5810
|
+
* Price: $0.12 per request plus $0.0012 per result (maximum $1.32).
|
|
5811
|
+
*
|
|
5812
|
+
* @example
|
|
5813
|
+
* const res = await client.seo.llmTopPages({ keyword: "seo tools", limit: 5 });
|
|
5814
|
+
*/
|
|
5815
|
+
llmTopPages(input, options) {
|
|
5816
|
+
return this._core.run("seo.llm_top_pages", input, options);
|
|
5817
|
+
}
|
|
5701
5818
|
/**
|
|
5702
5819
|
* SEO Local Pack
|
|
5703
5820
|
*
|
|
@@ -5724,6 +5841,19 @@ var SeoNamespace = class {
|
|
|
5724
5841
|
rankedKeywords(input, options) {
|
|
5725
5842
|
return this._core.run("seo.ranked_keywords", input, options);
|
|
5726
5843
|
}
|
|
5844
|
+
/**
|
|
5845
|
+
* SEO Referring Domains
|
|
5846
|
+
*
|
|
5847
|
+
* 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.
|
|
5848
|
+
*
|
|
5849
|
+
* Price: $0.0288 per request plus $0.00005 per result (maximum $0.0768).
|
|
5850
|
+
*
|
|
5851
|
+
* @example
|
|
5852
|
+
* const res = await client.seo.referringDomains({ target: "ahrefs.com", limit: 10 });
|
|
5853
|
+
*/
|
|
5854
|
+
referringDomains(input, options) {
|
|
5855
|
+
return this._core.run("seo.referring_domains", input, options);
|
|
5856
|
+
}
|
|
5727
5857
|
/**
|
|
5728
5858
|
* SEO Related Keywords
|
|
5729
5859
|
*
|
|
@@ -5763,6 +5893,19 @@ var SeoNamespace = class {
|
|
|
5763
5893
|
searchVolume(input, options) {
|
|
5764
5894
|
return this._core.run("seo.search_volume", input, options);
|
|
5765
5895
|
}
|
|
5896
|
+
/**
|
|
5897
|
+
* SEO Top Pages
|
|
5898
|
+
*
|
|
5899
|
+
* 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.
|
|
5900
|
+
*
|
|
5901
|
+
* Price: $0.0144 per request plus $0.00015 per result (maximum $0.1584).
|
|
5902
|
+
*
|
|
5903
|
+
* @example
|
|
5904
|
+
* const res = await client.seo.topPages({ target: "ahrefs.com", limit: 10 });
|
|
5905
|
+
*/
|
|
5906
|
+
topPages(input, options) {
|
|
5907
|
+
return this._core.run("seo.top_pages", input, options);
|
|
5908
|
+
}
|
|
5766
5909
|
};
|
|
5767
5910
|
|
|
5768
5911
|
// src/generated/platforms/similarweb.ts
|