@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.js CHANGED
@@ -1869,9 +1869,9 @@ var EmailNamespace = class {
1869
1869
  /**
1870
1870
  * Email Verifier
1871
1871
  *
1872
- * Verify an email address for deliverability: a status verdict (valid, risky, or invalid) 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.
1872
+ * 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.
1873
1873
  *
1874
- * Price: $0 per request plus $0.00088 per result (maximum $0.00088).
1874
+ * Price: $0.0066 per request.
1875
1875
  *
1876
1876
  * @example
1877
1877
  * const res = await client.email.verify({ email: "patrick@stripe.com" });
@@ -3291,7 +3291,7 @@ var InstagramNamespace = class {
3291
3291
  *
3292
3292
  * Fetch an Instagram account's core public profile fields (followers, posts, bio, verification) by user id.
3293
3293
  *
3294
- * Price: $0.002 per request.
3294
+ * Price: $0.0015 per request.
3295
3295
  *
3296
3296
  * @example
3297
3297
  * const res = await client.instagram.basicProfile({ userId: "314216" });
@@ -3304,7 +3304,7 @@ var InstagramNamespace = class {
3304
3304
  *
3305
3305
  * List the replies to an Instagram comment with cursor pagination (text, author, likes).
3306
3306
  *
3307
- * Price: $0.002 per request.
3307
+ * Price: $0.0015 per request.
3308
3308
  *
3309
3309
  * @example
3310
3310
  * const res = await client.instagram.commentReplies({ commentId: "18126632131325044", url: "https://www.instagram.com/p/C8rKmYvsrck/" });
@@ -3346,7 +3346,7 @@ var InstagramNamespace = class {
3346
3346
  *
3347
3347
  * List the followers of any public Instagram account by username: follower usernames, names, and profile details.
3348
3348
  *
3349
- * Price: $0.018 per request.
3349
+ * Price: $0.0015 per request.
3350
3350
  *
3351
3351
  * @example
3352
3352
  * const res = await client.instagram.followers({ username: "nasa", limit: 50 });
@@ -3375,7 +3375,7 @@ var InstagramNamespace = class {
3375
3375
  *
3376
3376
  * List the accounts a public Instagram user follows: usernames, names, and profile details.
3377
3377
  *
3378
- * Price: $0.018 per request.
3378
+ * Price: $0.0015 per request.
3379
3379
  *
3380
3380
  * @example
3381
3381
  * const res = await client.instagram.following({ username: "nasa", limit: 50 });
@@ -3417,7 +3417,7 @@ var InstagramNamespace = class {
3417
3417
  *
3418
3418
  * 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.
3419
3419
  *
3420
- * Price: $0.0024 per request.
3420
+ * Price: $0.0015 per request.
3421
3421
  *
3422
3422
  * @example
3423
3423
  * const res = await client.instagram.hashtagRecentPosts({ hashtag: "skincare" });
@@ -3446,7 +3446,7 @@ var InstagramNamespace = class {
3446
3446
  *
3447
3447
  * 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.
3448
3448
  *
3449
- * Price: $0.018 per request.
3449
+ * Price: $0.0015 per request.
3450
3450
  *
3451
3451
  * @example
3452
3452
  * const res = await client.instagram.hashtagTopPosts({ hashtag: "skincare" });
@@ -3514,7 +3514,7 @@ var InstagramNamespace = class {
3514
3514
  *
3515
3515
  * List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).
3516
3516
  *
3517
- * Price: $0.00144 per request.
3517
+ * Price: $0.0015 per request.
3518
3518
  *
3519
3519
  * @example
3520
3520
  * const res = await client.instagram.postComments({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
@@ -3582,7 +3582,7 @@ var InstagramNamespace = class {
3582
3582
  *
3583
3583
  * 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).
3584
3584
  *
3585
- * Price: $0.002 per request.
3585
+ * Price: $0.0015 per request.
3586
3586
  *
3587
3587
  * @example
3588
3588
  * const res = await client.instagram.reelsSearch({ query: "travel" });
@@ -3679,7 +3679,7 @@ var InstagramNamespace = class {
3679
3679
  *
3680
3680
  * 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.
3681
3681
  *
3682
- * Price: $0.018 per request.
3682
+ * Price: $0.0015 per request.
3683
3683
  *
3684
3684
  * @example
3685
3685
  * const res = await client.instagram.storiesThin({ username: "natgeo" });
@@ -3692,7 +3692,7 @@ var InstagramNamespace = class {
3692
3692
  *
3693
3693
  * List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
3694
3694
  *
3695
- * Price: $0.0024 per request.
3695
+ * Price: $0.0015 per request.
3696
3696
  *
3697
3697
  * @example
3698
3698
  * const res = await client.instagram.taggedPosts({ handle: "nasa" });
@@ -3734,7 +3734,7 @@ var InstagramNamespace = class {
3734
3734
  *
3735
3735
  * List an Instagram account's story highlight reels by handle.
3736
3736
  *
3737
- * Price: $0.002 per request.
3737
+ * Price: $0.0015 per request.
3738
3738
  *
3739
3739
  * @example
3740
3740
  * const res = await client.instagram.userHighlights({ handle: "nasa" });
@@ -3747,7 +3747,7 @@ var InstagramNamespace = class {
3747
3747
  *
3748
3748
  * List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
3749
3749
  *
3750
- * Price: $0.002 per request.
3750
+ * Price: $0.0015 per request.
3751
3751
  *
3752
3752
  * @example
3753
3753
  * const res = await client.instagram.userPosts({ handle: "nasa" });
@@ -3776,7 +3776,7 @@ var InstagramNamespace = class {
3776
3776
  *
3777
3777
  * List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
3778
3778
  *
3779
- * Price: $0.002 per request.
3779
+ * Price: $0.0015 per request.
3780
3780
  *
3781
3781
  * @example
3782
3782
  * const res = await client.instagram.userReels({ handle: "nasa" });
@@ -3912,7 +3912,7 @@ var LinkedinNamespace = class {
3912
3912
  *
3913
3913
  * 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.
3914
3914
  *
3915
- * Price: $0.00116 per request plus $0.00193 per result (maximum $0.0975).
3915
+ * Price: $0.005 per request.
3916
3916
  *
3917
3917
  * @example
3918
3918
  * const res = await client.linkedin.companyPosts({ url: "https://www.linkedin.com/company/stripe", limit: 10 });
@@ -3977,7 +3977,7 @@ var LinkedinNamespace = class {
3977
3977
  *
3978
3978
  * Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
3979
3979
  *
3980
- * Price: $0.0009 per request.
3980
+ * Price: $0.00066 per request.
3981
3981
  *
3982
3982
  * @example
3983
3983
  * const res = await client.linkedin.jobsThin({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
@@ -4003,7 +4003,7 @@ var LinkedinNamespace = class {
4003
4003
  *
4004
4004
  * List comments on a LinkedIn post - full text, commenter name/URL/job title, timestamps, and engagement.
4005
4005
  *
4006
- * Price: $0 per request plus $0.00143 per result (maximum $0.143).
4006
+ * Price: $0.005 per request.
4007
4007
  *
4008
4008
  * @example
4009
4009
  * 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 });
@@ -4016,7 +4016,7 @@ var LinkedinNamespace = class {
4016
4016
  *
4017
4017
  * List who reacted to a LinkedIn post - reactor name, profile URL, job title, and reaction type. Lead-gen grade.
4018
4018
  *
4019
- * Price: $0 per request plus $0.0022 per result (maximum $0.22).
4019
+ * Price: $0.005 per request.
4020
4020
  *
4021
4021
  * @example
4022
4022
  * 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 });
@@ -4042,10 +4042,10 @@ var LinkedinNamespace = class {
4042
4042
  *
4043
4043
  * 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.
4044
4044
  *
4045
- * Price: $0.0044 per request plus $0 per result (maximum $0.0044).
4045
+ * Price: $0.004 per request.
4046
4046
  *
4047
4047
  * @example
4048
- * const res = await client.linkedin.profile({ url: "https://www.linkedin.com/in/williamhgates" });
4048
+ * const res = await client.linkedin.profile({ url: "https://www.linkedin.com/in/patrickcollison" });
4049
4049
  */
4050
4050
  profile(input, options) {
4051
4051
  return this._core.run("linkedin.profile", input, options);
@@ -4055,7 +4055,7 @@ var LinkedinNamespace = class {
4055
4055
  *
4056
4056
  * Fetch recent public LinkedIn profile posts with enriched author, engagement, article, newsletter, media, annotation, repost, and social activity details.
4057
4057
  *
4058
- * Price: $0.00116 per request plus $0.00193 per result (maximum $0.194).
4058
+ * Price: $0.005 per request.
4059
4059
  *
4060
4060
  * @example
4061
4061
  * const res = await client.linkedin.profilePostsFull({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
@@ -4068,7 +4068,7 @@ var LinkedinNamespace = class {
4068
4068
  *
4069
4069
  * Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
4070
4070
  *
4071
- * Price: $0 per request plus $0.00143 per result (maximum $0.143).
4071
+ * Price: $0.005 per request.
4072
4072
  *
4073
4073
  * @example
4074
4074
  * const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
@@ -4094,7 +4094,7 @@ var LinkedinNamespace = class {
4094
4094
  *
4095
4095
  * Search LinkedIn companies by keyword with optional location filtering, returning normalized company records.
4096
4096
  *
4097
- * Price: $0.0011 per request plus $0.0044 per result (maximum $0.0891).
4097
+ * Price: $0.005 per request.
4098
4098
  *
4099
4099
  * @example
4100
4100
  * const res = await client.linkedin.searchCompanies({ query: "fintech", limit: 3 });
@@ -4136,7 +4136,7 @@ var LinkedinNamespace = class {
4136
4136
  *
4137
4137
  * Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
4138
4138
  *
4139
- * Price: $0 per request plus $0.00143 per result (maximum $0.143).
4139
+ * Price: $0.005 per request.
4140
4140
  *
4141
4141
  * @example
4142
4142
  * const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
@@ -4212,7 +4212,7 @@ var MapsNamespace = class {
4212
4212
  * Price: $0.00175 per request.
4213
4213
  *
4214
4214
  * @example
4215
- * const res = await client.maps.place({ query: "Blue Bottle Coffee", location: "San Francisco, CA", website: "withWebsite" });
4215
+ * const res = await client.maps.place({ query: "Blue Bottle Coffee", location: "San Francisco, CA" });
4216
4216
  */
4217
4217
  place(input, options) {
4218
4218
  return this._core.run("maps.place", input, options);
@@ -4238,7 +4238,7 @@ var MapsNamespace = class {
4238
4238
  * Price: $0.00175 per request.
4239
4239
  *
4240
4240
  * @example
4241
- * const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3, placeMinimumStars: "four", website: "withWebsite" });
4241
+ * const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3 });
4242
4242
  */
4243
4243
  search(input, options) {
4244
4244
  return this._core.run("maps.search", input, options);
@@ -5866,7 +5866,7 @@ var TiktokNamespace = class {
5866
5866
  *
5867
5867
  * List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
5868
5868
  *
5869
- * Price: $0.00144 per request.
5869
+ * Price: $0.0036 per request.
5870
5870
  *
5871
5871
  * @example
5872
5872
  * const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
@@ -6463,7 +6463,7 @@ var TrustpilotNamespace = class {
6463
6463
  *
6464
6464
  * Pull Trustpilot reviews for any company by brand name: star ratings, review text, dates, and reviewer details as clean JSON.
6465
6465
  *
6466
- * Price: $0.00006 per request plus $0.00005 per result (maximum $0.00886).
6466
+ * Price: $0.00225 per request.
6467
6467
  *
6468
6468
  * @example
6469
6469
  * const res = await client.trustpilot.reviews({ company: "stripe.com", limit: 3 });
@@ -6930,7 +6930,7 @@ var WebNamespace = class {
6930
6930
  * Price: $0.0007 per request.
6931
6931
  *
6932
6932
  * @example
6933
- * const res = await client.web.scrape({ url: "https://example.com", formats: ["markdown", "rawHtml"], onlyMainContent: false });
6933
+ * const res = await client.web.scrape({ url: "https://example.com", formats: ["markdown", "html"], onlyMainContent: false });
6934
6934
  */
6935
6935
  scrape(input, options) {
6936
6936
  return this._core.run("web.scrape", input, options);