@getanyapi/sdk 0.148.3 → 0.148.4
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 +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -7320,7 +7320,7 @@ declare class BingNamespace {
|
|
|
7320
7320
|
*
|
|
7321
7321
|
* Ask Microsoft Copilot (the AI answer in Bing) a question and get its web-grounded answer with the sources it cites as clean JSON - for tracking how Copilot answers and which sites it cites.
|
|
7322
7322
|
*
|
|
7323
|
-
* Price: $0.
|
|
7323
|
+
* Price: $0.00085 per request.
|
|
7324
7324
|
*
|
|
7325
7325
|
* @example
|
|
7326
7326
|
* const res = await client.bing.copilot({ prompt: "what is the capital of australia and why" });
|
|
@@ -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-12-
|
|
7764
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-05", checkOut: "2026-12-07", limit: 3 });
|
|
7765
7765
|
*/
|
|
7766
7766
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
7767
7767
|
}
|
|
@@ -25441,7 +25441,7 @@ declare class GoogleNamespace {
|
|
|
25441
25441
|
*
|
|
25442
25442
|
* 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.
|
|
25443
25443
|
*
|
|
25444
|
-
* Price: $0.
|
|
25444
|
+
* Price: $0.0015 per request.
|
|
25445
25445
|
*
|
|
25446
25446
|
* @example
|
|
25447
25447
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -26392,7 +26392,7 @@ declare class GoogleFlightsNamespace {
|
|
|
26392
26392
|
* Price: $0.001 per request.
|
|
26393
26393
|
*
|
|
26394
26394
|
* @example
|
|
26395
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
26395
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-05", destination: "LHR", origin: "JFK" });
|
|
26396
26396
|
*/
|
|
26397
26397
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
26398
26398
|
}
|
|
@@ -26727,7 +26727,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26727
26727
|
* Price: $0.0015 per request.
|
|
26728
26728
|
*
|
|
26729
26729
|
* @example
|
|
26730
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
26730
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-05", checkOut: "2026-12-07", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26731
26731
|
*/
|
|
26732
26732
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26733
26733
|
/**
|
|
@@ -26738,7 +26738,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26738
26738
|
* Price: $0.0015 per request.
|
|
26739
26739
|
*
|
|
26740
26740
|
* @example
|
|
26741
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
26741
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-05", checkOut: "2026-12-07", country: "us", query: "hotels near times square new york" });
|
|
26742
26742
|
*/
|
|
26743
26743
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26744
26744
|
}
|
|
@@ -32260,7 +32260,7 @@ declare class InstagramNamespace {
|
|
|
32260
32260
|
*
|
|
32261
32261
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
32262
32262
|
*
|
|
32263
|
-
* Price: $0.
|
|
32263
|
+
* Price: $0.00175 per request.
|
|
32264
32264
|
*
|
|
32265
32265
|
* @example
|
|
32266
32266
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -68866,7 +68866,7 @@ declare class TiktokShopNamespace {
|
|
|
68866
68866
|
*
|
|
68867
68867
|
* Search TikTok Shop products by keyword across 15 countries: price, sales, rating, and seller info per product, in one normalized response.
|
|
68868
68868
|
*
|
|
68869
|
-
* Price: $0.
|
|
68869
|
+
* Price: $0.0012 per request.
|
|
68870
68870
|
*
|
|
68871
68871
|
* @example
|
|
68872
68872
|
* const res = await client.tiktokShop.search({ query: "phone case", limit: 3 });
|
|
@@ -72366,7 +72366,7 @@ declare class VrboNamespace {
|
|
|
72366
72366
|
* Price: $0.001 per request.
|
|
72367
72367
|
*
|
|
72368
72368
|
* @example
|
|
72369
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
72369
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-05", checkOut: "2026-12-08", location: "Lake Tahoe", adults: 2, limit: 5 });
|
|
72370
72370
|
*/
|
|
72371
72371
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
72372
72372
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -7320,7 +7320,7 @@ declare class BingNamespace {
|
|
|
7320
7320
|
*
|
|
7321
7321
|
* Ask Microsoft Copilot (the AI answer in Bing) a question and get its web-grounded answer with the sources it cites as clean JSON - for tracking how Copilot answers and which sites it cites.
|
|
7322
7322
|
*
|
|
7323
|
-
* Price: $0.
|
|
7323
|
+
* Price: $0.00085 per request.
|
|
7324
7324
|
*
|
|
7325
7325
|
* @example
|
|
7326
7326
|
* const res = await client.bing.copilot({ prompt: "what is the capital of australia and why" });
|
|
@@ -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-12-
|
|
7764
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-05", checkOut: "2026-12-07", limit: 3 });
|
|
7765
7765
|
*/
|
|
7766
7766
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
7767
7767
|
}
|
|
@@ -25441,7 +25441,7 @@ declare class GoogleNamespace {
|
|
|
25441
25441
|
*
|
|
25442
25442
|
* 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.
|
|
25443
25443
|
*
|
|
25444
|
-
* Price: $0.
|
|
25444
|
+
* Price: $0.0015 per request.
|
|
25445
25445
|
*
|
|
25446
25446
|
* @example
|
|
25447
25447
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -26392,7 +26392,7 @@ declare class GoogleFlightsNamespace {
|
|
|
26392
26392
|
* Price: $0.001 per request.
|
|
26393
26393
|
*
|
|
26394
26394
|
* @example
|
|
26395
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
26395
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-05", destination: "LHR", origin: "JFK" });
|
|
26396
26396
|
*/
|
|
26397
26397
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
26398
26398
|
}
|
|
@@ -26727,7 +26727,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26727
26727
|
* Price: $0.0015 per request.
|
|
26728
26728
|
*
|
|
26729
26729
|
* @example
|
|
26730
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
26730
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-05", checkOut: "2026-12-07", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26731
26731
|
*/
|
|
26732
26732
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26733
26733
|
/**
|
|
@@ -26738,7 +26738,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26738
26738
|
* Price: $0.0015 per request.
|
|
26739
26739
|
*
|
|
26740
26740
|
* @example
|
|
26741
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
26741
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-05", checkOut: "2026-12-07", country: "us", query: "hotels near times square new york" });
|
|
26742
26742
|
*/
|
|
26743
26743
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26744
26744
|
}
|
|
@@ -32260,7 +32260,7 @@ declare class InstagramNamespace {
|
|
|
32260
32260
|
*
|
|
32261
32261
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
32262
32262
|
*
|
|
32263
|
-
* Price: $0.
|
|
32263
|
+
* Price: $0.00175 per request.
|
|
32264
32264
|
*
|
|
32265
32265
|
* @example
|
|
32266
32266
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -68866,7 +68866,7 @@ declare class TiktokShopNamespace {
|
|
|
68866
68866
|
*
|
|
68867
68867
|
* Search TikTok Shop products by keyword across 15 countries: price, sales, rating, and seller info per product, in one normalized response.
|
|
68868
68868
|
*
|
|
68869
|
-
* Price: $0.
|
|
68869
|
+
* Price: $0.0012 per request.
|
|
68870
68870
|
*
|
|
68871
68871
|
* @example
|
|
68872
68872
|
* const res = await client.tiktokShop.search({ query: "phone case", limit: 3 });
|
|
@@ -72366,7 +72366,7 @@ declare class VrboNamespace {
|
|
|
72366
72366
|
* Price: $0.001 per request.
|
|
72367
72367
|
*
|
|
72368
72368
|
* @example
|
|
72369
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
72369
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-05", checkOut: "2026-12-08", location: "Lake Tahoe", adults: 2, limit: 5 });
|
|
72370
72370
|
*/
|
|
72371
72371
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
72372
72372
|
}
|
package/dist/index.js
CHANGED
|
@@ -1587,7 +1587,7 @@ var BingNamespace = class {
|
|
|
1587
1587
|
*
|
|
1588
1588
|
* Ask Microsoft Copilot (the AI answer in Bing) a question and get its web-grounded answer with the sources it cites as clean JSON - for tracking how Copilot answers and which sites it cites.
|
|
1589
1589
|
*
|
|
1590
|
-
* Price: $0.
|
|
1590
|
+
* Price: $0.00085 per request.
|
|
1591
1591
|
*
|
|
1592
1592
|
* @example
|
|
1593
1593
|
* const res = await client.bing.copilot({ prompt: "what is the capital of australia and why" });
|
|
@@ -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-12-
|
|
1674
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-05", checkOut: "2026-12-07", limit: 3 });
|
|
1675
1675
|
*/
|
|
1676
1676
|
search(input, options) {
|
|
1677
1677
|
return this._core.run("booking.search", input, options);
|
|
@@ -3491,7 +3491,7 @@ var GoogleNamespace = class {
|
|
|
3491
3491
|
*
|
|
3492
3492
|
* 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.
|
|
3493
3493
|
*
|
|
3494
|
-
* Price: $0.
|
|
3494
|
+
* Price: $0.0015 per request.
|
|
3495
3495
|
*
|
|
3496
3496
|
* @example
|
|
3497
3497
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3826,7 +3826,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3826
3826
|
* Price: $0.001 per request.
|
|
3827
3827
|
*
|
|
3828
3828
|
* @example
|
|
3829
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
3829
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-05", destination: "LHR", origin: "JFK" });
|
|
3830
3830
|
*/
|
|
3831
3831
|
search(input, options) {
|
|
3832
3832
|
return this._core.run("google_flights.search", input, options);
|
|
@@ -3847,7 +3847,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3847
3847
|
* Price: $0.0015 per request.
|
|
3848
3848
|
*
|
|
3849
3849
|
* @example
|
|
3850
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
3850
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-05", checkOut: "2026-12-07", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3851
3851
|
*/
|
|
3852
3852
|
details(input, options) {
|
|
3853
3853
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3860,7 +3860,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3860
3860
|
* Price: $0.0015 per request.
|
|
3861
3861
|
*
|
|
3862
3862
|
* @example
|
|
3863
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
3863
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-05", checkOut: "2026-12-07", country: "us", query: "hotels near times square new york" });
|
|
3864
3864
|
*/
|
|
3865
3865
|
search(input, options) {
|
|
3866
3866
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4531,7 +4531,7 @@ var InstagramNamespace = class {
|
|
|
4531
4531
|
*
|
|
4532
4532
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
4533
4533
|
*
|
|
4534
|
-
* Price: $0.
|
|
4534
|
+
* Price: $0.00175 per request.
|
|
4535
4535
|
*
|
|
4536
4536
|
* @example
|
|
4537
4537
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -8224,7 +8224,7 @@ var TiktokShopNamespace = class {
|
|
|
8224
8224
|
*
|
|
8225
8225
|
* Search TikTok Shop products by keyword across 15 countries: price, sales, rating, and seller info per product, in one normalized response.
|
|
8226
8226
|
*
|
|
8227
|
-
* Price: $0.
|
|
8227
|
+
* Price: $0.0012 per request.
|
|
8228
8228
|
*
|
|
8229
8229
|
* @example
|
|
8230
8230
|
* const res = await client.tiktokShop.search({ query: "phone case", limit: 3 });
|
|
@@ -8839,7 +8839,7 @@ var VrboNamespace = class {
|
|
|
8839
8839
|
* Price: $0.001 per request.
|
|
8840
8840
|
*
|
|
8841
8841
|
* @example
|
|
8842
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
8842
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-05", checkOut: "2026-12-08", location: "Lake Tahoe", adults: 2, limit: 5 });
|
|
8843
8843
|
*/
|
|
8844
8844
|
search(input, options) {
|
|
8845
8845
|
return this._core.run("vrbo.search", input, options);
|