@getanyapi/sdk 0.126.6 → 0.126.9
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 +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -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-
|
|
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
|
}
|
|
@@ -14819,7 +14819,7 @@ declare class EmailNamespace {
|
|
|
14819
14819
|
*
|
|
14820
14820
|
* Find a person's work email address from their name and company domain.
|
|
14821
14821
|
*
|
|
14822
|
-
* Price: $0.
|
|
14822
|
+
* Price: $0.0308 per request.
|
|
14823
14823
|
*
|
|
14824
14824
|
* @example
|
|
14825
14825
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -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.
|
|
23877
|
+
* Price: $0.0048 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.
|
|
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 });
|
|
@@ -24031,7 +24031,7 @@ declare class GoogleNamespace {
|
|
|
24031
24031
|
*
|
|
24032
24032
|
* 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.
|
|
24033
24033
|
*
|
|
24034
|
-
* Price: $0.
|
|
24034
|
+
* Price: $0.002 per request.
|
|
24035
24035
|
*
|
|
24036
24036
|
* @example
|
|
24037
24037
|
* const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
|
|
@@ -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-
|
|
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-
|
|
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
|
}
|
|
@@ -30466,7 +30466,7 @@ declare class InstagramNamespace {
|
|
|
30466
30466
|
*
|
|
30467
30467
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
30468
30468
|
*
|
|
30469
|
-
* Price: $0.
|
|
30469
|
+
* Price: $0.0024 per request.
|
|
30470
30470
|
*
|
|
30471
30471
|
* @example
|
|
30472
30472
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -71606,7 +71606,7 @@ declare class YoutubeNamespace {
|
|
|
71606
71606
|
*
|
|
71607
71607
|
* 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.
|
|
71608
71608
|
*
|
|
71609
|
-
* Price: $0.
|
|
71609
|
+
* Price: $0.132 per request plus $0 per result (maximum $0.132).
|
|
71610
71610
|
*
|
|
71611
71611
|
* @example
|
|
71612
71612
|
* const res = await client.youtube.channelContact({ handle: "@mkbhd" });
|
|
@@ -71849,7 +71849,7 @@ declare class YoutubeNamespace {
|
|
|
71849
71849
|
*
|
|
71850
71850
|
* Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
|
|
71851
71851
|
*
|
|
71852
|
-
* Price: $0.
|
|
71852
|
+
* Price: $0.003 per request.
|
|
71853
71853
|
*
|
|
71854
71854
|
* @example
|
|
71855
71855
|
* const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
package/dist/index.d.ts
CHANGED
|
@@ -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-
|
|
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
|
}
|
|
@@ -14819,7 +14819,7 @@ declare class EmailNamespace {
|
|
|
14819
14819
|
*
|
|
14820
14820
|
* Find a person's work email address from their name and company domain.
|
|
14821
14821
|
*
|
|
14822
|
-
* Price: $0.
|
|
14822
|
+
* Price: $0.0308 per request.
|
|
14823
14823
|
*
|
|
14824
14824
|
* @example
|
|
14825
14825
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -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.
|
|
23877
|
+
* Price: $0.0048 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.
|
|
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 });
|
|
@@ -24031,7 +24031,7 @@ declare class GoogleNamespace {
|
|
|
24031
24031
|
*
|
|
24032
24032
|
* 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.
|
|
24033
24033
|
*
|
|
24034
|
-
* Price: $0.
|
|
24034
|
+
* Price: $0.002 per request.
|
|
24035
24035
|
*
|
|
24036
24036
|
* @example
|
|
24037
24037
|
* const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
|
|
@@ -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-
|
|
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-
|
|
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
|
}
|
|
@@ -30466,7 +30466,7 @@ declare class InstagramNamespace {
|
|
|
30466
30466
|
*
|
|
30467
30467
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
30468
30468
|
*
|
|
30469
|
-
* Price: $0.
|
|
30469
|
+
* Price: $0.0024 per request.
|
|
30470
30470
|
*
|
|
30471
30471
|
* @example
|
|
30472
30472
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -71606,7 +71606,7 @@ declare class YoutubeNamespace {
|
|
|
71606
71606
|
*
|
|
71607
71607
|
* 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.
|
|
71608
71608
|
*
|
|
71609
|
-
* Price: $0.
|
|
71609
|
+
* Price: $0.132 per request plus $0 per result (maximum $0.132).
|
|
71610
71610
|
*
|
|
71611
71611
|
* @example
|
|
71612
71612
|
* const res = await client.youtube.channelContact({ handle: "@mkbhd" });
|
|
@@ -71849,7 +71849,7 @@ declare class YoutubeNamespace {
|
|
|
71849
71849
|
*
|
|
71850
71850
|
* Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
|
|
71851
71851
|
*
|
|
71852
|
-
* Price: $0.
|
|
71852
|
+
* Price: $0.003 per request.
|
|
71853
71853
|
*
|
|
71854
71854
|
* @example
|
|
71855
71855
|
* const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
package/dist/index.js
CHANGED
|
@@ -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-
|
|
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);
|
|
@@ -2158,7 +2158,7 @@ var EmailNamespace = class {
|
|
|
2158
2158
|
*
|
|
2159
2159
|
* Find a person's work email address from their name and company domain.
|
|
2160
2160
|
*
|
|
2161
|
-
* Price: $0.
|
|
2161
|
+
* Price: $0.0308 per request.
|
|
2162
2162
|
*
|
|
2163
2163
|
* @example
|
|
2164
2164
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -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.
|
|
3335
|
+
* Price: $0.0048 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.
|
|
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 });
|
|
@@ -3533,7 +3533,7 @@ var GoogleNamespace = class {
|
|
|
3533
3533
|
*
|
|
3534
3534
|
* 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.
|
|
3535
3535
|
*
|
|
3536
|
-
* Price: $0.
|
|
3536
|
+
* Price: $0.002 per request.
|
|
3537
3537
|
*
|
|
3538
3538
|
* @example
|
|
3539
3539
|
* const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
|
|
@@ -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-
|
|
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-
|
|
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);
|
|
@@ -4351,7 +4351,7 @@ var InstagramNamespace = class {
|
|
|
4351
4351
|
*
|
|
4352
4352
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
4353
4353
|
*
|
|
4354
|
-
* Price: $0.
|
|
4354
|
+
* Price: $0.0024 per request.
|
|
4355
4355
|
*
|
|
4356
4356
|
* @example
|
|
4357
4357
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -8782,7 +8782,7 @@ var YoutubeNamespace = class {
|
|
|
8782
8782
|
*
|
|
8783
8783
|
* 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.
|
|
8784
8784
|
*
|
|
8785
|
-
* Price: $0.
|
|
8785
|
+
* Price: $0.132 per request plus $0 per result (maximum $0.132).
|
|
8786
8786
|
*
|
|
8787
8787
|
* @example
|
|
8788
8788
|
* const res = await client.youtube.channelContact({ handle: "@mkbhd" });
|
|
@@ -9131,7 +9131,7 @@ var YoutubeNamespace = class {
|
|
|
9131
9131
|
*
|
|
9132
9132
|
* Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
|
|
9133
9133
|
*
|
|
9134
|
-
* Price: $0.
|
|
9134
|
+
* Price: $0.003 per request.
|
|
9135
9135
|
*
|
|
9136
9136
|
* @example
|
|
9137
9137
|
* const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|