@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.cjs +15 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -15
- package/dist/index.d.ts +15 -15
- package/dist/index.js +15 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3329,7 +3329,7 @@ var GeminiNamespace = class {
|
|
|
3329
3329
|
*
|
|
3330
3330
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
3331
3331
|
*
|
|
3332
|
-
* Price: $0.
|
|
3332
|
+
* Price: $0.0048 per request.
|
|
3333
3333
|
*
|
|
3334
3334
|
* @example
|
|
3335
3335
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -3970,7 +3970,7 @@ var GoogleAdsNamespace = class {
|
|
|
3970
3970
|
*
|
|
3971
3971
|
* 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.
|
|
3972
3972
|
*
|
|
3973
|
-
* Price: $0.
|
|
3973
|
+
* Price: $0.0008 per request.
|
|
3974
3974
|
*
|
|
3975
3975
|
* @example
|
|
3976
3976
|
* const res = await client.googleAds.companyAds({ domain: "lululemon.com" });
|
|
@@ -4088,7 +4088,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4088
4088
|
*
|
|
4089
4089
|
* 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.
|
|
4090
4090
|
*
|
|
4091
|
-
* Price: $0.
|
|
4091
|
+
* Price: $0.0015 per request.
|
|
4092
4092
|
*
|
|
4093
4093
|
* @example
|
|
4094
4094
|
* const res = await client.googleHotels.search({ checkIn: "2026-12-23", checkOut: "2026-12-25", country: "us", query: "hotels near times square new york" });
|
|
@@ -4830,7 +4830,7 @@ var InstagramNamespace = class {
|
|
|
4830
4830
|
*
|
|
4831
4831
|
* 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.
|
|
4832
4832
|
*
|
|
4833
|
-
* Price: $0.
|
|
4833
|
+
* Price: $0.00175 per request.
|
|
4834
4834
|
*
|
|
4835
4835
|
* @example
|
|
4836
4836
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -4895,7 +4895,7 @@ var InstagramNamespace = class {
|
|
|
4895
4895
|
*
|
|
4896
4896
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
4897
4897
|
*
|
|
4898
|
-
* Price: $0.
|
|
4898
|
+
* Price: $0.00188 per request.
|
|
4899
4899
|
*
|
|
4900
4900
|
* @example
|
|
4901
4901
|
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
@@ -7965,7 +7965,7 @@ var TiktokNamespace = class {
|
|
|
7965
7965
|
*
|
|
7966
7966
|
* Search TikTok's public Ads Library by keyword or advertiser (advertiser, title, audience band, run dates, library link, and video).
|
|
7967
7967
|
*
|
|
7968
|
-
* Price: $0.
|
|
7968
|
+
* Price: $0.0012 per request.
|
|
7969
7969
|
*
|
|
7970
7970
|
* @example
|
|
7971
7971
|
* const res = await client.tiktok.adLibrarySearch({ query: "spotify" });
|
|
@@ -8362,7 +8362,7 @@ var TiktokNamespace = class {
|
|
|
8362
8362
|
*
|
|
8363
8363
|
* Search TikTok by keyword and get matching videos (caption, views, likes, comments, shares) as normalized JSON.
|
|
8364
8364
|
*
|
|
8365
|
-
* Price: $0.
|
|
8365
|
+
* Price: $0.0004 per request.
|
|
8366
8366
|
*
|
|
8367
8367
|
* @example
|
|
8368
8368
|
* const res = await client.tiktok.searchKeyword({ query: "cooking", datePosted: 0, sortBy: "relevance" });
|
|
@@ -8700,7 +8700,7 @@ var TiktokShopNamespace = class {
|
|
|
8700
8700
|
*
|
|
8701
8701
|
* Fetch TikTok Shop product details (title, price, sales, seller, and ratings) from a product URL.
|
|
8702
8702
|
*
|
|
8703
|
-
* Price: $0.
|
|
8703
|
+
* Price: $0.00095 per request.
|
|
8704
8704
|
*
|
|
8705
8705
|
* @example
|
|
8706
8706
|
* 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" });
|
|
@@ -9091,7 +9091,7 @@ var TwitterNamespace = class {
|
|
|
9091
9091
|
*
|
|
9092
9092
|
* 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.
|
|
9093
9093
|
*
|
|
9094
|
-
* Price: $0.
|
|
9094
|
+
* Price: $0.00048 per request.
|
|
9095
9095
|
*
|
|
9096
9096
|
* @example
|
|
9097
9097
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -9639,7 +9639,7 @@ var YoutubeNamespace = class {
|
|
|
9639
9639
|
*
|
|
9640
9640
|
* Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
|
|
9641
9641
|
*
|
|
9642
|
-
* Price: $0.
|
|
9642
|
+
* Price: $0.0004 per request.
|
|
9643
9643
|
*
|
|
9644
9644
|
* @example
|
|
9645
9645
|
* const res = await client.youtube.channel({ handle: "@mkbhd" });
|
|
@@ -9794,7 +9794,7 @@ var YoutubeNamespace = class {
|
|
|
9794
9794
|
*
|
|
9795
9795
|
* List a YouTube channel's videos by handle or channel ID with cursor pagination (title, views, length, publish time).
|
|
9796
9796
|
*
|
|
9797
|
-
* Price: $0.
|
|
9797
|
+
* Price: $0.00074 per request.
|
|
9798
9798
|
*
|
|
9799
9799
|
* @example
|
|
9800
9800
|
* const res = await client.youtube.channelVideos({ handle: "@mkbhd" });
|
|
@@ -9878,7 +9878,7 @@ var YoutubeNamespace = class {
|
|
|
9878
9878
|
*
|
|
9879
9879
|
* Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
|
|
9880
9880
|
*
|
|
9881
|
-
* Price: $0.
|
|
9881
|
+
* Price: $0.00039 per request.
|
|
9882
9882
|
*
|
|
9883
9883
|
* @example
|
|
9884
9884
|
* const res = await client.youtube.search({ query: "how to cook rice" });
|
|
@@ -9978,7 +9978,7 @@ var YoutubeNamespace = class {
|
|
|
9978
9978
|
*
|
|
9979
9979
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
9980
9980
|
*
|
|
9981
|
-
* Price: $0.
|
|
9981
|
+
* Price: $0.00064 per request.
|
|
9982
9982
|
*
|
|
9983
9983
|
* @example
|
|
9984
9984
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -9991,7 +9991,7 @@ var YoutubeNamespace = class {
|
|
|
9991
9991
|
*
|
|
9992
9992
|
* List the comments on a YouTube video or Short by URL with cursor pagination (text, author, likes, reply count).
|
|
9993
9993
|
*
|
|
9994
|
-
* Price: $0.
|
|
9994
|
+
* Price: $0.00074 per request.
|
|
9995
9995
|
*
|
|
9996
9996
|
* @example
|
|
9997
9997
|
* const res = await client.youtube.videoComments({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -10033,7 +10033,7 @@ var YoutubeNamespace = class {
|
|
|
10033
10033
|
*
|
|
10034
10034
|
* Fetch the transcript/captions of a YouTube video or Short by URL or ID.
|
|
10035
10035
|
*
|
|
10036
|
-
* Price: $0.
|
|
10036
|
+
* Price: $0.00085 per request.
|
|
10037
10037
|
*
|
|
10038
10038
|
* @example
|
|
10039
10039
|
* const res = await client.youtube.videoTranscript({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|