@getanyapi/sdk 0.173.7 → 0.173.8
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 +11 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -20239,7 +20239,7 @@ declare class FacebookNamespace {
|
|
|
20239
20239
|
*
|
|
20240
20240
|
* List a Facebook page's recent posts by URL or page id with cursor pagination (text, author, publication time, permalink).
|
|
20241
20241
|
*
|
|
20242
|
-
* Price: $0.
|
|
20242
|
+
* Price: $0.00115 per request.
|
|
20243
20243
|
*
|
|
20244
20244
|
* @example
|
|
20245
20245
|
* const res = await client.facebook.profilePosts({ url: "https://www.facebook.com/nike" });
|
|
@@ -24282,7 +24282,7 @@ declare class GoogleNamespace {
|
|
|
24282
24282
|
*
|
|
24283
24283
|
* Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
|
|
24284
24284
|
*
|
|
24285
|
-
* Price: $0.
|
|
24285
|
+
* Price: $0.00088 per request.
|
|
24286
24286
|
*
|
|
24287
24287
|
* @example
|
|
24288
24288
|
* const res = await client.google.news({ query: "openai", gl: "us", hl: "en" });
|
|
@@ -31919,7 +31919,7 @@ declare class InstagramNamespace {
|
|
|
31919
31919
|
*
|
|
31920
31920
|
* List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).
|
|
31921
31921
|
*
|
|
31922
|
-
* Price: $0.
|
|
31922
|
+
* Price: $0.00072 per request.
|
|
31923
31923
|
*
|
|
31924
31924
|
* @example
|
|
31925
31925
|
* const res = await client.instagram.postComments({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -31948,7 +31948,7 @@ declare class InstagramNamespace {
|
|
|
31948
31948
|
*
|
|
31949
31949
|
* Fetch an Instagram account's public profile (followers, posts, bio, verification) by handle.
|
|
31950
31950
|
*
|
|
31951
|
-
* Price: $0.
|
|
31951
|
+
* Price: $0.00054 per request.
|
|
31952
31952
|
*
|
|
31953
31953
|
* @example
|
|
31954
31954
|
* const res = await client.instagram.profile({ handle: "nasa" });
|
|
@@ -32203,7 +32203,7 @@ declare class InstagramNamespace {
|
|
|
32203
32203
|
*
|
|
32204
32204
|
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
|
|
32205
32205
|
*
|
|
32206
|
-
* Price: $0.
|
|
32206
|
+
* Price: $0.00068 per request.
|
|
32207
32207
|
*
|
|
32208
32208
|
* @example
|
|
32209
32209
|
* const res = await client.instagram.userPosts({ handle: "nasa" });
|
|
@@ -32221,7 +32221,7 @@ declare class InstagramNamespace {
|
|
|
32221
32221
|
*
|
|
32222
32222
|
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
32223
32223
|
*
|
|
32224
|
-
* Price: $0.
|
|
32224
|
+
* Price: $0.00068 per request.
|
|
32225
32225
|
*
|
|
32226
32226
|
* @example
|
|
32227
32227
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -54334,7 +54334,7 @@ declare class RedditNamespace {
|
|
|
54334
54334
|
*
|
|
54335
54335
|
* Fetch a single Reddit post by URL, including its full body text, score, comment count, upvote ratio, and subreddit, as normalized JSON.
|
|
54336
54336
|
*
|
|
54337
|
-
* Price: $0.
|
|
54337
|
+
* Price: $0.00048 per request.
|
|
54338
54338
|
*
|
|
54339
54339
|
* @example
|
|
54340
54340
|
* const res = await client.reddit.post({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
|
|
@@ -54414,7 +54414,7 @@ declare class RedditNamespace {
|
|
|
54414
54414
|
*
|
|
54415
54415
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
54416
54416
|
*
|
|
54417
|
-
* Price: $0.
|
|
54417
|
+
* Price: $0.00036 per request.
|
|
54418
54418
|
*
|
|
54419
54419
|
* @example
|
|
54420
54420
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming" });
|
|
@@ -68848,7 +68848,7 @@ declare class TiktokNamespace {
|
|
|
68848
68848
|
*
|
|
68849
68849
|
* 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.
|
|
68850
68850
|
*
|
|
68851
|
-
* Price: $0.
|
|
68851
|
+
* Price: $0.00109 per request plus $0 per result (maximum $0.00109).
|
|
68852
68852
|
*
|
|
68853
68853
|
* @example
|
|
68854
68854
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
|
@@ -72816,7 +72816,7 @@ declare class TwitterNamespace {
|
|
|
72816
72816
|
*
|
|
72817
72817
|
* Fetch a Twitter/X account's public profile (followers, tweets, bio, verification) by handle.
|
|
72818
72818
|
*
|
|
72819
|
-
* Price: $0.
|
|
72819
|
+
* Price: $0.0002 per request.
|
|
72820
72820
|
*
|
|
72821
72821
|
* @example
|
|
72822
72822
|
* const res = await client.twitter.profile({ handle: "nasa" });
|
|
@@ -72827,7 +72827,7 @@ declare class TwitterNamespace {
|
|
|
72827
72827
|
*
|
|
72828
72828
|
* Fetch the replies to any X (Twitter) post URL as structured records: author, text, and engagement. An empty result is valid and does not assert whether the target post exists.
|
|
72829
72829
|
*
|
|
72830
|
-
* Price: $0.
|
|
72830
|
+
* Price: $0.00044 per request.
|
|
72831
72831
|
*
|
|
72832
72832
|
* @example
|
|
72833
72833
|
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20" });
|
package/dist/index.d.ts
CHANGED
|
@@ -20239,7 +20239,7 @@ declare class FacebookNamespace {
|
|
|
20239
20239
|
*
|
|
20240
20240
|
* List a Facebook page's recent posts by URL or page id with cursor pagination (text, author, publication time, permalink).
|
|
20241
20241
|
*
|
|
20242
|
-
* Price: $0.
|
|
20242
|
+
* Price: $0.00115 per request.
|
|
20243
20243
|
*
|
|
20244
20244
|
* @example
|
|
20245
20245
|
* const res = await client.facebook.profilePosts({ url: "https://www.facebook.com/nike" });
|
|
@@ -24282,7 +24282,7 @@ declare class GoogleNamespace {
|
|
|
24282
24282
|
*
|
|
24283
24283
|
* Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
|
|
24284
24284
|
*
|
|
24285
|
-
* Price: $0.
|
|
24285
|
+
* Price: $0.00088 per request.
|
|
24286
24286
|
*
|
|
24287
24287
|
* @example
|
|
24288
24288
|
* const res = await client.google.news({ query: "openai", gl: "us", hl: "en" });
|
|
@@ -31919,7 +31919,7 @@ declare class InstagramNamespace {
|
|
|
31919
31919
|
*
|
|
31920
31920
|
* List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).
|
|
31921
31921
|
*
|
|
31922
|
-
* Price: $0.
|
|
31922
|
+
* Price: $0.00072 per request.
|
|
31923
31923
|
*
|
|
31924
31924
|
* @example
|
|
31925
31925
|
* const res = await client.instagram.postComments({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -31948,7 +31948,7 @@ declare class InstagramNamespace {
|
|
|
31948
31948
|
*
|
|
31949
31949
|
* Fetch an Instagram account's public profile (followers, posts, bio, verification) by handle.
|
|
31950
31950
|
*
|
|
31951
|
-
* Price: $0.
|
|
31951
|
+
* Price: $0.00054 per request.
|
|
31952
31952
|
*
|
|
31953
31953
|
* @example
|
|
31954
31954
|
* const res = await client.instagram.profile({ handle: "nasa" });
|
|
@@ -32203,7 +32203,7 @@ declare class InstagramNamespace {
|
|
|
32203
32203
|
*
|
|
32204
32204
|
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
|
|
32205
32205
|
*
|
|
32206
|
-
* Price: $0.
|
|
32206
|
+
* Price: $0.00068 per request.
|
|
32207
32207
|
*
|
|
32208
32208
|
* @example
|
|
32209
32209
|
* const res = await client.instagram.userPosts({ handle: "nasa" });
|
|
@@ -32221,7 +32221,7 @@ declare class InstagramNamespace {
|
|
|
32221
32221
|
*
|
|
32222
32222
|
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
32223
32223
|
*
|
|
32224
|
-
* Price: $0.
|
|
32224
|
+
* Price: $0.00068 per request.
|
|
32225
32225
|
*
|
|
32226
32226
|
* @example
|
|
32227
32227
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -54334,7 +54334,7 @@ declare class RedditNamespace {
|
|
|
54334
54334
|
*
|
|
54335
54335
|
* Fetch a single Reddit post by URL, including its full body text, score, comment count, upvote ratio, and subreddit, as normalized JSON.
|
|
54336
54336
|
*
|
|
54337
|
-
* Price: $0.
|
|
54337
|
+
* Price: $0.00048 per request.
|
|
54338
54338
|
*
|
|
54339
54339
|
* @example
|
|
54340
54340
|
* const res = await client.reddit.post({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
|
|
@@ -54414,7 +54414,7 @@ declare class RedditNamespace {
|
|
|
54414
54414
|
*
|
|
54415
54415
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
54416
54416
|
*
|
|
54417
|
-
* Price: $0.
|
|
54417
|
+
* Price: $0.00036 per request.
|
|
54418
54418
|
*
|
|
54419
54419
|
* @example
|
|
54420
54420
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming" });
|
|
@@ -68848,7 +68848,7 @@ declare class TiktokNamespace {
|
|
|
68848
68848
|
*
|
|
68849
68849
|
* 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.
|
|
68850
68850
|
*
|
|
68851
|
-
* Price: $0.
|
|
68851
|
+
* Price: $0.00109 per request plus $0 per result (maximum $0.00109).
|
|
68852
68852
|
*
|
|
68853
68853
|
* @example
|
|
68854
68854
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
|
@@ -72816,7 +72816,7 @@ declare class TwitterNamespace {
|
|
|
72816
72816
|
*
|
|
72817
72817
|
* Fetch a Twitter/X account's public profile (followers, tweets, bio, verification) by handle.
|
|
72818
72818
|
*
|
|
72819
|
-
* Price: $0.
|
|
72819
|
+
* Price: $0.0002 per request.
|
|
72820
72820
|
*
|
|
72821
72821
|
* @example
|
|
72822
72822
|
* const res = await client.twitter.profile({ handle: "nasa" });
|
|
@@ -72827,7 +72827,7 @@ declare class TwitterNamespace {
|
|
|
72827
72827
|
*
|
|
72828
72828
|
* Fetch the replies to any X (Twitter) post URL as structured records: author, text, and engagement. An empty result is valid and does not assert whether the target post exists.
|
|
72829
72829
|
*
|
|
72830
|
-
* Price: $0.
|
|
72830
|
+
* Price: $0.00044 per request.
|
|
72831
72831
|
*
|
|
72832
72832
|
* @example
|
|
72833
72833
|
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20" });
|
package/dist/index.js
CHANGED
|
@@ -2984,7 +2984,7 @@ var FacebookNamespace = class {
|
|
|
2984
2984
|
*
|
|
2985
2985
|
* List a Facebook page's recent posts by URL or page id with cursor pagination (text, author, publication time, permalink).
|
|
2986
2986
|
*
|
|
2987
|
-
* Price: $0.
|
|
2987
|
+
* Price: $0.00115 per request.
|
|
2988
2988
|
*
|
|
2989
2989
|
* @example
|
|
2990
2990
|
* const res = await client.facebook.profilePosts({ url: "https://www.facebook.com/nike" });
|
|
@@ -3618,7 +3618,7 @@ var GoogleNamespace = class {
|
|
|
3618
3618
|
*
|
|
3619
3619
|
* Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
|
|
3620
3620
|
*
|
|
3621
|
-
* Price: $0.
|
|
3621
|
+
* Price: $0.00088 per request.
|
|
3622
3622
|
*
|
|
3623
3623
|
* @example
|
|
3624
3624
|
* const res = await client.google.news({ query: "openai", gl: "us", hl: "en" });
|
|
@@ -4370,7 +4370,7 @@ var InstagramNamespace = class {
|
|
|
4370
4370
|
*
|
|
4371
4371
|
* List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).
|
|
4372
4372
|
*
|
|
4373
|
-
* Price: $0.
|
|
4373
|
+
* Price: $0.00072 per request.
|
|
4374
4374
|
*
|
|
4375
4375
|
* @example
|
|
4376
4376
|
* const res = await client.instagram.postComments({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -4412,7 +4412,7 @@ var InstagramNamespace = class {
|
|
|
4412
4412
|
*
|
|
4413
4413
|
* Fetch an Instagram account's public profile (followers, posts, bio, verification) by handle.
|
|
4414
4414
|
*
|
|
4415
|
-
* Price: $0.
|
|
4415
|
+
* Price: $0.00054 per request.
|
|
4416
4416
|
*
|
|
4417
4417
|
* @example
|
|
4418
4418
|
* const res = await client.instagram.profile({ handle: "nasa" });
|
|
@@ -4752,7 +4752,7 @@ var InstagramNamespace = class {
|
|
|
4752
4752
|
*
|
|
4753
4753
|
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
|
|
4754
4754
|
*
|
|
4755
|
-
* Price: $0.
|
|
4755
|
+
* Price: $0.00068 per request.
|
|
4756
4756
|
*
|
|
4757
4757
|
* @example
|
|
4758
4758
|
* const res = await client.instagram.userPosts({ handle: "nasa" });
|
|
@@ -4781,7 +4781,7 @@ var InstagramNamespace = class {
|
|
|
4781
4781
|
*
|
|
4782
4782
|
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
4783
4783
|
*
|
|
4784
|
-
* Price: $0.
|
|
4784
|
+
* Price: $0.00068 per request.
|
|
4785
4785
|
*
|
|
4786
4786
|
* @example
|
|
4787
4787
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -6362,7 +6362,7 @@ var RedditNamespace = class {
|
|
|
6362
6362
|
*
|
|
6363
6363
|
* Fetch a single Reddit post by URL, including its full body text, score, comment count, upvote ratio, and subreddit, as normalized JSON.
|
|
6364
6364
|
*
|
|
6365
|
-
* Price: $0.
|
|
6365
|
+
* Price: $0.00048 per request.
|
|
6366
6366
|
*
|
|
6367
6367
|
* @example
|
|
6368
6368
|
* const res = await client.reddit.post({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
|
|
@@ -6472,7 +6472,7 @@ var RedditNamespace = class {
|
|
|
6472
6472
|
*
|
|
6473
6473
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
6474
6474
|
*
|
|
6475
|
-
* Price: $0.
|
|
6475
|
+
* Price: $0.00036 per request.
|
|
6476
6476
|
*
|
|
6477
6477
|
* @example
|
|
6478
6478
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming" });
|
|
@@ -8009,7 +8009,7 @@ var TiktokNamespace = class {
|
|
|
8009
8009
|
*
|
|
8010
8010
|
* 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.
|
|
8011
8011
|
*
|
|
8012
|
-
* Price: $0.
|
|
8012
|
+
* Price: $0.00109 per request plus $0 per result (maximum $0.00109).
|
|
8013
8013
|
*
|
|
8014
8014
|
* @example
|
|
8015
8015
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
|
@@ -8838,7 +8838,7 @@ var TwitterNamespace = class {
|
|
|
8838
8838
|
*
|
|
8839
8839
|
* Fetch a Twitter/X account's public profile (followers, tweets, bio, verification) by handle.
|
|
8840
8840
|
*
|
|
8841
|
-
* Price: $0.
|
|
8841
|
+
* Price: $0.0002 per request.
|
|
8842
8842
|
*
|
|
8843
8843
|
* @example
|
|
8844
8844
|
* const res = await client.twitter.profile({ handle: "nasa" });
|
|
@@ -8851,7 +8851,7 @@ var TwitterNamespace = class {
|
|
|
8851
8851
|
*
|
|
8852
8852
|
* Fetch the replies to any X (Twitter) post URL as structured records: author, text, and engagement. An empty result is valid and does not assert whether the target post exists.
|
|
8853
8853
|
*
|
|
8854
|
-
* Price: $0.
|
|
8854
|
+
* Price: $0.00044 per request.
|
|
8855
8855
|
*
|
|
8856
8856
|
* @example
|
|
8857
8857
|
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20" });
|