@getanyapi/sdk 0.186.9 → 0.186.11
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 +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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.
|
|
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?" });
|
|
@@ -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.
|
|
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" });
|
|
@@ -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.
|
|
69404
|
+
* Price: $0.0012 per request.
|
|
69405
69405
|
*
|
|
69406
69406
|
* @example
|
|
69407
69407
|
* const res = await client.tiktok.adLibrarySearch({ query: "spotify" });
|
|
@@ -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.
|
|
73551
|
+
* Price: $0.00049 per request.
|
|
73552
73552
|
*
|
|
73553
73553
|
* @example
|
|
73554
73554
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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?" });
|
|
@@ -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.
|
|
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" });
|
|
@@ -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.
|
|
69404
|
+
* Price: $0.0012 per request.
|
|
69405
69405
|
*
|
|
69406
69406
|
* @example
|
|
69407
69407
|
* const res = await client.tiktok.adLibrarySearch({ query: "spotify" });
|
|
@@ -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.
|
|
73551
|
+
* Price: $0.00049 per request.
|
|
73552
73552
|
*
|
|
73553
73553
|
* @example
|
|
73554
73554
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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?" });
|
|
@@ -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.
|
|
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" });
|
|
@@ -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.
|
|
7829
|
+
* Price: $0.0012 per request.
|
|
7830
7830
|
*
|
|
7831
7831
|
* @example
|
|
7832
7832
|
* const res = await client.tiktok.adLibrarySearch({ query: "spotify" });
|
|
@@ -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.
|
|
8955
|
+
* Price: $0.00049 per request.
|
|
8956
8956
|
*
|
|
8957
8957
|
* @example
|
|
8958
8958
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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" });
|