@getanyapi/sdk 0.148.3 → 0.148.5
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
|
@@ -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.
|
|
3098
|
+
* Price: $0.0013 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 });
|
|
@@ -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
|
}
|
|
@@ -67650,7 +67650,7 @@ declare class TiktokNamespace {
|
|
|
67650
67650
|
*
|
|
67651
67651
|
* 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.
|
|
67652
67652
|
*
|
|
67653
|
-
* Price: $0.
|
|
67653
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
67654
67654
|
*
|
|
67655
67655
|
* @example
|
|
67656
67656
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
|
@@ -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
|
@@ -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.
|
|
3098
|
+
* Price: $0.0013 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 });
|
|
@@ -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
|
}
|
|
@@ -67650,7 +67650,7 @@ declare class TiktokNamespace {
|
|
|
67650
67650
|
*
|
|
67651
67651
|
* 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.
|
|
67652
67652
|
*
|
|
67653
|
-
* Price: $0.
|
|
67653
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
67654
67654
|
*
|
|
67655
67655
|
* @example
|
|
67656
67656
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
|
@@ -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
|
@@ -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.
|
|
1287
|
+
* Price: $0.0013 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 });
|
|
@@ -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);
|
|
@@ -7718,7 +7718,7 @@ var TiktokNamespace = class {
|
|
|
7718
7718
|
*
|
|
7719
7719
|
* 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.
|
|
7720
7720
|
*
|
|
7721
|
-
* Price: $0.
|
|
7721
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
7722
7722
|
*
|
|
7723
7723
|
* @example
|
|
7724
7724
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
|
@@ -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);
|