@getanyapi/sdk 0.100.0 → 0.100.2

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
@@ -5011,7 +5011,7 @@ declare class BookingNamespace {
5011
5011
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
5012
5012
  *
5013
5013
  * @example
5014
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-12", checkOut: "2026-11-14", limit: 3 });
5014
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-13", checkOut: "2026-11-15", limit: 3 });
5015
5015
  */
5016
5016
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
5017
5017
  }
@@ -20557,7 +20557,7 @@ declare class GoogleNamespace {
20557
20557
  *
20558
20558
  * 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.
20559
20559
  *
20560
- * Price: $0.0015 per request.
20560
+ * Price: $0.0048 per request.
20561
20561
  *
20562
20562
  * @example
20563
20563
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -20645,7 +20645,7 @@ declare class GoogleNamespace {
20645
20645
  *
20646
20646
  * 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.
20647
20647
  *
20648
- * Price: $0.0004 per request.
20648
+ * Price: $0.0005 per request.
20649
20649
  *
20650
20650
  * @example
20651
20651
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -21579,7 +21579,7 @@ declare class GoogleHotelsNamespace {
21579
21579
  * Price: $0.0015 per request.
21580
21580
  *
21581
21581
  * @example
21582
- * const res = await client.googleHotels.details({ checkIn: "2026-11-12", checkOut: "2026-11-14", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21582
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-13", checkOut: "2026-11-15", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21583
21583
  */
21584
21584
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
21585
21585
  /**
@@ -21590,7 +21590,7 @@ declare class GoogleHotelsNamespace {
21590
21590
  * Price: $0.0015 per request.
21591
21591
  *
21592
21592
  * @example
21593
- * const res = await client.googleHotels.search({ checkIn: "2026-11-12", checkOut: "2026-11-14", country: "us", query: "hotels near times square new york" });
21593
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-13", checkOut: "2026-11-15", country: "us", query: "hotels near times square new york" });
21594
21594
  */
21595
21595
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
21596
21596
  }
@@ -32300,7 +32300,7 @@ declare class LinkedinNamespace {
32300
32300
  *
32301
32301
  * List the employees of a LinkedIn company by name or company URL, with optional job-title filtering.
32302
32302
  *
32303
- * Price: $0.006 per request.
32303
+ * Price: $0.0032 per request plus $0.0048 per result (maximum $0.0512).
32304
32304
  *
32305
32305
  * @example
32306
32306
  * const res = await client.linkedin.companyEmployees({ company: "stripe", limit: 3 });
@@ -44459,7 +44459,7 @@ declare class RedditNamespace {
44459
44459
  *
44460
44460
  * Get a Reddit user's profile picture URL, karma, and account age by username. The cheapest Reddit user lookup; use reddit.profile for bio, trophies, and post and comment counts.
44461
44461
  *
44462
- * Price: $0.0012 per request.
44462
+ * Price: $0.00038 per request.
44463
44463
  *
44464
44464
  * @example
44465
44465
  * const res = await client.reddit.avatar({ username: "spez" });
@@ -44550,7 +44550,7 @@ declare class RedditNamespace {
44550
44550
  *
44551
44551
  * Fetch posts from a subreddit listing (hot, new, or top).
44552
44552
  *
44553
- * Price: $0.0005 per request.
44553
+ * Price: $0.00038 per request.
44554
44554
  *
44555
44555
  * @example
44556
44556
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -44568,7 +44568,7 @@ declare class RedditNamespace {
44568
44568
  *
44569
44569
  * Search posts within a single subreddit by query, sort, and timeframe.
44570
44570
  *
44571
- * Price: $0.0005 per request.
44571
+ * Price: $0.00038 per request.
44572
44572
  *
44573
44573
  * @example
44574
44574
  * const res = await client.reddit.subredditSearch({ subreddit: "Fitness", query: "push ups" });
@@ -56170,7 +56170,7 @@ declare class TiktokNamespace {
56170
56170
  *
56171
56171
  * Find the public contact email behind a TikTok creator's profile: the address written into the bio plus any published on the site the profile links to, each labelled with where it came from. Returns the creator's profile stats and linked social accounts alongside.
56172
56172
  *
56173
- * Price: $0.00116 per request plus $0 per result (maximum $0.00116).
56173
+ * Price: $0.00187 per request plus $0 per result (maximum $0.00187).
56174
56174
  *
56175
56175
  * @example
56176
56176
  * const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
@@ -64140,7 +64140,7 @@ declare class YoutubeNamespace {
64140
64140
  *
64141
64141
  * Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
64142
64142
  *
64143
- * Price: $0.00045 per request.
64143
+ * Price: $0.0005 per request.
64144
64144
  *
64145
64145
  * @example
64146
64146
  * const res = await client.youtube.channel({ handle: "@mkbhd" });
@@ -64361,7 +64361,7 @@ declare class YoutubeNamespace {
64361
64361
  *
64362
64362
  * Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
64363
64363
  *
64364
- * Price: $0.0008 per request.
64364
+ * Price: $0.0009 per request.
64365
64365
  *
64366
64366
  * @example
64367
64367
  * const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
package/dist/index.d.ts CHANGED
@@ -5011,7 +5011,7 @@ declare class BookingNamespace {
5011
5011
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
5012
5012
  *
5013
5013
  * @example
5014
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-12", checkOut: "2026-11-14", limit: 3 });
5014
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-13", checkOut: "2026-11-15", limit: 3 });
5015
5015
  */
5016
5016
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
5017
5017
  }
@@ -20557,7 +20557,7 @@ declare class GoogleNamespace {
20557
20557
  *
20558
20558
  * 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.
20559
20559
  *
20560
- * Price: $0.0015 per request.
20560
+ * Price: $0.0048 per request.
20561
20561
  *
20562
20562
  * @example
20563
20563
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -20645,7 +20645,7 @@ declare class GoogleNamespace {
20645
20645
  *
20646
20646
  * 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.
20647
20647
  *
20648
- * Price: $0.0004 per request.
20648
+ * Price: $0.0005 per request.
20649
20649
  *
20650
20650
  * @example
20651
20651
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -21579,7 +21579,7 @@ declare class GoogleHotelsNamespace {
21579
21579
  * Price: $0.0015 per request.
21580
21580
  *
21581
21581
  * @example
21582
- * const res = await client.googleHotels.details({ checkIn: "2026-11-12", checkOut: "2026-11-14", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21582
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-13", checkOut: "2026-11-15", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21583
21583
  */
21584
21584
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
21585
21585
  /**
@@ -21590,7 +21590,7 @@ declare class GoogleHotelsNamespace {
21590
21590
  * Price: $0.0015 per request.
21591
21591
  *
21592
21592
  * @example
21593
- * const res = await client.googleHotels.search({ checkIn: "2026-11-12", checkOut: "2026-11-14", country: "us", query: "hotels near times square new york" });
21593
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-13", checkOut: "2026-11-15", country: "us", query: "hotels near times square new york" });
21594
21594
  */
21595
21595
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
21596
21596
  }
@@ -32300,7 +32300,7 @@ declare class LinkedinNamespace {
32300
32300
  *
32301
32301
  * List the employees of a LinkedIn company by name or company URL, with optional job-title filtering.
32302
32302
  *
32303
- * Price: $0.006 per request.
32303
+ * Price: $0.0032 per request plus $0.0048 per result (maximum $0.0512).
32304
32304
  *
32305
32305
  * @example
32306
32306
  * const res = await client.linkedin.companyEmployees({ company: "stripe", limit: 3 });
@@ -44459,7 +44459,7 @@ declare class RedditNamespace {
44459
44459
  *
44460
44460
  * Get a Reddit user's profile picture URL, karma, and account age by username. The cheapest Reddit user lookup; use reddit.profile for bio, trophies, and post and comment counts.
44461
44461
  *
44462
- * Price: $0.0012 per request.
44462
+ * Price: $0.00038 per request.
44463
44463
  *
44464
44464
  * @example
44465
44465
  * const res = await client.reddit.avatar({ username: "spez" });
@@ -44550,7 +44550,7 @@ declare class RedditNamespace {
44550
44550
  *
44551
44551
  * Fetch posts from a subreddit listing (hot, new, or top).
44552
44552
  *
44553
- * Price: $0.0005 per request.
44553
+ * Price: $0.00038 per request.
44554
44554
  *
44555
44555
  * @example
44556
44556
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -44568,7 +44568,7 @@ declare class RedditNamespace {
44568
44568
  *
44569
44569
  * Search posts within a single subreddit by query, sort, and timeframe.
44570
44570
  *
44571
- * Price: $0.0005 per request.
44571
+ * Price: $0.00038 per request.
44572
44572
  *
44573
44573
  * @example
44574
44574
  * const res = await client.reddit.subredditSearch({ subreddit: "Fitness", query: "push ups" });
@@ -56170,7 +56170,7 @@ declare class TiktokNamespace {
56170
56170
  *
56171
56171
  * Find the public contact email behind a TikTok creator's profile: the address written into the bio plus any published on the site the profile links to, each labelled with where it came from. Returns the creator's profile stats and linked social accounts alongside.
56172
56172
  *
56173
- * Price: $0.00116 per request plus $0 per result (maximum $0.00116).
56173
+ * Price: $0.00187 per request plus $0 per result (maximum $0.00187).
56174
56174
  *
56175
56175
  * @example
56176
56176
  * const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
@@ -64140,7 +64140,7 @@ declare class YoutubeNamespace {
64140
64140
  *
64141
64141
  * Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
64142
64142
  *
64143
- * Price: $0.00045 per request.
64143
+ * Price: $0.0005 per request.
64144
64144
  *
64145
64145
  * @example
64146
64146
  * const res = await client.youtube.channel({ handle: "@mkbhd" });
@@ -64361,7 +64361,7 @@ declare class YoutubeNamespace {
64361
64361
  *
64362
64362
  * Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
64363
64363
  *
64364
- * Price: $0.0008 per request.
64364
+ * Price: $0.0009 per request.
64365
64365
  *
64366
64366
  * @example
64367
64367
  * const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
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-12", checkOut: "2026-11-14", limit: 3 });
1434
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-13", checkOut: "2026-11-15", 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.0015 per request.
3058
+ * Price: $0.0048 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.0004 per request.
3162
+ * Price: $0.0005 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-12", checkOut: "2026-11-14", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3338
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-13", checkOut: "2026-11-15", 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-12", checkOut: "2026-11-14", country: "us", query: "hotels near times square new york" });
3351
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-13", checkOut: "2026-11-15", 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);
@@ -4286,7 +4286,7 @@ var LinkedinNamespace = class {
4286
4286
  *
4287
4287
  * List the employees of a LinkedIn company by name or company URL, with optional job-title filtering.
4288
4288
  *
4289
- * Price: $0.006 per request.
4289
+ * Price: $0.0032 per request plus $0.0048 per result (maximum $0.0512).
4290
4290
  *
4291
4291
  * @example
4292
4292
  * const res = await client.linkedin.companyEmployees({ company: "stripe", limit: 3 });
@@ -5350,7 +5350,7 @@ var RedditNamespace = class {
5350
5350
  *
5351
5351
  * Get a Reddit user's profile picture URL, karma, and account age by username. The cheapest Reddit user lookup; use reddit.profile for bio, trophies, and post and comment counts.
5352
5352
  *
5353
- * Price: $0.0012 per request.
5353
+ * Price: $0.00038 per request.
5354
5354
  *
5355
5355
  * @example
5356
5356
  * const res = await client.reddit.avatar({ username: "spez" });
@@ -5473,7 +5473,7 @@ var RedditNamespace = class {
5473
5473
  *
5474
5474
  * Fetch posts from a subreddit listing (hot, new, or top).
5475
5475
  *
5476
- * Price: $0.0005 per request.
5476
+ * Price: $0.00038 per request.
5477
5477
  *
5478
5478
  * @example
5479
5479
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -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.0005 per request.
5505
+ * Price: $0.00038 per request.
5506
5506
  *
5507
5507
  * @example
5508
5508
  * const res = await client.reddit.subredditSearch({ subreddit: "Fitness", query: "push ups" });
@@ -6772,7 +6772,7 @@ var TiktokNamespace = class {
6772
6772
  *
6773
6773
  * Find the public contact email behind a TikTok creator's profile: the address written into the bio plus any published on the site the profile links to, each labelled with where it came from. Returns the creator's profile stats and linked social accounts alongside.
6774
6774
  *
6775
- * Price: $0.00116 per request plus $0 per result (maximum $0.00116).
6775
+ * Price: $0.00187 per request plus $0 per result (maximum $0.00187).
6776
6776
  *
6777
6777
  * @example
6778
6778
  * const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
@@ -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.00045 per request.
8131
+ * Price: $0.0005 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.0008 per request.
8454
+ * Price: $0.0009 per request.
8455
8455
  *
8456
8456
  * @example
8457
8457
  * const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });