@getanyapi/sdk 0.34.3 → 0.35.0
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 +30 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +66 -67
- package/dist/index.d.ts +66 -67
- package/dist/index.js +30 -30
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1984,9 +1984,9 @@ var EmailNamespace = class {
|
|
|
1984
1984
|
/**
|
|
1985
1985
|
* Email Verifier
|
|
1986
1986
|
*
|
|
1987
|
-
* Verify an email address for deliverability: a status verdict (
|
|
1987
|
+
* Verify an email address for deliverability: a status verdict (good, risky, or bad) with domain, mailbox, catch-all, disposable, and role signals plus a confidence score. Malformed addresses are rejected by the input schema with no charge; every syntactically valid address returns a billed verdict, including undeliverable ones.
|
|
1988
1988
|
*
|
|
1989
|
-
* Price: $0 per request
|
|
1989
|
+
* Price: $0.0066 per request.
|
|
1990
1990
|
*
|
|
1991
1991
|
* @example
|
|
1992
1992
|
* const res = await client.email.verify({ email: "patrick@stripe.com" });
|
|
@@ -3406,7 +3406,7 @@ var InstagramNamespace = class {
|
|
|
3406
3406
|
*
|
|
3407
3407
|
* Fetch an Instagram account's core public profile fields (followers, posts, bio, verification) by user id.
|
|
3408
3408
|
*
|
|
3409
|
-
* Price: $0.
|
|
3409
|
+
* Price: $0.0015 per request.
|
|
3410
3410
|
*
|
|
3411
3411
|
* @example
|
|
3412
3412
|
* const res = await client.instagram.basicProfile({ userId: "314216" });
|
|
@@ -3419,7 +3419,7 @@ var InstagramNamespace = class {
|
|
|
3419
3419
|
*
|
|
3420
3420
|
* List the replies to an Instagram comment with cursor pagination (text, author, likes).
|
|
3421
3421
|
*
|
|
3422
|
-
* Price: $0.
|
|
3422
|
+
* Price: $0.0015 per request.
|
|
3423
3423
|
*
|
|
3424
3424
|
* @example
|
|
3425
3425
|
* const res = await client.instagram.commentReplies({ commentId: "18126632131325044", url: "https://www.instagram.com/p/C8rKmYvsrck/" });
|
|
@@ -3461,7 +3461,7 @@ var InstagramNamespace = class {
|
|
|
3461
3461
|
*
|
|
3462
3462
|
* List the followers of any public Instagram account by username: follower usernames, names, and profile details.
|
|
3463
3463
|
*
|
|
3464
|
-
* Price: $0.
|
|
3464
|
+
* Price: $0.0015 per request.
|
|
3465
3465
|
*
|
|
3466
3466
|
* @example
|
|
3467
3467
|
* const res = await client.instagram.followers({ username: "nasa", limit: 50 });
|
|
@@ -3490,7 +3490,7 @@ var InstagramNamespace = class {
|
|
|
3490
3490
|
*
|
|
3491
3491
|
* List the accounts a public Instagram user follows: usernames, names, and profile details.
|
|
3492
3492
|
*
|
|
3493
|
-
* Price: $0.
|
|
3493
|
+
* Price: $0.0015 per request.
|
|
3494
3494
|
*
|
|
3495
3495
|
* @example
|
|
3496
3496
|
* const res = await client.instagram.following({ username: "nasa", limit: 50 });
|
|
@@ -3532,7 +3532,7 @@ var InstagramNamespace = class {
|
|
|
3532
3532
|
*
|
|
3533
3533
|
* Instagram posts published under a hashtag, newest first, read from its live chronological feed rather than a web search index. Built for monitoring: results arrive within a couple of minutes of posting, so engagement counts are usually still zero and reels do not appear (Instagram keeps those on a separate tab). For engagement-ranked results use instagram.hashtag_top_posts; for older relevance-ranked results use instagram.search_hashtag.
|
|
3534
3534
|
*
|
|
3535
|
-
* Price: $0.
|
|
3535
|
+
* Price: $0.0015 per request.
|
|
3536
3536
|
*
|
|
3537
3537
|
* @example
|
|
3538
3538
|
* const res = await client.instagram.hashtagRecentPosts({ hashtag: "skincare" });
|
|
@@ -3561,7 +3561,7 @@ var InstagramNamespace = class {
|
|
|
3561
3561
|
*
|
|
3562
3562
|
* Instagram's own top-ranked posts for a hashtag, read from its live hashtag feed rather than a web search index, with view, like, and comment counts. Reels-heavy and engagement-ranked, so it answers what is performing on a tag right now. For older relevance-ranked results with date and media-type filters use instagram.search_hashtag; for the chronological feed use instagram.hashtag_recent_posts.
|
|
3563
3563
|
*
|
|
3564
|
-
* Price: $0.
|
|
3564
|
+
* Price: $0.0015 per request.
|
|
3565
3565
|
*
|
|
3566
3566
|
* @example
|
|
3567
3567
|
* const res = await client.instagram.hashtagTopPosts({ hashtag: "skincare" });
|
|
@@ -3629,7 +3629,7 @@ var InstagramNamespace = class {
|
|
|
3629
3629
|
*
|
|
3630
3630
|
* List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).
|
|
3631
3631
|
*
|
|
3632
|
-
* Price: $0.
|
|
3632
|
+
* Price: $0.0015 per request.
|
|
3633
3633
|
*
|
|
3634
3634
|
* @example
|
|
3635
3635
|
* const res = await client.instagram.postComments({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -3697,7 +3697,7 @@ var InstagramNamespace = class {
|
|
|
3697
3697
|
*
|
|
3698
3698
|
* Search Instagram Reels by keyword and get matching reels (caption, likes, comments, creator, and duration). Instagram does not return view or play counts in reels search results. Results are relevance-ranked, not chronological. Paging tops out around 110 reels per query (11 pages of 10).
|
|
3699
3699
|
*
|
|
3700
|
-
* Price: $0.
|
|
3700
|
+
* Price: $0.0015 per request.
|
|
3701
3701
|
*
|
|
3702
3702
|
* @example
|
|
3703
3703
|
* const res = await client.instagram.reelsSearch({ query: "travel" });
|
|
@@ -3794,7 +3794,7 @@ var InstagramNamespace = class {
|
|
|
3794
3794
|
*
|
|
3795
3795
|
* Fetch a public Instagram account's currently live stories - media URL, owner, and posting time - by username. Lightweight projection; for media type, dimensions, and the 24h expiry time use instagram.stories_full.
|
|
3796
3796
|
*
|
|
3797
|
-
* Price: $0.
|
|
3797
|
+
* Price: $0.0015 per request.
|
|
3798
3798
|
*
|
|
3799
3799
|
* @example
|
|
3800
3800
|
* const res = await client.instagram.storiesThin({ username: "natgeo" });
|
|
@@ -3807,7 +3807,7 @@ var InstagramNamespace = class {
|
|
|
3807
3807
|
*
|
|
3808
3808
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
3809
3809
|
*
|
|
3810
|
-
* Price: $0.
|
|
3810
|
+
* Price: $0.0015 per request.
|
|
3811
3811
|
*
|
|
3812
3812
|
* @example
|
|
3813
3813
|
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
@@ -3849,7 +3849,7 @@ var InstagramNamespace = class {
|
|
|
3849
3849
|
*
|
|
3850
3850
|
* List an Instagram account's story highlight reels by handle.
|
|
3851
3851
|
*
|
|
3852
|
-
* Price: $0.
|
|
3852
|
+
* Price: $0.0015 per request.
|
|
3853
3853
|
*
|
|
3854
3854
|
* @example
|
|
3855
3855
|
* const res = await client.instagram.userHighlights({ handle: "nasa" });
|
|
@@ -3862,7 +3862,7 @@ var InstagramNamespace = class {
|
|
|
3862
3862
|
*
|
|
3863
3863
|
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
|
|
3864
3864
|
*
|
|
3865
|
-
* Price: $0.
|
|
3865
|
+
* Price: $0.0015 per request.
|
|
3866
3866
|
*
|
|
3867
3867
|
* @example
|
|
3868
3868
|
* const res = await client.instagram.userPosts({ handle: "nasa" });
|
|
@@ -3891,7 +3891,7 @@ var InstagramNamespace = class {
|
|
|
3891
3891
|
*
|
|
3892
3892
|
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
3893
3893
|
*
|
|
3894
|
-
* Price: $0.
|
|
3894
|
+
* Price: $0.0015 per request.
|
|
3895
3895
|
*
|
|
3896
3896
|
* @example
|
|
3897
3897
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -4027,7 +4027,7 @@ var LinkedinNamespace = class {
|
|
|
4027
4027
|
*
|
|
4028
4028
|
* List a LinkedIn company page's recent posts by URL: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attached media.
|
|
4029
4029
|
*
|
|
4030
|
-
* Price: $0.
|
|
4030
|
+
* Price: $0.005 per request.
|
|
4031
4031
|
*
|
|
4032
4032
|
* @example
|
|
4033
4033
|
* const res = await client.linkedin.companyPosts({ url: "https://www.linkedin.com/company/stripe", limit: 10 });
|
|
@@ -4092,7 +4092,7 @@ var LinkedinNamespace = class {
|
|
|
4092
4092
|
*
|
|
4093
4093
|
* Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
|
|
4094
4094
|
*
|
|
4095
|
-
* Price: $0.
|
|
4095
|
+
* Price: $0.00066 per request.
|
|
4096
4096
|
*
|
|
4097
4097
|
* @example
|
|
4098
4098
|
* const res = await client.linkedin.jobsThin({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
|
|
@@ -4118,7 +4118,7 @@ var LinkedinNamespace = class {
|
|
|
4118
4118
|
*
|
|
4119
4119
|
* List comments on a LinkedIn post - full text, commenter name/URL/job title, timestamps, and engagement.
|
|
4120
4120
|
*
|
|
4121
|
-
* Price: $0 per request
|
|
4121
|
+
* Price: $0.005 per request.
|
|
4122
4122
|
*
|
|
4123
4123
|
* @example
|
|
4124
4124
|
* const res = await client.linkedin.postComments({ url: "https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ", limit: 10 });
|
|
@@ -4131,7 +4131,7 @@ var LinkedinNamespace = class {
|
|
|
4131
4131
|
*
|
|
4132
4132
|
* List who reacted to a LinkedIn post - reactor name, profile URL, job title, and reaction type. Lead-gen grade.
|
|
4133
4133
|
*
|
|
4134
|
-
* Price: $0 per request
|
|
4134
|
+
* Price: $0.005 per request.
|
|
4135
4135
|
*
|
|
4136
4136
|
* @example
|
|
4137
4137
|
* const res = await client.linkedin.postReactions({ url: "https://www.linkedin.com/posts/satyanadella_today-were-bringing-skills-to-copilot-for-activity-7475945433668694017--kvG", limit: 5 });
|
|
@@ -4157,10 +4157,10 @@ var LinkedinNamespace = class {
|
|
|
4157
4157
|
*
|
|
4158
4158
|
* Fetch a rich LinkedIn member profile by URL: name, headline, avatar, location, connections and followers, current position, and full work experience with job titles, descriptions, dates, employment/workplace type, and per-role skills, plus education, skills, certifications, honors and awards, languages, projects, publications, and verified/premium/open-to-work flags.
|
|
4159
4159
|
*
|
|
4160
|
-
* Price: $0.
|
|
4160
|
+
* Price: $0.004 per request.
|
|
4161
4161
|
*
|
|
4162
4162
|
* @example
|
|
4163
|
-
* const res = await client.linkedin.profile({ url: "https://www.linkedin.com/in/
|
|
4163
|
+
* const res = await client.linkedin.profile({ url: "https://www.linkedin.com/in/patrickcollison" });
|
|
4164
4164
|
*/
|
|
4165
4165
|
profile(input, options) {
|
|
4166
4166
|
return this._core.run("linkedin.profile", input, options);
|
|
@@ -4170,7 +4170,7 @@ var LinkedinNamespace = class {
|
|
|
4170
4170
|
*
|
|
4171
4171
|
* Fetch recent public LinkedIn profile posts with enriched author, engagement, article, newsletter, media, annotation, repost, and social activity details.
|
|
4172
4172
|
*
|
|
4173
|
-
* Price: $0.
|
|
4173
|
+
* Price: $0.005 per request.
|
|
4174
4174
|
*
|
|
4175
4175
|
* @example
|
|
4176
4176
|
* const res = await client.linkedin.profilePostsFull({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
|
|
@@ -4183,7 +4183,7 @@ var LinkedinNamespace = class {
|
|
|
4183
4183
|
*
|
|
4184
4184
|
* Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
|
|
4185
4185
|
*
|
|
4186
|
-
* Price: $0 per request
|
|
4186
|
+
* Price: $0.005 per request.
|
|
4187
4187
|
*
|
|
4188
4188
|
* @example
|
|
4189
4189
|
* const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
|
|
@@ -4209,7 +4209,7 @@ var LinkedinNamespace = class {
|
|
|
4209
4209
|
*
|
|
4210
4210
|
* Search LinkedIn companies by keyword with optional location filtering, returning normalized company records.
|
|
4211
4211
|
*
|
|
4212
|
-
* Price: $0.
|
|
4212
|
+
* Price: $0.005 per request.
|
|
4213
4213
|
*
|
|
4214
4214
|
* @example
|
|
4215
4215
|
* const res = await client.linkedin.searchCompanies({ query: "fintech", limit: 3 });
|
|
@@ -4251,7 +4251,7 @@ var LinkedinNamespace = class {
|
|
|
4251
4251
|
*
|
|
4252
4252
|
* Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
|
|
4253
4253
|
*
|
|
4254
|
-
* Price: $0 per request
|
|
4254
|
+
* Price: $0.005 per request.
|
|
4255
4255
|
*
|
|
4256
4256
|
* @example
|
|
4257
4257
|
* const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
|
|
@@ -4327,7 +4327,7 @@ var MapsNamespace = class {
|
|
|
4327
4327
|
* Price: $0.00175 per request.
|
|
4328
4328
|
*
|
|
4329
4329
|
* @example
|
|
4330
|
-
* const res = await client.maps.place({ query: "Blue Bottle Coffee", location: "San Francisco, CA"
|
|
4330
|
+
* const res = await client.maps.place({ query: "Blue Bottle Coffee", location: "San Francisco, CA" });
|
|
4331
4331
|
*/
|
|
4332
4332
|
place(input, options) {
|
|
4333
4333
|
return this._core.run("maps.place", input, options);
|
|
@@ -4353,7 +4353,7 @@ var MapsNamespace = class {
|
|
|
4353
4353
|
* Price: $0.00175 per request.
|
|
4354
4354
|
*
|
|
4355
4355
|
* @example
|
|
4356
|
-
* const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3
|
|
4356
|
+
* const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3 });
|
|
4357
4357
|
*/
|
|
4358
4358
|
search(input, options) {
|
|
4359
4359
|
return this._core.run("maps.search", input, options);
|
|
@@ -5981,7 +5981,7 @@ var TiktokNamespace = class {
|
|
|
5981
5981
|
*
|
|
5982
5982
|
* List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
|
|
5983
5983
|
*
|
|
5984
|
-
* Price: $0.
|
|
5984
|
+
* Price: $0.0036 per request.
|
|
5985
5985
|
*
|
|
5986
5986
|
* @example
|
|
5987
5987
|
* const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
|
|
@@ -6578,7 +6578,7 @@ var TrustpilotNamespace = class {
|
|
|
6578
6578
|
*
|
|
6579
6579
|
* Pull Trustpilot reviews for any company by brand name: star ratings, review text, dates, and reviewer details as clean JSON.
|
|
6580
6580
|
*
|
|
6581
|
-
* Price: $0.
|
|
6581
|
+
* Price: $0.00225 per request.
|
|
6582
6582
|
*
|
|
6583
6583
|
* @example
|
|
6584
6584
|
* const res = await client.trustpilot.reviews({ company: "stripe.com", limit: 3 });
|
|
@@ -7045,7 +7045,7 @@ var WebNamespace = class {
|
|
|
7045
7045
|
* Price: $0.0007 per request.
|
|
7046
7046
|
*
|
|
7047
7047
|
* @example
|
|
7048
|
-
* const res = await client.web.scrape({ url: "https://example.com", formats: ["markdown", "
|
|
7048
|
+
* const res = await client.web.scrape({ url: "https://example.com", formats: ["markdown", "html"], onlyMainContent: false });
|
|
7049
7049
|
*/
|
|
7050
7050
|
scrape(input, options) {
|
|
7051
7051
|
return this._core.run("web.scrape", input, options);
|