@getanyapi/sdk 0.186.7 → 0.186.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 +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
|
@@ -24930,7 +24930,7 @@ declare class GoogleNamespace {
|
|
|
24930
24930
|
*
|
|
24931
24931
|
* 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.
|
|
24932
24932
|
*
|
|
24933
|
-
* Price: $0.
|
|
24933
|
+
* Price: $0.024 per request.
|
|
24934
24934
|
*
|
|
24935
24935
|
* @example
|
|
24936
24936
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -25359,7 +25359,7 @@ declare class GoogleAdsNamespace {
|
|
|
25359
25359
|
*
|
|
25360
25360
|
* List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.
|
|
25361
25361
|
*
|
|
25362
|
-
* Price: $0.
|
|
25362
|
+
* Price: $0.0008 per request.
|
|
25363
25363
|
*
|
|
25364
25364
|
* @example
|
|
25365
25365
|
* const res = await client.googleAds.companyAds({ domain: "lululemon.com" });
|
|
@@ -32694,7 +32694,7 @@ declare class InstagramNamespace {
|
|
|
32694
32694
|
*
|
|
32695
32695
|
* 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.
|
|
32696
32696
|
*
|
|
32697
|
-
* Price: $0.
|
|
32697
|
+
* Price: $0.00175 per request.
|
|
32698
32698
|
*
|
|
32699
32699
|
* @example
|
|
32700
32700
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -32749,7 +32749,7 @@ declare class InstagramNamespace {
|
|
|
32749
32749
|
*
|
|
32750
32750
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
32751
32751
|
*
|
|
32752
|
-
* Price: $0.
|
|
32752
|
+
* Price: $0.00188 per request.
|
|
32753
32753
|
*
|
|
32754
32754
|
* @example
|
|
32755
32755
|
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
@@ -69629,7 +69629,7 @@ declare class TiktokNamespace {
|
|
|
69629
69629
|
*
|
|
69630
69630
|
* List a TikTok creator's recent videos (views, likes, comments) by handle with cursor pagination.
|
|
69631
69631
|
*
|
|
69632
|
-
* Price: $0.
|
|
69632
|
+
* Price: $0.0004 per request.
|
|
69633
69633
|
*
|
|
69634
69634
|
* @example
|
|
69635
69635
|
* const res = await client.tiktok.profileVideos({ handle: "zachking" });
|
|
@@ -69665,7 +69665,7 @@ declare class TiktokNamespace {
|
|
|
69665
69665
|
*
|
|
69666
69666
|
* Search TikTok by keyword and get matching videos (caption, views, likes, comments, shares) as normalized JSON.
|
|
69667
69667
|
*
|
|
69668
|
-
* Price: $0.
|
|
69668
|
+
* Price: $0.0004 per request.
|
|
69669
69669
|
*
|
|
69670
69670
|
* @example
|
|
69671
69671
|
* const res = await client.tiktok.searchKeyword({ query: "cooking", datePosted: 0, sortBy: "relevance" });
|
|
@@ -70765,7 +70765,7 @@ declare class TiktokShopNamespace {
|
|
|
70765
70765
|
*
|
|
70766
70766
|
* Fetch TikTok Shop product details (title, price, sales, seller, and ratings) from a product URL.
|
|
70767
70767
|
*
|
|
70768
|
-
* Price: $0.
|
|
70768
|
+
* Price: $0.00095 per request.
|
|
70769
70769
|
*
|
|
70770
70770
|
* @example
|
|
70771
70771
|
* const res = await client.tiktokShop.product({ url: "https://www.tiktok.com/shop/pdp/goli-ashwagandha-gummies-with-vitamin-d-ksm-66-vegan-non-gmo/1729587769570529799" });
|
|
@@ -73548,7 +73548,7 @@ declare class TwitterNamespace {
|
|
|
73548
73548
|
*
|
|
73549
73549
|
* Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Every call returns one full native page of about 20 tweets; follow nextCursor for more.
|
|
73550
73550
|
*
|
|
73551
|
-
* Price: $0.
|
|
73551
|
+
* Price: $0.00048 per request.
|
|
73552
73552
|
*
|
|
73553
73553
|
* @example
|
|
73554
73554
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -78228,7 +78228,7 @@ declare class YoutubeNamespace {
|
|
|
78228
78228
|
*
|
|
78229
78229
|
* Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
|
|
78230
78230
|
*
|
|
78231
|
-
* Price: $0.
|
|
78231
|
+
* Price: $0.0004 per request.
|
|
78232
78232
|
*
|
|
78233
78233
|
* @example
|
|
78234
78234
|
* const res = await client.youtube.channel({ handle: "@mkbhd" });
|
package/dist/index.d.ts
CHANGED
|
@@ -24930,7 +24930,7 @@ declare class GoogleNamespace {
|
|
|
24930
24930
|
*
|
|
24931
24931
|
* 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.
|
|
24932
24932
|
*
|
|
24933
|
-
* Price: $0.
|
|
24933
|
+
* Price: $0.024 per request.
|
|
24934
24934
|
*
|
|
24935
24935
|
* @example
|
|
24936
24936
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -25359,7 +25359,7 @@ declare class GoogleAdsNamespace {
|
|
|
25359
25359
|
*
|
|
25360
25360
|
* List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.
|
|
25361
25361
|
*
|
|
25362
|
-
* Price: $0.
|
|
25362
|
+
* Price: $0.0008 per request.
|
|
25363
25363
|
*
|
|
25364
25364
|
* @example
|
|
25365
25365
|
* const res = await client.googleAds.companyAds({ domain: "lululemon.com" });
|
|
@@ -32694,7 +32694,7 @@ declare class InstagramNamespace {
|
|
|
32694
32694
|
*
|
|
32695
32695
|
* 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.
|
|
32696
32696
|
*
|
|
32697
|
-
* Price: $0.
|
|
32697
|
+
* Price: $0.00175 per request.
|
|
32698
32698
|
*
|
|
32699
32699
|
* @example
|
|
32700
32700
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -32749,7 +32749,7 @@ declare class InstagramNamespace {
|
|
|
32749
32749
|
*
|
|
32750
32750
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
32751
32751
|
*
|
|
32752
|
-
* Price: $0.
|
|
32752
|
+
* Price: $0.00188 per request.
|
|
32753
32753
|
*
|
|
32754
32754
|
* @example
|
|
32755
32755
|
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
@@ -69629,7 +69629,7 @@ declare class TiktokNamespace {
|
|
|
69629
69629
|
*
|
|
69630
69630
|
* List a TikTok creator's recent videos (views, likes, comments) by handle with cursor pagination.
|
|
69631
69631
|
*
|
|
69632
|
-
* Price: $0.
|
|
69632
|
+
* Price: $0.0004 per request.
|
|
69633
69633
|
*
|
|
69634
69634
|
* @example
|
|
69635
69635
|
* const res = await client.tiktok.profileVideos({ handle: "zachking" });
|
|
@@ -69665,7 +69665,7 @@ declare class TiktokNamespace {
|
|
|
69665
69665
|
*
|
|
69666
69666
|
* Search TikTok by keyword and get matching videos (caption, views, likes, comments, shares) as normalized JSON.
|
|
69667
69667
|
*
|
|
69668
|
-
* Price: $0.
|
|
69668
|
+
* Price: $0.0004 per request.
|
|
69669
69669
|
*
|
|
69670
69670
|
* @example
|
|
69671
69671
|
* const res = await client.tiktok.searchKeyword({ query: "cooking", datePosted: 0, sortBy: "relevance" });
|
|
@@ -70765,7 +70765,7 @@ declare class TiktokShopNamespace {
|
|
|
70765
70765
|
*
|
|
70766
70766
|
* Fetch TikTok Shop product details (title, price, sales, seller, and ratings) from a product URL.
|
|
70767
70767
|
*
|
|
70768
|
-
* Price: $0.
|
|
70768
|
+
* Price: $0.00095 per request.
|
|
70769
70769
|
*
|
|
70770
70770
|
* @example
|
|
70771
70771
|
* const res = await client.tiktokShop.product({ url: "https://www.tiktok.com/shop/pdp/goli-ashwagandha-gummies-with-vitamin-d-ksm-66-vegan-non-gmo/1729587769570529799" });
|
|
@@ -73548,7 +73548,7 @@ declare class TwitterNamespace {
|
|
|
73548
73548
|
*
|
|
73549
73549
|
* Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Every call returns one full native page of about 20 tweets; follow nextCursor for more.
|
|
73550
73550
|
*
|
|
73551
|
-
* Price: $0.
|
|
73551
|
+
* Price: $0.00048 per request.
|
|
73552
73552
|
*
|
|
73553
73553
|
* @example
|
|
73554
73554
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -78228,7 +78228,7 @@ declare class YoutubeNamespace {
|
|
|
78228
78228
|
*
|
|
78229
78229
|
* Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
|
|
78230
78230
|
*
|
|
78231
|
-
* Price: $0.
|
|
78231
|
+
* Price: $0.0004 per request.
|
|
78232
78232
|
*
|
|
78233
78233
|
* @example
|
|
78234
78234
|
* const res = await client.youtube.channel({ handle: "@mkbhd" });
|
package/dist/index.js
CHANGED
|
@@ -3758,7 +3758,7 @@ var GoogleNamespace = class {
|
|
|
3758
3758
|
*
|
|
3759
3759
|
* 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.
|
|
3760
3760
|
*
|
|
3761
|
-
* Price: $0.
|
|
3761
|
+
* Price: $0.024 per request.
|
|
3762
3762
|
*
|
|
3763
3763
|
* @example
|
|
3764
3764
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -3831,7 +3831,7 @@ var GoogleAdsNamespace = class {
|
|
|
3831
3831
|
*
|
|
3832
3832
|
* List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.
|
|
3833
3833
|
*
|
|
3834
|
-
* Price: $0.
|
|
3834
|
+
* Price: $0.0008 per request.
|
|
3835
3835
|
*
|
|
3836
3836
|
* @example
|
|
3837
3837
|
* const res = await client.googleAds.companyAds({ domain: "lululemon.com" });
|
|
@@ -4691,7 +4691,7 @@ var InstagramNamespace = class {
|
|
|
4691
4691
|
*
|
|
4692
4692
|
* 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.
|
|
4693
4693
|
*
|
|
4694
|
-
* Price: $0.
|
|
4694
|
+
* Price: $0.00175 per request.
|
|
4695
4695
|
*
|
|
4696
4696
|
* @example
|
|
4697
4697
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -4756,7 +4756,7 @@ var InstagramNamespace = class {
|
|
|
4756
4756
|
*
|
|
4757
4757
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
4758
4758
|
*
|
|
4759
|
-
* Price: $0.
|
|
4759
|
+
* Price: $0.00188 per request.
|
|
4760
4760
|
*
|
|
4761
4761
|
* @example
|
|
4762
4762
|
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
@@ -8165,7 +8165,7 @@ var TiktokNamespace = class {
|
|
|
8165
8165
|
*
|
|
8166
8166
|
* List a TikTok creator's recent videos (views, likes, comments) by handle with cursor pagination.
|
|
8167
8167
|
*
|
|
8168
|
-
* Price: $0.
|
|
8168
|
+
* Price: $0.0004 per request.
|
|
8169
8169
|
*
|
|
8170
8170
|
* @example
|
|
8171
8171
|
* const res = await client.tiktok.profileVideos({ handle: "zachking" });
|
|
@@ -8223,7 +8223,7 @@ var TiktokNamespace = class {
|
|
|
8223
8223
|
*
|
|
8224
8224
|
* Search TikTok by keyword and get matching videos (caption, views, likes, comments, shares) as normalized JSON.
|
|
8225
8225
|
*
|
|
8226
|
-
* Price: $0.
|
|
8226
|
+
* Price: $0.0004 per request.
|
|
8227
8227
|
*
|
|
8228
8228
|
* @example
|
|
8229
8229
|
* const res = await client.tiktok.searchKeyword({ query: "cooking", datePosted: 0, sortBy: "relevance" });
|
|
@@ -8561,7 +8561,7 @@ var TiktokShopNamespace = class {
|
|
|
8561
8561
|
*
|
|
8562
8562
|
* Fetch TikTok Shop product details (title, price, sales, seller, and ratings) from a product URL.
|
|
8563
8563
|
*
|
|
8564
|
-
* Price: $0.
|
|
8564
|
+
* Price: $0.00095 per request.
|
|
8565
8565
|
*
|
|
8566
8566
|
* @example
|
|
8567
8567
|
* const res = await client.tiktokShop.product({ url: "https://www.tiktok.com/shop/pdp/goli-ashwagandha-gummies-with-vitamin-d-ksm-66-vegan-non-gmo/1729587769570529799" });
|
|
@@ -8952,7 +8952,7 @@ var TwitterNamespace = class {
|
|
|
8952
8952
|
*
|
|
8953
8953
|
* Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Every call returns one full native page of about 20 tweets; follow nextCursor for more.
|
|
8954
8954
|
*
|
|
8955
|
-
* Price: $0.
|
|
8955
|
+
* Price: $0.00048 per request.
|
|
8956
8956
|
*
|
|
8957
8957
|
* @example
|
|
8958
8958
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -9500,7 +9500,7 @@ var YoutubeNamespace = class {
|
|
|
9500
9500
|
*
|
|
9501
9501
|
* Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
|
|
9502
9502
|
*
|
|
9503
|
-
* Price: $0.
|
|
9503
|
+
* Price: $0.0004 per request.
|
|
9504
9504
|
*
|
|
9505
9505
|
* @example
|
|
9506
9506
|
* const res = await client.youtube.channel({ handle: "@mkbhd" });
|