@getanyapi/sdk 0.170.2 → 0.170.4
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
|
@@ -31698,7 +31698,7 @@ declare class InstagramNamespace {
|
|
|
31698
31698
|
*
|
|
31699
31699
|
* Fetch an Instagram account's core public profile fields (followers, posts, bio, verification) by user id.
|
|
31700
31700
|
*
|
|
31701
|
-
* Price: $0.
|
|
31701
|
+
* Price: $0.00099 per request.
|
|
31702
31702
|
*
|
|
31703
31703
|
* @example
|
|
31704
31704
|
* const res = await client.instagram.basicProfile({ userId: "314216" });
|
|
@@ -31890,7 +31890,7 @@ declare class InstagramNamespace {
|
|
|
31890
31890
|
*
|
|
31891
31891
|
* Fetch a single Instagram post or reel by URL (media URLs, like count, owner, type) as normalized JSON. Turn on hostVideo to also get the post's video on a hosted MP4 link that plays without an Instagram session, charged as an extra on top of the price. If you want the spoken words as well, instagram.reel_transcript transcribes the same reel.
|
|
31892
31892
|
*
|
|
31893
|
-
* Price: $0.
|
|
31893
|
+
* Price: $0.00039 per request.
|
|
31894
31894
|
*
|
|
31895
31895
|
* @example
|
|
31896
31896
|
* const res = await client.instagram.post({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -32145,7 +32145,7 @@ declare class InstagramNamespace {
|
|
|
32145
32145
|
*
|
|
32146
32146
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
32147
32147
|
*
|
|
32148
|
-
* Price: $0.
|
|
32148
|
+
* Price: $0.00135 per request.
|
|
32149
32149
|
*
|
|
32150
32150
|
* @example
|
|
32151
32151
|
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
@@ -32185,7 +32185,7 @@ declare class InstagramNamespace {
|
|
|
32185
32185
|
*
|
|
32186
32186
|
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
|
|
32187
32187
|
*
|
|
32188
|
-
* Price: $0.
|
|
32188
|
+
* Price: $0.00069 per request.
|
|
32189
32189
|
*
|
|
32190
32190
|
* @example
|
|
32191
32191
|
* const res = await client.instagram.userPosts({ handle: "nasa" });
|
|
@@ -32203,7 +32203,7 @@ declare class InstagramNamespace {
|
|
|
32203
32203
|
*
|
|
32204
32204
|
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
32205
32205
|
*
|
|
32206
|
-
* Price: $0.
|
|
32206
|
+
* Price: $0.00069 per request.
|
|
32207
32207
|
*
|
|
32208
32208
|
* @example
|
|
32209
32209
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -39561,7 +39561,7 @@ declare class LinkedinNamespace {
|
|
|
39561
39561
|
*
|
|
39562
39562
|
* Fetch one LinkedIn job posting by URL: title, full description, location, salary when disclosed, applicant count, employment and workplace type, seniority, benefits, industries, apply links, posting and expiry dates, the hiring team, the applicant tracking system behind it, and the hiring company with its size, follower count, website and description.
|
|
39563
39563
|
*
|
|
39564
|
-
* Price: $0.
|
|
39564
|
+
* Price: $0.0012 per request.
|
|
39565
39565
|
*
|
|
39566
39566
|
* @example
|
|
39567
39567
|
* const res = await client.linkedin.job({ url: "https://www.linkedin.com/jobs/view/4431721875/" });
|
|
@@ -40879,7 +40879,7 @@ declare class MapsNamespace {
|
|
|
40879
40879
|
*
|
|
40880
40880
|
* Search Google Maps for places matching a query and location: up to 20 normalized place records with ratings, addresses, and contact basics per request.
|
|
40881
40881
|
*
|
|
40882
|
-
* Price: $0.
|
|
40882
|
+
* Price: $0.0015 per request.
|
|
40883
40883
|
*
|
|
40884
40884
|
* @example
|
|
40885
40885
|
* const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3 });
|
|
@@ -68830,7 +68830,7 @@ declare class TiktokNamespace {
|
|
|
68830
68830
|
*
|
|
68831
68831
|
* 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.
|
|
68832
68832
|
*
|
|
68833
|
-
* Price: $0.
|
|
68833
|
+
* Price: $0.00109 per request plus $0 per result (maximum $0.00109).
|
|
68834
68834
|
*
|
|
68835
68835
|
* @example
|
|
68836
68836
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
|
@@ -72827,7 +72827,7 @@ declare class TwitterNamespace {
|
|
|
72827
72827
|
*
|
|
72828
72828
|
* 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. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane.
|
|
72829
72829
|
*
|
|
72830
|
-
* Price: $0.
|
|
72830
|
+
* Price: $0.00047 per request.
|
|
72831
72831
|
*
|
|
72832
72832
|
* @example
|
|
72833
72833
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -72881,7 +72881,7 @@ declare class TwitterNamespace {
|
|
|
72881
72881
|
*
|
|
72882
72882
|
* Resolve the linear self-thread containing an X (Twitter) post, from its root through the author's linked continuations. This excludes replies from other users.
|
|
72883
72883
|
*
|
|
72884
|
-
* Price: $0.
|
|
72884
|
+
* Price: $0.0024 per request.
|
|
72885
72885
|
*
|
|
72886
72886
|
* @example
|
|
72887
72887
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -77670,7 +77670,7 @@ declare class YoutubeNamespace {
|
|
|
77670
77670
|
*
|
|
77671
77671
|
* Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
|
|
77672
77672
|
*
|
|
77673
|
-
* Price: $0.
|
|
77673
|
+
* Price: $0.00044 per request.
|
|
77674
77674
|
*
|
|
77675
77675
|
* @example
|
|
77676
77676
|
* const res = await client.youtube.search({ query: "how to cook rice" });
|
package/dist/index.d.ts
CHANGED
|
@@ -31698,7 +31698,7 @@ declare class InstagramNamespace {
|
|
|
31698
31698
|
*
|
|
31699
31699
|
* Fetch an Instagram account's core public profile fields (followers, posts, bio, verification) by user id.
|
|
31700
31700
|
*
|
|
31701
|
-
* Price: $0.
|
|
31701
|
+
* Price: $0.00099 per request.
|
|
31702
31702
|
*
|
|
31703
31703
|
* @example
|
|
31704
31704
|
* const res = await client.instagram.basicProfile({ userId: "314216" });
|
|
@@ -31890,7 +31890,7 @@ declare class InstagramNamespace {
|
|
|
31890
31890
|
*
|
|
31891
31891
|
* Fetch a single Instagram post or reel by URL (media URLs, like count, owner, type) as normalized JSON. Turn on hostVideo to also get the post's video on a hosted MP4 link that plays without an Instagram session, charged as an extra on top of the price. If you want the spoken words as well, instagram.reel_transcript transcribes the same reel.
|
|
31892
31892
|
*
|
|
31893
|
-
* Price: $0.
|
|
31893
|
+
* Price: $0.00039 per request.
|
|
31894
31894
|
*
|
|
31895
31895
|
* @example
|
|
31896
31896
|
* const res = await client.instagram.post({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -32145,7 +32145,7 @@ declare class InstagramNamespace {
|
|
|
32145
32145
|
*
|
|
32146
32146
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
32147
32147
|
*
|
|
32148
|
-
* Price: $0.
|
|
32148
|
+
* Price: $0.00135 per request.
|
|
32149
32149
|
*
|
|
32150
32150
|
* @example
|
|
32151
32151
|
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
@@ -32185,7 +32185,7 @@ declare class InstagramNamespace {
|
|
|
32185
32185
|
*
|
|
32186
32186
|
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
|
|
32187
32187
|
*
|
|
32188
|
-
* Price: $0.
|
|
32188
|
+
* Price: $0.00069 per request.
|
|
32189
32189
|
*
|
|
32190
32190
|
* @example
|
|
32191
32191
|
* const res = await client.instagram.userPosts({ handle: "nasa" });
|
|
@@ -32203,7 +32203,7 @@ declare class InstagramNamespace {
|
|
|
32203
32203
|
*
|
|
32204
32204
|
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
32205
32205
|
*
|
|
32206
|
-
* Price: $0.
|
|
32206
|
+
* Price: $0.00069 per request.
|
|
32207
32207
|
*
|
|
32208
32208
|
* @example
|
|
32209
32209
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -39561,7 +39561,7 @@ declare class LinkedinNamespace {
|
|
|
39561
39561
|
*
|
|
39562
39562
|
* Fetch one LinkedIn job posting by URL: title, full description, location, salary when disclosed, applicant count, employment and workplace type, seniority, benefits, industries, apply links, posting and expiry dates, the hiring team, the applicant tracking system behind it, and the hiring company with its size, follower count, website and description.
|
|
39563
39563
|
*
|
|
39564
|
-
* Price: $0.
|
|
39564
|
+
* Price: $0.0012 per request.
|
|
39565
39565
|
*
|
|
39566
39566
|
* @example
|
|
39567
39567
|
* const res = await client.linkedin.job({ url: "https://www.linkedin.com/jobs/view/4431721875/" });
|
|
@@ -40879,7 +40879,7 @@ declare class MapsNamespace {
|
|
|
40879
40879
|
*
|
|
40880
40880
|
* Search Google Maps for places matching a query and location: up to 20 normalized place records with ratings, addresses, and contact basics per request.
|
|
40881
40881
|
*
|
|
40882
|
-
* Price: $0.
|
|
40882
|
+
* Price: $0.0015 per request.
|
|
40883
40883
|
*
|
|
40884
40884
|
* @example
|
|
40885
40885
|
* const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3 });
|
|
@@ -68830,7 +68830,7 @@ declare class TiktokNamespace {
|
|
|
68830
68830
|
*
|
|
68831
68831
|
* 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.
|
|
68832
68832
|
*
|
|
68833
|
-
* Price: $0.
|
|
68833
|
+
* Price: $0.00109 per request plus $0 per result (maximum $0.00109).
|
|
68834
68834
|
*
|
|
68835
68835
|
* @example
|
|
68836
68836
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
|
@@ -72827,7 +72827,7 @@ declare class TwitterNamespace {
|
|
|
72827
72827
|
*
|
|
72828
72828
|
* 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. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane.
|
|
72829
72829
|
*
|
|
72830
|
-
* Price: $0.
|
|
72830
|
+
* Price: $0.00047 per request.
|
|
72831
72831
|
*
|
|
72832
72832
|
* @example
|
|
72833
72833
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -72881,7 +72881,7 @@ declare class TwitterNamespace {
|
|
|
72881
72881
|
*
|
|
72882
72882
|
* Resolve the linear self-thread containing an X (Twitter) post, from its root through the author's linked continuations. This excludes replies from other users.
|
|
72883
72883
|
*
|
|
72884
|
-
* Price: $0.
|
|
72884
|
+
* Price: $0.0024 per request.
|
|
72885
72885
|
*
|
|
72886
72886
|
* @example
|
|
72887
72887
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -77670,7 +77670,7 @@ declare class YoutubeNamespace {
|
|
|
77670
77670
|
*
|
|
77671
77671
|
* Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
|
|
77672
77672
|
*
|
|
77673
|
-
* Price: $0.
|
|
77673
|
+
* Price: $0.00044 per request.
|
|
77674
77674
|
*
|
|
77675
77675
|
* @example
|
|
77676
77676
|
* const res = await client.youtube.search({ query: "how to cook rice" });
|
package/dist/index.js
CHANGED
|
@@ -4076,7 +4076,7 @@ var InstagramNamespace = class {
|
|
|
4076
4076
|
*
|
|
4077
4077
|
* Fetch an Instagram account's core public profile fields (followers, posts, bio, verification) by user id.
|
|
4078
4078
|
*
|
|
4079
|
-
* Price: $0.
|
|
4079
|
+
* Price: $0.00099 per request.
|
|
4080
4080
|
*
|
|
4081
4081
|
* @example
|
|
4082
4082
|
* const res = await client.instagram.basicProfile({ userId: "314216" });
|
|
@@ -4357,7 +4357,7 @@ var InstagramNamespace = class {
|
|
|
4357
4357
|
*
|
|
4358
4358
|
* Fetch a single Instagram post or reel by URL (media URLs, like count, owner, type) as normalized JSON. Turn on hostVideo to also get the post's video on a hosted MP4 link that plays without an Instagram session, charged as an extra on top of the price. If you want the spoken words as well, instagram.reel_transcript transcribes the same reel.
|
|
4359
4359
|
*
|
|
4360
|
-
* Price: $0.
|
|
4360
|
+
* Price: $0.00039 per request.
|
|
4361
4361
|
*
|
|
4362
4362
|
* @example
|
|
4363
4363
|
* const res = await client.instagram.post({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -4697,7 +4697,7 @@ var InstagramNamespace = class {
|
|
|
4697
4697
|
*
|
|
4698
4698
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
4699
4699
|
*
|
|
4700
|
-
* Price: $0.
|
|
4700
|
+
* Price: $0.00135 per request.
|
|
4701
4701
|
*
|
|
4702
4702
|
* @example
|
|
4703
4703
|
* const res = await client.instagram.taggedPosts({ 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.00069 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.00069 per request.
|
|
4785
4785
|
*
|
|
4786
4786
|
* @example
|
|
4787
4787
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -5129,7 +5129,7 @@ var LinkedinNamespace = class {
|
|
|
5129
5129
|
*
|
|
5130
5130
|
* Fetch one LinkedIn job posting by URL: title, full description, location, salary when disclosed, applicant count, employment and workplace type, seniority, benefits, industries, apply links, posting and expiry dates, the hiring team, the applicant tracking system behind it, and the hiring company with its size, follower count, website and description.
|
|
5131
5131
|
*
|
|
5132
|
-
* Price: $0.
|
|
5132
|
+
* Price: $0.0012 per request.
|
|
5133
5133
|
*
|
|
5134
5134
|
* @example
|
|
5135
5135
|
* const res = await client.linkedin.job({ url: "https://www.linkedin.com/jobs/view/4431721875/" });
|
|
@@ -5579,7 +5579,7 @@ var MapsNamespace = class {
|
|
|
5579
5579
|
*
|
|
5580
5580
|
* Search Google Maps for places matching a query and location: up to 20 normalized place records with ratings, addresses, and contact basics per request.
|
|
5581
5581
|
*
|
|
5582
|
-
* Price: $0.
|
|
5582
|
+
* Price: $0.0015 per request.
|
|
5583
5583
|
*
|
|
5584
5584
|
* @example
|
|
5585
5585
|
* const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3 });
|
|
@@ -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" });
|
|
@@ -8880,7 +8880,7 @@ var TwitterNamespace = class {
|
|
|
8880
8880
|
*
|
|
8881
8881
|
* 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. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane.
|
|
8882
8882
|
*
|
|
8883
|
-
* Price: $0.
|
|
8883
|
+
* Price: $0.00047 per request.
|
|
8884
8884
|
*
|
|
8885
8885
|
* @example
|
|
8886
8886
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -8967,7 +8967,7 @@ var TwitterNamespace = class {
|
|
|
8967
8967
|
*
|
|
8968
8968
|
* Resolve the linear self-thread containing an X (Twitter) post, from its root through the author's linked continuations. This excludes replies from other users.
|
|
8969
8969
|
*
|
|
8970
|
-
* Price: $0.
|
|
8970
|
+
* Price: $0.0024 per request.
|
|
8971
8971
|
*
|
|
8972
8972
|
* @example
|
|
8973
8973
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -9667,7 +9667,7 @@ var YoutubeNamespace = class {
|
|
|
9667
9667
|
*
|
|
9668
9668
|
* Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
|
|
9669
9669
|
*
|
|
9670
|
-
* Price: $0.
|
|
9670
|
+
* Price: $0.00044 per request.
|
|
9671
9671
|
*
|
|
9672
9672
|
* @example
|
|
9673
9673
|
* const res = await client.youtube.search({ query: "how to cook rice" });
|