@getanyapi/sdk 0.101.6 → 0.103.1

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
@@ -1431,7 +1431,7 @@ var BookingNamespace = class {
1431
1431
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
1432
1432
  *
1433
1433
  * @example
1434
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-14", checkOut: "2026-11-16", limit: 3 });
1434
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-15", checkOut: "2026-11-17", limit: 3 });
1435
1435
  */
1436
1436
  search(input, options) {
1437
1437
  return this._core.run("booking.search", input, options);
@@ -3055,7 +3055,7 @@ var GoogleNamespace = class {
3055
3055
  *
3056
3056
  * 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.
3057
3057
  *
3058
- * Price: $0.0048 per request.
3058
+ * Price: $0.0015 per request.
3059
3059
  *
3060
3060
  * @example
3061
3061
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -3159,7 +3159,7 @@ var GoogleNamespace = class {
3159
3159
  *
3160
3160
  * 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.
3161
3161
  *
3162
- * Price: $0.0005 per request.
3162
+ * Price: $0.0004 per request.
3163
3163
  *
3164
3164
  * @example
3165
3165
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -3335,7 +3335,7 @@ var GoogleHotelsNamespace = class {
3335
3335
  * Price: $0.0015 per request.
3336
3336
  *
3337
3337
  * @example
3338
- * const res = await client.googleHotels.details({ checkIn: "2026-11-14", checkOut: "2026-11-16", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3338
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-15", checkOut: "2026-11-17", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3339
3339
  */
3340
3340
  details(input, options) {
3341
3341
  return this._core.run("google_hotels.details", input, options);
@@ -3348,7 +3348,7 @@ var GoogleHotelsNamespace = class {
3348
3348
  * Price: $0.0015 per request.
3349
3349
  *
3350
3350
  * @example
3351
- * const res = await client.googleHotels.search({ checkIn: "2026-11-14", checkOut: "2026-11-16", country: "us", query: "hotels near times square new york" });
3351
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-15", checkOut: "2026-11-17", country: "us", query: "hotels near times square new york" });
3352
3352
  */
3353
3353
  search(input, options) {
3354
3354
  return this._core.run("google_hotels.search", input, options);
@@ -4571,7 +4571,7 @@ var LinkedinNamespace = class {
4571
4571
  *
4572
4572
  * Lightweight profile: name, avatar, location, followers, and a basic experience/education list (company + dates only, no job titles, descriptions, or skills; past companies may be redacted). For full experience detail, skills, certifications, connections, and verified flags use linkedin.profile.
4573
4573
  *
4574
- * Price: $0.0012 per request.
4574
+ * Price: $0.0008 per request.
4575
4575
  *
4576
4576
  * @example
4577
4577
  * const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
@@ -5363,7 +5363,7 @@ var RedditNamespace = class {
5363
5363
  *
5364
5364
  * Fetch a single Reddit post by URL, including its full body text, score, comment count, upvote ratio, and subreddit, as normalized JSON.
5365
5365
  *
5366
- * Price: $0.0008 per request.
5366
+ * Price: $0.0005 per request.
5367
5367
  *
5368
5368
  * @example
5369
5369
  * const res = await client.reddit.post({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
@@ -5418,7 +5418,7 @@ var RedditNamespace = class {
5418
5418
  *
5419
5419
  * Fetch a Reddit user's public profile (karma split, post and comment counts, bio, avatar, account age) by username.
5420
5420
  *
5421
- * Price: $0.0012 per request.
5421
+ * Price: $0.0008 per request.
5422
5422
  *
5423
5423
  * @example
5424
5424
  * const res = await client.reddit.profile({ username: "spez" });
@@ -5431,7 +5431,7 @@ var RedditNamespace = class {
5431
5431
  *
5432
5432
  * Search Reddit posts across all subreddits by query.
5433
5433
  *
5434
- * Price: $0.00038 per request.
5434
+ * Price: $0.00035 per request.
5435
5435
  *
5436
5436
  * @example
5437
5437
  * const res = await client.reddit.search({ query: "mechanical keyboard" });
@@ -5502,7 +5502,7 @@ var RedditNamespace = class {
5502
5502
  *
5503
5503
  * Search posts within a single subreddit by query, sort, and timeframe.
5504
5504
  *
5505
- * Price: $0.00038 per request.
5505
+ * Price: $0.00035 per request.
5506
5506
  *
5507
5507
  * @example
5508
5508
  * const res = await client.reddit.subredditSearch({ subreddit: "Fitness", query: "push ups" });
@@ -6517,7 +6517,7 @@ var TiktokNamespace = class {
6517
6517
  *
6518
6518
  * Search TikTok's public Ads Library by keyword or advertiser (advertiser, title, audience band, run dates, library link, and video).
6519
6519
  *
6520
- * Price: $0.0008 per request.
6520
+ * Price: $0.0012 per request.
6521
6521
  *
6522
6522
  * @example
6523
6523
  * const res = await client.tiktok.adLibrarySearch({ query: "spotify" });
@@ -7672,7 +7672,7 @@ var TwitterNamespace = class {
7672
7672
  *
7673
7673
  * 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.
7674
7674
  *
7675
- * Price: $0.00075 per request.
7675
+ * Price: $0.0007 per request.
7676
7676
  *
7677
7677
  * @example
7678
7678
  * const res = await client.twitter.searchUsers({ query: "ai agents" });
@@ -8128,7 +8128,7 @@ var YoutubeNamespace = class {
8128
8128
  *
8129
8129
  * Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
8130
8130
  *
8131
- * Price: $0.0005 per request.
8131
+ * Price: $0.00045 per request.
8132
8132
  *
8133
8133
  * @example
8134
8134
  * const res = await client.youtube.channel({ handle: "@mkbhd" });
@@ -8451,7 +8451,7 @@ var YoutubeNamespace = class {
8451
8451
  *
8452
8452
  * Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
8453
8453
  *
8454
- * Price: $0.0009 per request.
8454
+ * Price: $0.0008 per request.
8455
8455
  *
8456
8456
  * @example
8457
8457
  * const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
@@ -8464,7 +8464,7 @@ var YoutubeNamespace = class {
8464
8464
  *
8465
8465
  * List the comments on a YouTube video or Short by URL with cursor pagination (text, author, likes, reply count).
8466
8466
  *
8467
- * Price: $0.0008 per request.
8467
+ * Price: $0.0012 per request.
8468
8468
  *
8469
8469
  * @example
8470
8470
  * const res = await client.youtube.videoComments({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });