@getanyapi/sdk 0.152.10 → 0.152.12
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 +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3075,7 +3075,7 @@ declare class AmazonNamespace {
|
|
|
3075
3075
|
*
|
|
3076
3076
|
* Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
|
|
3077
3077
|
*
|
|
3078
|
-
* Price: $0.
|
|
3078
|
+
* Price: $0.0008 per request.
|
|
3079
3079
|
*
|
|
3080
3080
|
* @example
|
|
3081
3081
|
* const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
|
|
@@ -19909,7 +19909,7 @@ declare class FacebookNamespace {
|
|
|
19909
19909
|
*
|
|
19910
19910
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
19911
19911
|
*
|
|
19912
|
-
* Price: $0.
|
|
19912
|
+
* Price: $0.0012 per request.
|
|
19913
19913
|
*
|
|
19914
19914
|
* @example
|
|
19915
19915
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -24024,7 +24024,7 @@ declare class GoogleNamespace {
|
|
|
24024
24024
|
*
|
|
24025
24025
|
* 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.
|
|
24026
24026
|
*
|
|
24027
|
-
* Price: $0.
|
|
24027
|
+
* Price: $0.0018 per request.
|
|
24028
24028
|
*
|
|
24029
24029
|
* @example
|
|
24030
24030
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -24163,7 +24163,7 @@ declare class GoogleNamespace {
|
|
|
24163
24163
|
*
|
|
24164
24164
|
* 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.
|
|
24165
24165
|
*
|
|
24166
|
-
* Price: $0.
|
|
24166
|
+
* Price: $0.0005 per request.
|
|
24167
24167
|
*
|
|
24168
24168
|
* @example
|
|
24169
24169
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -24181,7 +24181,7 @@ declare class GoogleNamespace {
|
|
|
24181
24181
|
*
|
|
24182
24182
|
* 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.
|
|
24183
24183
|
*
|
|
24184
|
-
* Price: $0.
|
|
24184
|
+
* Price: $0.0018 per request.
|
|
24185
24185
|
*
|
|
24186
24186
|
* @example
|
|
24187
24187
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -25476,7 +25476,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25476
25476
|
*
|
|
25477
25477
|
* Search Google Hotels by destination and dates and get hotels with their Google property ID, nightly price, rating, review count, coordinates, star class and photos as normalized JSON.
|
|
25478
25478
|
*
|
|
25479
|
-
* Price: $0.
|
|
25479
|
+
* Price: $0.0048 per request.
|
|
25480
25480
|
*
|
|
25481
25481
|
* @example
|
|
25482
25482
|
* const res = await client.googleHotels.search({ checkIn: "2026-12-15", checkOut: "2026-12-17", country: "us", query: "hotels near times square new york" });
|
|
@@ -31948,7 +31948,7 @@ declare class InstagramNamespace {
|
|
|
31948
31948
|
*
|
|
31949
31949
|
* List the related profiles Instagram's website shows for a public profile, with each account's handle, display name, verified flag and avatar. This is Instagram's shorter web list: it often holds only a few accounts and can be empty even for a large profile. When it comes back empty or cannot be read, the accounts Instagram's app suggests for the profile may be returned instead. For the full list of accounts Instagram suggests as similar, use instagram.suggested_profiles.
|
|
31950
31950
|
*
|
|
31951
|
-
* Price: $0.
|
|
31951
|
+
* Price: $0.00175 per request.
|
|
31952
31952
|
*
|
|
31953
31953
|
* @example
|
|
31954
31954
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
package/dist/index.d.ts
CHANGED
|
@@ -3075,7 +3075,7 @@ declare class AmazonNamespace {
|
|
|
3075
3075
|
*
|
|
3076
3076
|
* Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
|
|
3077
3077
|
*
|
|
3078
|
-
* Price: $0.
|
|
3078
|
+
* Price: $0.0008 per request.
|
|
3079
3079
|
*
|
|
3080
3080
|
* @example
|
|
3081
3081
|
* const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
|
|
@@ -19909,7 +19909,7 @@ declare class FacebookNamespace {
|
|
|
19909
19909
|
*
|
|
19910
19910
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
19911
19911
|
*
|
|
19912
|
-
* Price: $0.
|
|
19912
|
+
* Price: $0.0012 per request.
|
|
19913
19913
|
*
|
|
19914
19914
|
* @example
|
|
19915
19915
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -24024,7 +24024,7 @@ declare class GoogleNamespace {
|
|
|
24024
24024
|
*
|
|
24025
24025
|
* 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.
|
|
24026
24026
|
*
|
|
24027
|
-
* Price: $0.
|
|
24027
|
+
* Price: $0.0018 per request.
|
|
24028
24028
|
*
|
|
24029
24029
|
* @example
|
|
24030
24030
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -24163,7 +24163,7 @@ declare class GoogleNamespace {
|
|
|
24163
24163
|
*
|
|
24164
24164
|
* 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.
|
|
24165
24165
|
*
|
|
24166
|
-
* Price: $0.
|
|
24166
|
+
* Price: $0.0005 per request.
|
|
24167
24167
|
*
|
|
24168
24168
|
* @example
|
|
24169
24169
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -24181,7 +24181,7 @@ declare class GoogleNamespace {
|
|
|
24181
24181
|
*
|
|
24182
24182
|
* 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.
|
|
24183
24183
|
*
|
|
24184
|
-
* Price: $0.
|
|
24184
|
+
* Price: $0.0018 per request.
|
|
24185
24185
|
*
|
|
24186
24186
|
* @example
|
|
24187
24187
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -25476,7 +25476,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25476
25476
|
*
|
|
25477
25477
|
* Search Google Hotels by destination and dates and get hotels with their Google property ID, nightly price, rating, review count, coordinates, star class and photos as normalized JSON.
|
|
25478
25478
|
*
|
|
25479
|
-
* Price: $0.
|
|
25479
|
+
* Price: $0.0048 per request.
|
|
25480
25480
|
*
|
|
25481
25481
|
* @example
|
|
25482
25482
|
* const res = await client.googleHotels.search({ checkIn: "2026-12-15", checkOut: "2026-12-17", country: "us", query: "hotels near times square new york" });
|
|
@@ -31948,7 +31948,7 @@ declare class InstagramNamespace {
|
|
|
31948
31948
|
*
|
|
31949
31949
|
* List the related profiles Instagram's website shows for a public profile, with each account's handle, display name, verified flag and avatar. This is Instagram's shorter web list: it often holds only a few accounts and can be empty even for a large profile. When it comes back empty or cannot be read, the accounts Instagram's app suggests for the profile may be returned instead. For the full list of accounts Instagram suggests as similar, use instagram.suggested_profiles.
|
|
31950
31950
|
*
|
|
31951
|
-
* Price: $0.
|
|
31951
|
+
* Price: $0.00175 per request.
|
|
31952
31952
|
*
|
|
31953
31953
|
* @example
|
|
31954
31954
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
package/dist/index.js
CHANGED
|
@@ -1265,7 +1265,7 @@ var AmazonNamespace = class {
|
|
|
1265
1265
|
*
|
|
1266
1266
|
* Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
|
|
1267
1267
|
*
|
|
1268
|
-
* Price: $0.
|
|
1268
|
+
* Price: $0.0008 per request.
|
|
1269
1269
|
*
|
|
1270
1270
|
* @example
|
|
1271
1271
|
* const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
|
|
@@ -2731,7 +2731,7 @@ var FacebookNamespace = class {
|
|
|
2731
2731
|
*
|
|
2732
2732
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
2733
2733
|
*
|
|
2734
|
-
* Price: $0.
|
|
2734
|
+
* Price: $0.0012 per request.
|
|
2735
2735
|
*
|
|
2736
2736
|
* @example
|
|
2737
2737
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -3485,7 +3485,7 @@ var GoogleNamespace = class {
|
|
|
3485
3485
|
*
|
|
3486
3486
|
* 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.
|
|
3487
3487
|
*
|
|
3488
|
-
* Price: $0.
|
|
3488
|
+
* Price: $0.0018 per request.
|
|
3489
3489
|
*
|
|
3490
3490
|
* @example
|
|
3491
3491
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3657,7 +3657,7 @@ var GoogleNamespace = class {
|
|
|
3657
3657
|
*
|
|
3658
3658
|
* 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.
|
|
3659
3659
|
*
|
|
3660
|
-
* Price: $0.
|
|
3660
|
+
* Price: $0.0005 per request.
|
|
3661
3661
|
*
|
|
3662
3662
|
* @example
|
|
3663
3663
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -3686,7 +3686,7 @@ var GoogleNamespace = class {
|
|
|
3686
3686
|
*
|
|
3687
3687
|
* 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.
|
|
3688
3688
|
*
|
|
3689
|
-
* Price: $0.
|
|
3689
|
+
* Price: $0.0018 per request.
|
|
3690
3690
|
*
|
|
3691
3691
|
* @example
|
|
3692
3692
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -3877,7 +3877,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3877
3877
|
*
|
|
3878
3878
|
* Search Google Hotels by destination and dates and get hotels with their Google property ID, nightly price, rating, review count, coordinates, star class and photos as normalized JSON.
|
|
3879
3879
|
*
|
|
3880
|
-
* Price: $0.
|
|
3880
|
+
* Price: $0.0048 per request.
|
|
3881
3881
|
*
|
|
3882
3882
|
* @example
|
|
3883
3883
|
* const res = await client.googleHotels.search({ checkIn: "2026-12-15", checkOut: "2026-12-17", country: "us", query: "hotels near times square new york" });
|
|
@@ -4619,7 +4619,7 @@ var InstagramNamespace = class {
|
|
|
4619
4619
|
*
|
|
4620
4620
|
* List the related profiles Instagram's website shows for a public profile, with each account's handle, display name, verified flag and avatar. This is Instagram's shorter web list: it often holds only a few accounts and can be empty even for a large profile. When it comes back empty or cannot be read, the accounts Instagram's app suggests for the profile may be returned instead. For the full list of accounts Instagram suggests as similar, use instagram.suggested_profiles.
|
|
4621
4621
|
*
|
|
4622
|
-
* Price: $0.
|
|
4622
|
+
* Price: $0.00175 per request.
|
|
4623
4623
|
*
|
|
4624
4624
|
* @example
|
|
4625
4625
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|