@getanyapi/sdk 0.52.1 → 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.js CHANGED
@@ -5565,6 +5565,32 @@ var SeoNamespace = class {
5565
5565
  this._core = _core;
5566
5566
  }
5567
5567
  _core;
5568
+ /**
5569
+ * SEO Backlinks
5570
+ *
5571
+ * 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.
5572
+ *
5573
+ * Price: $0.0288 per request plus $0.00005 per result (maximum $0.0768).
5574
+ *
5575
+ * @example
5576
+ * const res = await client.seo.backlinks({ target: "ahrefs.com", limit: 10 });
5577
+ */
5578
+ backlinks(input, options) {
5579
+ return this._core.run("seo.backlinks", input, options);
5580
+ }
5581
+ /**
5582
+ * SEO Backlinks Summary
5583
+ *
5584
+ * Get AnyAPI SEO backlink profile totals for a domain or URL: backlinks, referring domains, authority rank, spam score, and broken links as normalized JSON.
5585
+ *
5586
+ * Price: $0.02885 per request plus $0 per result (maximum $0.02885).
5587
+ *
5588
+ * @example
5589
+ * const res = await client.seo.backlinksSummary({ target: "ahrefs.com" });
5590
+ */
5591
+ backlinksSummary(input, options) {
5592
+ return this._core.run("seo.backlinks_summary", input, options);
5593
+ }
5568
5594
  /**
5569
5595
  * SEO Competitor Domains
5570
5596
  *
@@ -5698,6 +5724,19 @@ var SeoNamespace = class {
5698
5724
  keywordSuggestions(input, options) {
5699
5725
  return this._core.run("seo.keyword_suggestions", input, options);
5700
5726
  }
5727
+ /**
5728
+ * SEO LLM Mentions
5729
+ *
5730
+ * 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.
5731
+ *
5732
+ * Price: $0.12 per request plus $0.0012 per result (maximum $1.32).
5733
+ *
5734
+ * @example
5735
+ * const res = await client.seo.llmMentions({ domain: "ahrefs.com", limit: 5, platform: "google" });
5736
+ */
5737
+ llmMentions(input, options) {
5738
+ return this._core.run("seo.llm_mentions", input, options);
5739
+ }
5701
5740
  /**
5702
5741
  * SEO Local Pack
5703
5742
  *
@@ -5724,6 +5763,19 @@ var SeoNamespace = class {
5724
5763
  rankedKeywords(input, options) {
5725
5764
  return this._core.run("seo.ranked_keywords", input, options);
5726
5765
  }
5766
+ /**
5767
+ * SEO Referring Domains
5768
+ *
5769
+ * 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.
5770
+ *
5771
+ * Price: $0.0288 per request plus $0.00005 per result (maximum $0.0768).
5772
+ *
5773
+ * @example
5774
+ * const res = await client.seo.referringDomains({ target: "ahrefs.com", limit: 10 });
5775
+ */
5776
+ referringDomains(input, options) {
5777
+ return this._core.run("seo.referring_domains", input, options);
5778
+ }
5727
5779
  /**
5728
5780
  * SEO Related Keywords
5729
5781
  *