@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.d.cts CHANGED
@@ -3095,7 +3095,7 @@ declare class AmazonNamespace {
3095
3095
  *
3096
3096
  * Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
3097
3097
  *
3098
- * Price: $0.0013 per request.
3098
+ * Price: $0.00075 per request.
3099
3099
  *
3100
3100
  * @example
3101
3101
  * const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
@@ -7761,7 +7761,7 @@ declare class BookingNamespace {
7761
7761
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
7762
7762
  *
7763
7763
  * @example
7764
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-25", checkOut: "2026-11-27", limit: 3 });
7764
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-26", checkOut: "2026-11-28", limit: 3 });
7765
7765
  */
7766
7766
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
7767
7767
  }
@@ -25852,7 +25852,7 @@ declare class GoogleNamespace {
25852
25852
  *
25853
25853
  * 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.
25854
25854
  *
25855
- * Price: $0.0048 per request.
25855
+ * Price: $0.0015 per request.
25856
25856
  *
25857
25857
  * @example
25858
25858
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -25980,7 +25980,7 @@ declare class GoogleNamespace {
25980
25980
  *
25981
25981
  * 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.
25982
25982
  *
25983
- * Price: $0.0005 per request.
25983
+ * Price: $0.0004 per request.
25984
25984
  *
25985
25985
  * @example
25986
25986
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -25998,7 +25998,7 @@ declare class GoogleNamespace {
25998
25998
  *
25999
25999
  * 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.
26000
26000
  *
26001
- * Price: $0.0018 per request.
26001
+ * Price: $0.024 per request.
26002
26002
  *
26003
26003
  * @example
26004
26004
  * const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
@@ -26009,7 +26009,7 @@ declare class GoogleNamespace {
26009
26009
  *
26010
26010
  * 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.
26011
26011
  *
26012
- * Price: $0.018 per request.
26012
+ * Price: $0.002 per request.
26013
26013
  *
26014
26014
  * @example
26015
26015
  * const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
@@ -26914,7 +26914,7 @@ declare class GoogleHotelsNamespace {
26914
26914
  * Price: $0.0015 per request.
26915
26915
  *
26916
26916
  * @example
26917
- * const res = await client.googleHotels.details({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
26917
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-26", checkOut: "2026-11-28", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
26918
26918
  */
26919
26919
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
26920
26920
  /**
@@ -26925,7 +26925,7 @@ declare class GoogleHotelsNamespace {
26925
26925
  * Price: $0.0015 per request.
26926
26926
  *
26927
26927
  * @example
26928
- * const res = await client.googleHotels.search({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", query: "hotels near times square new york" });
26928
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-26", checkOut: "2026-11-28", country: "us", query: "hotels near times square new york" });
26929
26929
  */
26930
26930
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
26931
26931
  }
@@ -40020,7 +40020,7 @@ declare class LinkedinNamespace {
40020
40020
  *
40021
40021
  * 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.
40022
40022
  *
40023
- * Price: $0.0008 per request.
40023
+ * Price: $0.0012 per request.
40024
40024
  *
40025
40025
  * @example
40026
40026
  * const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
@@ -53443,7 +53443,7 @@ declare class RedditNamespace {
53443
53443
  *
53444
53444
  * 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.
53445
53445
  *
53446
- * Price: $0.0006 per request.
53446
+ * Price: $0.0012 per request.
53447
53447
  *
53448
53448
  * @example
53449
53449
  * const res = await client.reddit.userComments({ username: "spez" });
@@ -75910,7 +75910,7 @@ declare class YoutubeNamespace {
75910
75910
  *
75911
75911
  * 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.
75912
75912
  *
75913
- * Price: $0.0718 per request plus $0 per result (maximum $0.0718).
75913
+ * Price: $0.132 per request plus $0 per result (maximum $0.132).
75914
75914
  *
75915
75915
  * @example
75916
75916
  * const res = await client.youtube.channelContact({ handle: "@mkbhd" });
@@ -77107,7 +77107,7 @@ interface ZillowSearchInput {
77107
77107
  /**
77108
77108
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `yearBuilt`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a listing that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
77109
77109
  */
77110
- requireFields?: ("brokerName" | "images" | "isZillowOwned" | "taxAssessedValue" | "yearBuilt")[];
77110
+ requireFields?: ("brokerName" | "daysOnZillow" | "images" | "isZillowOwned" | "taxAssessedValue" | "yearBuilt")[];
77111
77111
  /**
77112
77112
  * Only show listings with a price reduction. Buy searches only; ignored for rentals (e.g. true).
77113
77113
  */
package/dist/index.d.ts CHANGED
@@ -3095,7 +3095,7 @@ declare class AmazonNamespace {
3095
3095
  *
3096
3096
  * Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
3097
3097
  *
3098
- * Price: $0.0013 per request.
3098
+ * Price: $0.00075 per request.
3099
3099
  *
3100
3100
  * @example
3101
3101
  * const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
@@ -7761,7 +7761,7 @@ declare class BookingNamespace {
7761
7761
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
7762
7762
  *
7763
7763
  * @example
7764
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-25", checkOut: "2026-11-27", limit: 3 });
7764
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-26", checkOut: "2026-11-28", limit: 3 });
7765
7765
  */
7766
7766
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
7767
7767
  }
@@ -25852,7 +25852,7 @@ declare class GoogleNamespace {
25852
25852
  *
25853
25853
  * 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.
25854
25854
  *
25855
- * Price: $0.0048 per request.
25855
+ * Price: $0.0015 per request.
25856
25856
  *
25857
25857
  * @example
25858
25858
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -25980,7 +25980,7 @@ declare class GoogleNamespace {
25980
25980
  *
25981
25981
  * 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.
25982
25982
  *
25983
- * Price: $0.0005 per request.
25983
+ * Price: $0.0004 per request.
25984
25984
  *
25985
25985
  * @example
25986
25986
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -25998,7 +25998,7 @@ declare class GoogleNamespace {
25998
25998
  *
25999
25999
  * 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.
26000
26000
  *
26001
- * Price: $0.0018 per request.
26001
+ * Price: $0.024 per request.
26002
26002
  *
26003
26003
  * @example
26004
26004
  * const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
@@ -26009,7 +26009,7 @@ declare class GoogleNamespace {
26009
26009
  *
26010
26010
  * 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.
26011
26011
  *
26012
- * Price: $0.018 per request.
26012
+ * Price: $0.002 per request.
26013
26013
  *
26014
26014
  * @example
26015
26015
  * const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
@@ -26914,7 +26914,7 @@ declare class GoogleHotelsNamespace {
26914
26914
  * Price: $0.0015 per request.
26915
26915
  *
26916
26916
  * @example
26917
- * const res = await client.googleHotels.details({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
26917
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-26", checkOut: "2026-11-28", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
26918
26918
  */
26919
26919
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
26920
26920
  /**
@@ -26925,7 +26925,7 @@ declare class GoogleHotelsNamespace {
26925
26925
  * Price: $0.0015 per request.
26926
26926
  *
26927
26927
  * @example
26928
- * const res = await client.googleHotels.search({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", query: "hotels near times square new york" });
26928
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-26", checkOut: "2026-11-28", country: "us", query: "hotels near times square new york" });
26929
26929
  */
26930
26930
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
26931
26931
  }
@@ -40020,7 +40020,7 @@ declare class LinkedinNamespace {
40020
40020
  *
40021
40021
  * 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.
40022
40022
  *
40023
- * Price: $0.0008 per request.
40023
+ * Price: $0.0012 per request.
40024
40024
  *
40025
40025
  * @example
40026
40026
  * const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
@@ -53443,7 +53443,7 @@ declare class RedditNamespace {
53443
53443
  *
53444
53444
  * 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.
53445
53445
  *
53446
- * Price: $0.0006 per request.
53446
+ * Price: $0.0012 per request.
53447
53447
  *
53448
53448
  * @example
53449
53449
  * const res = await client.reddit.userComments({ username: "spez" });
@@ -75910,7 +75910,7 @@ declare class YoutubeNamespace {
75910
75910
  *
75911
75911
  * 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.
75912
75912
  *
75913
- * Price: $0.0718 per request plus $0 per result (maximum $0.0718).
75913
+ * Price: $0.132 per request plus $0 per result (maximum $0.132).
75914
75914
  *
75915
75915
  * @example
75916
75916
  * const res = await client.youtube.channelContact({ handle: "@mkbhd" });
@@ -77107,7 +77107,7 @@ interface ZillowSearchInput {
77107
77107
  /**
77108
77108
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `yearBuilt`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a listing that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
77109
77109
  */
77110
- requireFields?: ("brokerName" | "images" | "isZillowOwned" | "taxAssessedValue" | "yearBuilt")[];
77110
+ requireFields?: ("brokerName" | "daysOnZillow" | "images" | "isZillowOwned" | "taxAssessedValue" | "yearBuilt")[];
77111
77111
  /**
77112
77112
  * Only show listings with a price reduction. Buy searches only; ignored for rentals (e.g. true).
77113
77113
  */
package/dist/index.js CHANGED
@@ -1284,7 +1284,7 @@ var AmazonNamespace = class {
1284
1284
  *
1285
1285
  * Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
1286
1286
  *
1287
- * Price: $0.0013 per request.
1287
+ * Price: $0.00075 per request.
1288
1288
  *
1289
1289
  * @example
1290
1290
  * const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
@@ -1671,7 +1671,7 @@ var BookingNamespace = class {
1671
1671
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
1672
1672
  *
1673
1673
  * @example
1674
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-25", checkOut: "2026-11-27", limit: 3 });
1674
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-26", checkOut: "2026-11-28", limit: 3 });
1675
1675
  */
1676
1676
  search(input, options) {
1677
1677
  return this._core.run("booking.search", input, options);
@@ -3504,7 +3504,7 @@ var GoogleNamespace = class {
3504
3504
  *
3505
3505
  * 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.
3506
3506
  *
3507
- * Price: $0.0048 per request.
3507
+ * Price: $0.0015 per request.
3508
3508
  *
3509
3509
  * @example
3510
3510
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -3663,7 +3663,7 @@ var GoogleNamespace = class {
3663
3663
  *
3664
3664
  * 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.
3665
3665
  *
3666
- * Price: $0.0005 per request.
3666
+ * Price: $0.0004 per request.
3667
3667
  *
3668
3668
  * @example
3669
3669
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -3692,7 +3692,7 @@ var GoogleNamespace = class {
3692
3692
  *
3693
3693
  * 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.
3694
3694
  *
3695
- * Price: $0.0018 per request.
3695
+ * Price: $0.024 per request.
3696
3696
  *
3697
3697
  * @example
3698
3698
  * const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
@@ -3705,7 +3705,7 @@ var GoogleNamespace = class {
3705
3705
  *
3706
3706
  * 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.
3707
3707
  *
3708
- * Price: $0.018 per request.
3708
+ * Price: $0.002 per request.
3709
3709
  *
3710
3710
  * @example
3711
3711
  * const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
@@ -3839,7 +3839,7 @@ var GoogleHotelsNamespace = class {
3839
3839
  * Price: $0.0015 per request.
3840
3840
  *
3841
3841
  * @example
3842
- * const res = await client.googleHotels.details({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3842
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-26", checkOut: "2026-11-28", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3843
3843
  */
3844
3844
  details(input, options) {
3845
3845
  return this._core.run("google_hotels.details", input, options);
@@ -3852,7 +3852,7 @@ var GoogleHotelsNamespace = class {
3852
3852
  * Price: $0.0015 per request.
3853
3853
  *
3854
3854
  * @example
3855
- * const res = await client.googleHotels.search({ checkIn: "2026-11-25", checkOut: "2026-11-27", country: "us", query: "hotels near times square new york" });
3855
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-26", checkOut: "2026-11-28", country: "us", query: "hotels near times square new york" });
3856
3856
  */
3857
3857
  search(input, options) {
3858
3858
  return this._core.run("google_hotels.search", input, options);
@@ -5169,7 +5169,7 @@ var LinkedinNamespace = class {
5169
5169
  *
5170
5170
  * 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.
5171
5171
  *
5172
- * Price: $0.0008 per request.
5172
+ * Price: $0.0012 per request.
5173
5173
  *
5174
5174
  * @example
5175
5175
  * const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
@@ -6228,7 +6228,7 @@ var RedditNamespace = class {
6228
6228
  *
6229
6229
  * 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.
6230
6230
  *
6231
- * Price: $0.0006 per request.
6231
+ * Price: $0.0012 per request.
6232
6232
  *
6233
6233
  * @example
6234
6234
  * const res = await client.reddit.userComments({ username: "spez" });
@@ -9105,7 +9105,7 @@ var YoutubeNamespace = class {
9105
9105
  *
9106
9106
  * 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.
9107
9107
  *
9108
- * Price: $0.0718 per request plus $0 per result (maximum $0.0718).
9108
+ * Price: $0.132 per request plus $0 per result (maximum $0.132).
9109
9109
  *
9110
9110
  * @example
9111
9111
  * const res = await client.youtube.channelContact({ handle: "@mkbhd" });