@getanyapi/sdk 0.186.8 → 0.186.10

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.d.cts CHANGED
@@ -21281,7 +21281,7 @@ declare class GeminiNamespace {
21281
21281
  *
21282
21282
  * Ask Gemini a web-grounded question and receive an answer with source citations.
21283
21283
  *
21284
- * Price: $0.0025 per request.
21284
+ * Price: $0.0048 per request.
21285
21285
  *
21286
21286
  * @example
21287
21287
  * const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
@@ -25359,7 +25359,7 @@ declare class GoogleAdsNamespace {
25359
25359
  *
25360
25360
  * List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.
25361
25361
  *
25362
- * Price: $0.00084 per request.
25362
+ * Price: $0.0008 per request.
25363
25363
  *
25364
25364
  * @example
25365
25365
  * const res = await client.googleAds.companyAds({ domain: "lululemon.com" });
@@ -26225,7 +26225,7 @@ declare class GoogleHotelsNamespace {
26225
26225
  *
26226
26226
  * Search Google Hotels by destination and dates and get hotels with their Google property ID, nightly price, rating, review count, coordinates, star class and photos as normalized JSON.
26227
26227
  *
26228
- * Price: $0.0048 per request.
26228
+ * Price: $0.0015 per request.
26229
26229
  *
26230
26230
  * @example
26231
26231
  * const res = await client.googleHotels.search({ checkIn: "2026-12-23", checkOut: "2026-12-25", country: "us", query: "hotels near times square new york" });
@@ -32694,7 +32694,7 @@ declare class InstagramNamespace {
32694
32694
  *
32695
32695
  * List the related profiles Instagram's website shows for a public profile, with each account's handle, display name, verified flag and avatar. This is Instagram's shorter web list: it often holds only a few accounts and can be empty even for a large profile. When it comes back empty or cannot be read, the accounts Instagram's app suggests for the profile may be returned instead. For the full list of accounts Instagram suggests as similar, use instagram.suggested_profiles.
32696
32696
  *
32697
- * Price: $0.0022 per request.
32697
+ * Price: $0.00175 per request.
32698
32698
  *
32699
32699
  * @example
32700
32700
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -32749,7 +32749,7 @@ declare class InstagramNamespace {
32749
32749
  *
32750
32750
  * List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
32751
32751
  *
32752
- * Price: $0.00135 per request.
32752
+ * Price: $0.00188 per request.
32753
32753
  *
32754
32754
  * @example
32755
32755
  * const res = await client.instagram.taggedPosts({ handle: "nasa" });
@@ -69401,7 +69401,7 @@ declare class TiktokNamespace {
69401
69401
  *
69402
69402
  * Search TikTok's public Ads Library by keyword or advertiser (advertiser, title, audience band, run dates, library link, and video).
69403
69403
  *
69404
- * Price: $0.0008 per request.
69404
+ * Price: $0.0012 per request.
69405
69405
  *
69406
69406
  * @example
69407
69407
  * const res = await client.tiktok.adLibrarySearch({ query: "spotify" });
@@ -69665,7 +69665,7 @@ declare class TiktokNamespace {
69665
69665
  *
69666
69666
  * Search TikTok by keyword and get matching videos (caption, views, likes, comments, shares) as normalized JSON.
69667
69667
  *
69668
- * Price: $0.0006 per request.
69668
+ * Price: $0.0004 per request.
69669
69669
  *
69670
69670
  * @example
69671
69671
  * const res = await client.tiktok.searchKeyword({ query: "cooking", datePosted: 0, sortBy: "relevance" });
@@ -70765,7 +70765,7 @@ declare class TiktokShopNamespace {
70765
70765
  *
70766
70766
  * Fetch TikTok Shop product details (title, price, sales, seller, and ratings) from a product URL.
70767
70767
  *
70768
- * Price: $0.0012 per request.
70768
+ * Price: $0.00095 per request.
70769
70769
  *
70770
70770
  * @example
70771
70771
  * const res = await client.tiktokShop.product({ url: "https://www.tiktok.com/shop/pdp/goli-ashwagandha-gummies-with-vitamin-d-ksm-66-vegan-non-gmo/1729587769570529799" });
@@ -73548,7 +73548,7 @@ declare class TwitterNamespace {
73548
73548
  *
73549
73549
  * Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Every call returns one full native page of about 20 tweets; follow nextCursor for more.
73550
73550
  *
73551
- * Price: $0.00047 per request.
73551
+ * Price: $0.00048 per request.
73552
73552
  *
73553
73553
  * @example
73554
73554
  * const res = await client.twitter.search({ query: "openai" });
@@ -78228,7 +78228,7 @@ declare class YoutubeNamespace {
78228
78228
  *
78229
78229
  * Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
78230
78230
  *
78231
- * Price: $0.00044 per request.
78231
+ * Price: $0.0004 per request.
78232
78232
  *
78233
78233
  * @example
78234
78234
  * const res = await client.youtube.channel({ handle: "@mkbhd" });
@@ -78333,7 +78333,7 @@ declare class YoutubeNamespace {
78333
78333
  *
78334
78334
  * List a YouTube channel's videos by handle or channel ID with cursor pagination (title, views, length, publish time).
78335
78335
  *
78336
- * Price: $0.00079 per request.
78336
+ * Price: $0.00074 per request.
78337
78337
  *
78338
78338
  * @example
78339
78339
  * const res = await client.youtube.channelVideos({ handle: "@mkbhd" });
@@ -78391,7 +78391,7 @@ declare class YoutubeNamespace {
78391
78391
  *
78392
78392
  * Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
78393
78393
  *
78394
- * Price: $0.00043 per request.
78394
+ * Price: $0.00039 per request.
78395
78395
  *
78396
78396
  * @example
78397
78397
  * const res = await client.youtube.search({ query: "how to cook rice" });
@@ -78456,7 +78456,7 @@ declare class YoutubeNamespace {
78456
78456
  *
78457
78457
  * Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
78458
78458
  *
78459
- * Price: $0.0007 per request.
78459
+ * Price: $0.00064 per request.
78460
78460
  *
78461
78461
  * @example
78462
78462
  * const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
@@ -78467,7 +78467,7 @@ declare class YoutubeNamespace {
78467
78467
  *
78468
78468
  * List the comments on a YouTube video or Short by URL with cursor pagination (text, author, likes, reply count).
78469
78469
  *
78470
- * Price: $0.00078 per request.
78470
+ * Price: $0.00074 per request.
78471
78471
  *
78472
78472
  * @example
78473
78473
  * const res = await client.youtube.videoComments({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
@@ -78496,7 +78496,7 @@ declare class YoutubeNamespace {
78496
78496
  *
78497
78497
  * Fetch the transcript/captions of a YouTube video or Short by URL or ID.
78498
78498
  *
78499
- * Price: $0.0009 per request.
78499
+ * Price: $0.00085 per request.
78500
78500
  *
78501
78501
  * @example
78502
78502
  * const res = await client.youtube.videoTranscript({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
package/dist/index.d.ts CHANGED
@@ -21281,7 +21281,7 @@ declare class GeminiNamespace {
21281
21281
  *
21282
21282
  * Ask Gemini a web-grounded question and receive an answer with source citations.
21283
21283
  *
21284
- * Price: $0.0025 per request.
21284
+ * Price: $0.0048 per request.
21285
21285
  *
21286
21286
  * @example
21287
21287
  * const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
@@ -25359,7 +25359,7 @@ declare class GoogleAdsNamespace {
25359
25359
  *
25360
25360
  * List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.
25361
25361
  *
25362
- * Price: $0.00084 per request.
25362
+ * Price: $0.0008 per request.
25363
25363
  *
25364
25364
  * @example
25365
25365
  * const res = await client.googleAds.companyAds({ domain: "lululemon.com" });
@@ -26225,7 +26225,7 @@ declare class GoogleHotelsNamespace {
26225
26225
  *
26226
26226
  * Search Google Hotels by destination and dates and get hotels with their Google property ID, nightly price, rating, review count, coordinates, star class and photos as normalized JSON.
26227
26227
  *
26228
- * Price: $0.0048 per request.
26228
+ * Price: $0.0015 per request.
26229
26229
  *
26230
26230
  * @example
26231
26231
  * const res = await client.googleHotels.search({ checkIn: "2026-12-23", checkOut: "2026-12-25", country: "us", query: "hotels near times square new york" });
@@ -32694,7 +32694,7 @@ declare class InstagramNamespace {
32694
32694
  *
32695
32695
  * List the related profiles Instagram's website shows for a public profile, with each account's handle, display name, verified flag and avatar. This is Instagram's shorter web list: it often holds only a few accounts and can be empty even for a large profile. When it comes back empty or cannot be read, the accounts Instagram's app suggests for the profile may be returned instead. For the full list of accounts Instagram suggests as similar, use instagram.suggested_profiles.
32696
32696
  *
32697
- * Price: $0.0022 per request.
32697
+ * Price: $0.00175 per request.
32698
32698
  *
32699
32699
  * @example
32700
32700
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -32749,7 +32749,7 @@ declare class InstagramNamespace {
32749
32749
  *
32750
32750
  * List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
32751
32751
  *
32752
- * Price: $0.00135 per request.
32752
+ * Price: $0.00188 per request.
32753
32753
  *
32754
32754
  * @example
32755
32755
  * const res = await client.instagram.taggedPosts({ handle: "nasa" });
@@ -69401,7 +69401,7 @@ declare class TiktokNamespace {
69401
69401
  *
69402
69402
  * Search TikTok's public Ads Library by keyword or advertiser (advertiser, title, audience band, run dates, library link, and video).
69403
69403
  *
69404
- * Price: $0.0008 per request.
69404
+ * Price: $0.0012 per request.
69405
69405
  *
69406
69406
  * @example
69407
69407
  * const res = await client.tiktok.adLibrarySearch({ query: "spotify" });
@@ -69665,7 +69665,7 @@ declare class TiktokNamespace {
69665
69665
  *
69666
69666
  * Search TikTok by keyword and get matching videos (caption, views, likes, comments, shares) as normalized JSON.
69667
69667
  *
69668
- * Price: $0.0006 per request.
69668
+ * Price: $0.0004 per request.
69669
69669
  *
69670
69670
  * @example
69671
69671
  * const res = await client.tiktok.searchKeyword({ query: "cooking", datePosted: 0, sortBy: "relevance" });
@@ -70765,7 +70765,7 @@ declare class TiktokShopNamespace {
70765
70765
  *
70766
70766
  * Fetch TikTok Shop product details (title, price, sales, seller, and ratings) from a product URL.
70767
70767
  *
70768
- * Price: $0.0012 per request.
70768
+ * Price: $0.00095 per request.
70769
70769
  *
70770
70770
  * @example
70771
70771
  * const res = await client.tiktokShop.product({ url: "https://www.tiktok.com/shop/pdp/goli-ashwagandha-gummies-with-vitamin-d-ksm-66-vegan-non-gmo/1729587769570529799" });
@@ -73548,7 +73548,7 @@ declare class TwitterNamespace {
73548
73548
  *
73549
73549
  * Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Every call returns one full native page of about 20 tweets; follow nextCursor for more.
73550
73550
  *
73551
- * Price: $0.00047 per request.
73551
+ * Price: $0.00048 per request.
73552
73552
  *
73553
73553
  * @example
73554
73554
  * const res = await client.twitter.search({ query: "openai" });
@@ -78228,7 +78228,7 @@ declare class YoutubeNamespace {
78228
78228
  *
78229
78229
  * Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
78230
78230
  *
78231
- * Price: $0.00044 per request.
78231
+ * Price: $0.0004 per request.
78232
78232
  *
78233
78233
  * @example
78234
78234
  * const res = await client.youtube.channel({ handle: "@mkbhd" });
@@ -78333,7 +78333,7 @@ declare class YoutubeNamespace {
78333
78333
  *
78334
78334
  * List a YouTube channel's videos by handle or channel ID with cursor pagination (title, views, length, publish time).
78335
78335
  *
78336
- * Price: $0.00079 per request.
78336
+ * Price: $0.00074 per request.
78337
78337
  *
78338
78338
  * @example
78339
78339
  * const res = await client.youtube.channelVideos({ handle: "@mkbhd" });
@@ -78391,7 +78391,7 @@ declare class YoutubeNamespace {
78391
78391
  *
78392
78392
  * Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
78393
78393
  *
78394
- * Price: $0.00043 per request.
78394
+ * Price: $0.00039 per request.
78395
78395
  *
78396
78396
  * @example
78397
78397
  * const res = await client.youtube.search({ query: "how to cook rice" });
@@ -78456,7 +78456,7 @@ declare class YoutubeNamespace {
78456
78456
  *
78457
78457
  * Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
78458
78458
  *
78459
- * Price: $0.0007 per request.
78459
+ * Price: $0.00064 per request.
78460
78460
  *
78461
78461
  * @example
78462
78462
  * const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
@@ -78467,7 +78467,7 @@ declare class YoutubeNamespace {
78467
78467
  *
78468
78468
  * List the comments on a YouTube video or Short by URL with cursor pagination (text, author, likes, reply count).
78469
78469
  *
78470
- * Price: $0.00078 per request.
78470
+ * Price: $0.00074 per request.
78471
78471
  *
78472
78472
  * @example
78473
78473
  * const res = await client.youtube.videoComments({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
@@ -78496,7 +78496,7 @@ declare class YoutubeNamespace {
78496
78496
  *
78497
78497
  * Fetch the transcript/captions of a YouTube video or Short by URL or ID.
78498
78498
  *
78499
- * Price: $0.0009 per request.
78499
+ * Price: $0.00085 per request.
78500
78500
  *
78501
78501
  * @example
78502
78502
  * const res = await client.youtube.videoTranscript({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
package/dist/index.js CHANGED
@@ -3190,7 +3190,7 @@ var GeminiNamespace = class {
3190
3190
  *
3191
3191
  * Ask Gemini a web-grounded question and receive an answer with source citations.
3192
3192
  *
3193
- * Price: $0.0025 per request.
3193
+ * Price: $0.0048 per request.
3194
3194
  *
3195
3195
  * @example
3196
3196
  * const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
@@ -3831,7 +3831,7 @@ var GoogleAdsNamespace = class {
3831
3831
  *
3832
3832
  * List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.
3833
3833
  *
3834
- * Price: $0.00084 per request.
3834
+ * Price: $0.0008 per request.
3835
3835
  *
3836
3836
  * @example
3837
3837
  * const res = await client.googleAds.companyAds({ domain: "lululemon.com" });
@@ -3949,7 +3949,7 @@ var GoogleHotelsNamespace = class {
3949
3949
  *
3950
3950
  * Search Google Hotels by destination and dates and get hotels with their Google property ID, nightly price, rating, review count, coordinates, star class and photos as normalized JSON.
3951
3951
  *
3952
- * Price: $0.0048 per request.
3952
+ * Price: $0.0015 per request.
3953
3953
  *
3954
3954
  * @example
3955
3955
  * const res = await client.googleHotels.search({ checkIn: "2026-12-23", checkOut: "2026-12-25", country: "us", query: "hotels near times square new york" });
@@ -4691,7 +4691,7 @@ var InstagramNamespace = class {
4691
4691
  *
4692
4692
  * List the related profiles Instagram's website shows for a public profile, with each account's handle, display name, verified flag and avatar. This is Instagram's shorter web list: it often holds only a few accounts and can be empty even for a large profile. When it comes back empty or cannot be read, the accounts Instagram's app suggests for the profile may be returned instead. For the full list of accounts Instagram suggests as similar, use instagram.suggested_profiles.
4693
4693
  *
4694
- * Price: $0.0022 per request.
4694
+ * Price: $0.00175 per request.
4695
4695
  *
4696
4696
  * @example
4697
4697
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -4756,7 +4756,7 @@ var InstagramNamespace = class {
4756
4756
  *
4757
4757
  * List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
4758
4758
  *
4759
- * Price: $0.00135 per request.
4759
+ * Price: $0.00188 per request.
4760
4760
  *
4761
4761
  * @example
4762
4762
  * const res = await client.instagram.taggedPosts({ handle: "nasa" });
@@ -7826,7 +7826,7 @@ var TiktokNamespace = class {
7826
7826
  *
7827
7827
  * Search TikTok's public Ads Library by keyword or advertiser (advertiser, title, audience band, run dates, library link, and video).
7828
7828
  *
7829
- * Price: $0.0008 per request.
7829
+ * Price: $0.0012 per request.
7830
7830
  *
7831
7831
  * @example
7832
7832
  * const res = await client.tiktok.adLibrarySearch({ query: "spotify" });
@@ -8223,7 +8223,7 @@ var TiktokNamespace = class {
8223
8223
  *
8224
8224
  * Search TikTok by keyword and get matching videos (caption, views, likes, comments, shares) as normalized JSON.
8225
8225
  *
8226
- * Price: $0.0006 per request.
8226
+ * Price: $0.0004 per request.
8227
8227
  *
8228
8228
  * @example
8229
8229
  * const res = await client.tiktok.searchKeyword({ query: "cooking", datePosted: 0, sortBy: "relevance" });
@@ -8561,7 +8561,7 @@ var TiktokShopNamespace = class {
8561
8561
  *
8562
8562
  * Fetch TikTok Shop product details (title, price, sales, seller, and ratings) from a product URL.
8563
8563
  *
8564
- * Price: $0.0012 per request.
8564
+ * Price: $0.00095 per request.
8565
8565
  *
8566
8566
  * @example
8567
8567
  * const res = await client.tiktokShop.product({ url: "https://www.tiktok.com/shop/pdp/goli-ashwagandha-gummies-with-vitamin-d-ksm-66-vegan-non-gmo/1729587769570529799" });
@@ -8952,7 +8952,7 @@ var TwitterNamespace = class {
8952
8952
  *
8953
8953
  * Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Every call returns one full native page of about 20 tweets; follow nextCursor for more.
8954
8954
  *
8955
- * Price: $0.00047 per request.
8955
+ * Price: $0.00048 per request.
8956
8956
  *
8957
8957
  * @example
8958
8958
  * const res = await client.twitter.search({ query: "openai" });
@@ -9500,7 +9500,7 @@ var YoutubeNamespace = class {
9500
9500
  *
9501
9501
  * Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
9502
9502
  *
9503
- * Price: $0.00044 per request.
9503
+ * Price: $0.0004 per request.
9504
9504
  *
9505
9505
  * @example
9506
9506
  * const res = await client.youtube.channel({ handle: "@mkbhd" });
@@ -9655,7 +9655,7 @@ var YoutubeNamespace = class {
9655
9655
  *
9656
9656
  * List a YouTube channel's videos by handle or channel ID with cursor pagination (title, views, length, publish time).
9657
9657
  *
9658
- * Price: $0.00079 per request.
9658
+ * Price: $0.00074 per request.
9659
9659
  *
9660
9660
  * @example
9661
9661
  * const res = await client.youtube.channelVideos({ handle: "@mkbhd" });
@@ -9739,7 +9739,7 @@ var YoutubeNamespace = class {
9739
9739
  *
9740
9740
  * Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
9741
9741
  *
9742
- * Price: $0.00043 per request.
9742
+ * Price: $0.00039 per request.
9743
9743
  *
9744
9744
  * @example
9745
9745
  * const res = await client.youtube.search({ query: "how to cook rice" });
@@ -9839,7 +9839,7 @@ var YoutubeNamespace = class {
9839
9839
  *
9840
9840
  * Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
9841
9841
  *
9842
- * Price: $0.0007 per request.
9842
+ * Price: $0.00064 per request.
9843
9843
  *
9844
9844
  * @example
9845
9845
  * const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
@@ -9852,7 +9852,7 @@ var YoutubeNamespace = class {
9852
9852
  *
9853
9853
  * List the comments on a YouTube video or Short by URL with cursor pagination (text, author, likes, reply count).
9854
9854
  *
9855
- * Price: $0.00078 per request.
9855
+ * Price: $0.00074 per request.
9856
9856
  *
9857
9857
  * @example
9858
9858
  * const res = await client.youtube.videoComments({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
@@ -9894,7 +9894,7 @@ var YoutubeNamespace = class {
9894
9894
  *
9895
9895
  * Fetch the transcript/captions of a YouTube video or Short by URL or ID.
9896
9896
  *
9897
- * Price: $0.0009 per request.
9897
+ * Price: $0.00085 per request.
9898
9898
  *
9899
9899
  * @example
9900
9900
  * const res = await client.youtube.videoTranscript({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });