@getanyapi/sdk 0.126.5 → 0.126.8

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
@@ -1956,7 +1956,7 @@ declare class AmazonNamespace {
1956
1956
  *
1957
1957
  * Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
1958
1958
  *
1959
- * Price: $0.00075 per request.
1959
+ * Price: $0.0013 per request.
1960
1960
  *
1961
1961
  * @example
1962
1962
  * const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
@@ -6600,7 +6600,7 @@ declare class BookingNamespace {
6600
6600
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
6601
6601
  *
6602
6602
  * @example
6603
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-20", checkOut: "2026-11-22", limit: 3 });
6603
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-21", checkOut: "2026-11-23", limit: 3 });
6604
6604
  */
6605
6605
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
6606
6606
  }
@@ -23874,7 +23874,7 @@ declare class GoogleNamespace {
23874
23874
  *
23875
23875
  * 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.
23876
23876
  *
23877
- * Price: $0.0048 per request.
23877
+ * Price: $0.0015 per request.
23878
23878
  *
23879
23879
  * @example
23880
23880
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -24002,7 +24002,7 @@ declare class GoogleNamespace {
24002
24002
  *
24003
24003
  * 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.
24004
24004
  *
24005
- * Price: $0.0005 per request.
24005
+ * Price: $0.0004 per request.
24006
24006
  *
24007
24007
  * @example
24008
24008
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -24936,7 +24936,7 @@ declare class GoogleHotelsNamespace {
24936
24936
  * Price: $0.0015 per request.
24937
24937
  *
24938
24938
  * @example
24939
- * const res = await client.googleHotels.details({ checkIn: "2026-11-20", checkOut: "2026-11-22", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
24939
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-21", checkOut: "2026-11-23", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
24940
24940
  */
24941
24941
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
24942
24942
  /**
@@ -24947,7 +24947,7 @@ declare class GoogleHotelsNamespace {
24947
24947
  * Price: $0.0015 per request.
24948
24948
  *
24949
24949
  * @example
24950
- * const res = await client.googleHotels.search({ checkIn: "2026-11-20", checkOut: "2026-11-22", country: "us", query: "hotels near times square new york" });
24950
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-21", checkOut: "2026-11-23", country: "us", query: "hotels near times square new york" });
24951
24951
  */
24952
24952
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
24953
24953
  }
package/dist/index.d.ts CHANGED
@@ -1956,7 +1956,7 @@ declare class AmazonNamespace {
1956
1956
  *
1957
1957
  * Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
1958
1958
  *
1959
- * Price: $0.00075 per request.
1959
+ * Price: $0.0013 per request.
1960
1960
  *
1961
1961
  * @example
1962
1962
  * const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
@@ -6600,7 +6600,7 @@ declare class BookingNamespace {
6600
6600
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
6601
6601
  *
6602
6602
  * @example
6603
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-20", checkOut: "2026-11-22", limit: 3 });
6603
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-21", checkOut: "2026-11-23", limit: 3 });
6604
6604
  */
6605
6605
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
6606
6606
  }
@@ -23874,7 +23874,7 @@ declare class GoogleNamespace {
23874
23874
  *
23875
23875
  * 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.
23876
23876
  *
23877
- * Price: $0.0048 per request.
23877
+ * Price: $0.0015 per request.
23878
23878
  *
23879
23879
  * @example
23880
23880
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -24002,7 +24002,7 @@ declare class GoogleNamespace {
24002
24002
  *
24003
24003
  * 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.
24004
24004
  *
24005
- * Price: $0.0005 per request.
24005
+ * Price: $0.0004 per request.
24006
24006
  *
24007
24007
  * @example
24008
24008
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -24936,7 +24936,7 @@ declare class GoogleHotelsNamespace {
24936
24936
  * Price: $0.0015 per request.
24937
24937
  *
24938
24938
  * @example
24939
- * const res = await client.googleHotels.details({ checkIn: "2026-11-20", checkOut: "2026-11-22", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
24939
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-21", checkOut: "2026-11-23", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
24940
24940
  */
24941
24941
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
24942
24942
  /**
@@ -24947,7 +24947,7 @@ declare class GoogleHotelsNamespace {
24947
24947
  * Price: $0.0015 per request.
24948
24948
  *
24949
24949
  * @example
24950
- * const res = await client.googleHotels.search({ checkIn: "2026-11-20", checkOut: "2026-11-22", country: "us", query: "hotels near times square new york" });
24950
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-21", checkOut: "2026-11-23", country: "us", query: "hotels near times square new york" });
24951
24951
  */
24952
24952
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
24953
24953
  }
package/dist/index.js CHANGED
@@ -1211,7 +1211,7 @@ var AmazonNamespace = class {
1211
1211
  *
1212
1212
  * Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
1213
1213
  *
1214
- * Price: $0.00075 per request.
1214
+ * Price: $0.0013 per request.
1215
1215
  *
1216
1216
  * @example
1217
1217
  * const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
@@ -1572,7 +1572,7 @@ var BookingNamespace = class {
1572
1572
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
1573
1573
  *
1574
1574
  * @example
1575
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-20", checkOut: "2026-11-22", limit: 3 });
1575
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-21", checkOut: "2026-11-23", limit: 3 });
1576
1576
  */
1577
1577
  search(input, options) {
1578
1578
  return this._core.run("booking.search", input, options);
@@ -3332,7 +3332,7 @@ var GoogleNamespace = class {
3332
3332
  *
3333
3333
  * 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.
3334
3334
  *
3335
- * Price: $0.0048 per request.
3335
+ * Price: $0.0015 per request.
3336
3336
  *
3337
3337
  * @example
3338
3338
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -3491,7 +3491,7 @@ var GoogleNamespace = class {
3491
3491
  *
3492
3492
  * 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.
3493
3493
  *
3494
- * Price: $0.0005 per request.
3494
+ * Price: $0.0004 per request.
3495
3495
  *
3496
3496
  * @example
3497
3497
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -3667,7 +3667,7 @@ var GoogleHotelsNamespace = class {
3667
3667
  * Price: $0.0015 per request.
3668
3668
  *
3669
3669
  * @example
3670
- * const res = await client.googleHotels.details({ checkIn: "2026-11-20", checkOut: "2026-11-22", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3670
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-21", checkOut: "2026-11-23", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3671
3671
  */
3672
3672
  details(input, options) {
3673
3673
  return this._core.run("google_hotels.details", input, options);
@@ -3680,7 +3680,7 @@ var GoogleHotelsNamespace = class {
3680
3680
  * Price: $0.0015 per request.
3681
3681
  *
3682
3682
  * @example
3683
- * const res = await client.googleHotels.search({ checkIn: "2026-11-20", checkOut: "2026-11-22", country: "us", query: "hotels near times square new york" });
3683
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-21", checkOut: "2026-11-23", country: "us", query: "hotels near times square new york" });
3684
3684
  */
3685
3685
  search(input, options) {
3686
3686
  return this._core.run("google_hotels.search", input, options);