@getanyapi/sdk 0.127.6 → 0.128.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 +11 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +41 -27
- package/dist/index.d.ts +41 -27
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1215,7 +1215,7 @@ var AhrefsNamespace = class {
|
|
|
1215
1215
|
/**
|
|
1216
1216
|
* Ahrefs Domain Overview
|
|
1217
1217
|
*
|
|
1218
|
-
* Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON.
|
|
1218
|
+
* Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON. For the keywords a domain ranks for, use seo.ranked_keywords.
|
|
1219
1219
|
*
|
|
1220
1220
|
* Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
|
|
1221
1221
|
*
|
|
@@ -1228,7 +1228,7 @@ var AhrefsNamespace = class {
|
|
|
1228
1228
|
/**
|
|
1229
1229
|
* Ahrefs Traffic Overview
|
|
1230
1230
|
*
|
|
1231
|
-
* Get the Ahrefs organic traffic overview for any domain or URL: monthly traffic estimate and value, the top keywords it already ranks for with position and traffic, top pages, traffic by country, and a monthly traffic history - as normalized JSON.
|
|
1231
|
+
* Get the Ahrefs organic traffic overview for any domain or URL: monthly traffic estimate and value, the top 5 keywords it already ranks for with position and traffic, top pages, traffic by country, and a monthly traffic history - as normalized JSON. For a domain's full ranked-keyword list with search volume and difficulty, use seo.ranked_keywords.
|
|
1232
1232
|
*
|
|
1233
1233
|
* Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
|
|
1234
1234
|
*
|
|
@@ -1319,7 +1319,7 @@ var AmazonNamespace = class {
|
|
|
1319
1319
|
*
|
|
1320
1320
|
* Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
|
|
1321
1321
|
*
|
|
1322
|
-
* Price: $0.
|
|
1322
|
+
* Price: $0.0009 per request.
|
|
1323
1323
|
*
|
|
1324
1324
|
* @example
|
|
1325
1325
|
* const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
|
|
@@ -3466,7 +3466,7 @@ var GoogleNamespace = class {
|
|
|
3466
3466
|
*
|
|
3467
3467
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
3468
3468
|
*
|
|
3469
|
-
* Price: $0.
|
|
3469
|
+
* Price: $0.0018 per request.
|
|
3470
3470
|
*
|
|
3471
3471
|
* @example
|
|
3472
3472
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3623,9 +3623,9 @@ var GoogleNamespace = class {
|
|
|
3623
3623
|
/**
|
|
3624
3624
|
* Google Search
|
|
3625
3625
|
*
|
|
3626
|
-
* Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
|
|
3626
|
+
* Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is normally cheaper past roughly 20 results.
|
|
3627
3627
|
*
|
|
3628
|
-
* Price: $0.
|
|
3628
|
+
* Price: $0.0005 per request.
|
|
3629
3629
|
*
|
|
3630
3630
|
* @example
|
|
3631
3631
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -3652,7 +3652,7 @@ var GoogleNamespace = class {
|
|
|
3652
3652
|
/**
|
|
3653
3653
|
* Google Search Top 100
|
|
3654
3654
|
*
|
|
3655
|
-
* Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One
|
|
3655
|
+
* Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One charge per call whatever the depth, which normally makes it cheaper than paging google.search past roughly 20 results; when the backup source has to answer, the call costs more, up to $0.024. It reads ten pages of Google to build the list, so a call can take up to about five minutes - use google.search when you want the first page back in a second.
|
|
3656
3656
|
*
|
|
3657
3657
|
* Price: $0.0018 per request.
|
|
3658
3658
|
*
|
|
@@ -4485,7 +4485,7 @@ var InstagramNamespace = class {
|
|
|
4485
4485
|
*
|
|
4486
4486
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
4487
4487
|
*
|
|
4488
|
-
* Price: $0.
|
|
4488
|
+
* Price: $0.00175 per request.
|
|
4489
4489
|
*
|
|
4490
4490
|
* @example
|
|
4491
4491
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -4608,7 +4608,7 @@ var InstagramNamespace = class {
|
|
|
4608
4608
|
*
|
|
4609
4609
|
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
4610
4610
|
*
|
|
4611
|
-
* Price: $0.
|
|
4611
|
+
* Price: $0.0008 per request.
|
|
4612
4612
|
*
|
|
4613
4613
|
* @example
|
|
4614
4614
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -8496,7 +8496,7 @@ var TwitterNamespace = class {
|
|
|
8496
8496
|
*
|
|
8497
8497
|
* Search X (Twitter) accounts by keyword - the People tab of X search. Matches handles, display names, and profile bios, and returns normalized profile records with follower, following, and post counts plus cursor pagination. Use twitter.search for posts.
|
|
8498
8498
|
*
|
|
8499
|
-
* Price: $0.
|
|
8499
|
+
* Price: $0.0007 per request.
|
|
8500
8500
|
*
|
|
8501
8501
|
* @example
|
|
8502
8502
|
* const res = await client.twitter.searchUsers({ query: "ai agents" });
|
|
@@ -9343,7 +9343,7 @@ var YoutubeNamespace = class {
|
|
|
9343
9343
|
*
|
|
9344
9344
|
* Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
|
|
9345
9345
|
*
|
|
9346
|
-
* Price: $0.
|
|
9346
|
+
* Price: $0.002 per request.
|
|
9347
9347
|
*
|
|
9348
9348
|
* @example
|
|
9349
9349
|
* const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|