@getanyapi/sdk 0.135.3 → 0.136.0

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 CHANGED
@@ -1421,7 +1421,7 @@ var AmazonNamespace = class {
1421
1421
  *
1422
1422
  * Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
1423
1423
  *
1424
- * Price: $0.0013 per request.
1424
+ * Price: $0.00075 per request.
1425
1425
  *
1426
1426
  * @example
1427
1427
  * const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
@@ -1808,7 +1808,7 @@ var BookingNamespace = class {
1808
1808
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
1809
1809
  *
1810
1810
  * @example
1811
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-25", checkOut: "2026-11-27", limit: 3 });
1811
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-26", checkOut: "2026-11-28", limit: 3 });
1812
1812
  */
1813
1813
  search(input, options) {
1814
1814
  return this._core.run("booking.search", input, options);
@@ -3641,7 +3641,7 @@ var GoogleNamespace = class {
3641
3641
  *
3642
3642
  * 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.
3643
3643
  *
3644
- * Price: $0.0048 per request.
3644
+ * Price: $0.0015 per request.
3645
3645
  *
3646
3646
  * @example
3647
3647
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -3800,7 +3800,7 @@ var GoogleNamespace = class {
3800
3800
  *
3801
3801
  * 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 normally cheaper past roughly 20 results.
3802
3802
  *
3803
- * Price: $0.0005 per request.
3803
+ * Price: $0.0004 per request.
3804
3804
  *
3805
3805
  * @example
3806
3806
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -3829,7 +3829,7 @@ var GoogleNamespace = class {
3829
3829
  *
3830
3830
  * Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One charge per call whatever the depth, which normally makes it cheaper than paging google.search past roughly 20 results; when the backup source has to answer, the call costs more, up to $0.024. It reads ten pages of Google to build the list, so a call can take up to about five minutes - use google.search when you want the first page back in a second.
3831
3831
  *
3832
- * Price: $0.0018 per request.
3832
+ * Price: $0.024 per request.
3833
3833
  *
3834
3834
  * @example
3835
3835
  * const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
@@ -3842,7 +3842,7 @@ var GoogleNamespace = class {
3842
3842
  *
3843
3843
  * Google Trends interest over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Interest over time only, not related queries or regions.
3844
3844
  *
3845
- * Price: $0.018 per request.
3845
+ * Price: $0.002 per request.
3846
3846
  *
3847
3847
  * @example
3848
3848
  * const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
@@ -3976,7 +3976,7 @@ var GoogleHotelsNamespace = class {
3976
3976
  * Price: $0.0015 per request.
3977
3977
  *
3978
3978
  * @example
3979
- * const res = await client.googleHotels.details({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3979
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-26", checkOut: "2026-11-28", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3980
3980
  */
3981
3981
  details(input, options) {
3982
3982
  return this._core.run("google_hotels.details", input, options);
@@ -3989,7 +3989,7 @@ var GoogleHotelsNamespace = class {
3989
3989
  * Price: $0.0015 per request.
3990
3990
  *
3991
3991
  * @example
3992
- * const res = await client.googleHotels.search({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", query: "hotels near times square new york" });
3992
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-26", checkOut: "2026-11-28", country: "us", query: "hotels near times square new york" });
3993
3993
  */
3994
3994
  search(input, options) {
3995
3995
  return this._core.run("google_hotels.search", input, options);
@@ -5306,7 +5306,7 @@ var LinkedinNamespace = class {
5306
5306
  *
5307
5307
  * Lightweight profile: name, avatar, location, followers, public id, current company, and a basic experience/education list (company + dates; job titles, the current-role flag and the connections label only where the source and the profile show them; no descriptions or skills; past companies may be redacted). For full experience detail, skills, certifications, and verified flags use linkedin.profile.
5308
5308
  *
5309
- * Price: $0.0008 per request.
5309
+ * Price: $0.0012 per request.
5310
5310
  *
5311
5311
  * @example
5312
5312
  * const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
@@ -6365,7 +6365,7 @@ var RedditNamespace = class {
6365
6365
  *
6366
6366
  * List a Reddit user's comments by username, sorted by new, top, hot, or controversial, with the parent post title and subreddit on every item and cursor pagination. Comment text comes back as a roughly 300-character preview rather than the full body, and this endpoint carries no per-comment permalink; use reddit.post_comments for full comment bodies and comment URLs on a given post.
6367
6367
  *
6368
- * Price: $0.0006 per request.
6368
+ * Price: $0.0012 per request.
6369
6369
  *
6370
6370
  * @example
6371
6371
  * const res = await client.reddit.userComments({ username: "spez" });
@@ -9242,7 +9242,7 @@ var YoutubeNamespace = class {
9242
9242
  *
9243
9243
  * Reveal the business inquiry email a YouTube creator publishes behind the channel's View email address button. YouTube gates that address behind a signed-in Google session and a CAPTCHA, so it is absent from the channel page a logged-out scraper reads.
9244
9244
  *
9245
- * Price: $0.0718 per request plus $0 per result (maximum $0.0718).
9245
+ * Price: $0.132 per request plus $0 per result (maximum $0.132).
9246
9246
  *
9247
9247
  * @example
9248
9248
  * const res = await client.youtube.channelContact({ handle: "@mkbhd" });