@getanyapi/sdk 0.15.1 → 0.16.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 CHANGED
@@ -1102,7 +1102,7 @@ var AmazonNamespace = class {
1102
1102
  *
1103
1103
  * Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
1104
1104
  *
1105
- * Price: $0.00105 per request plus $0.00851 per result (maximum $0.00956).
1105
+ * Price: $0.0018 per request.
1106
1106
  *
1107
1107
  * @example
1108
1108
  * const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
@@ -3216,7 +3216,7 @@ var LinkedinNamespace = class {
3216
3216
  *
3217
3217
  * Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
3218
3218
  *
3219
- * Price: $0.0012 per request.
3219
+ * Price: $0.0009 per request.
3220
3220
  *
3221
3221
  * @example
3222
3222
  * const res = await client.linkedin.jobsThin({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
@@ -3229,7 +3229,7 @@ var LinkedinNamespace = class {
3229
3229
  *
3230
3230
  * Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
3231
3231
  *
3232
- * Price: $0.0012 per request.
3232
+ * Price: $0.0009 per request.
3233
3233
  *
3234
3234
  * @example
3235
3235
  * const res = await client.linkedin.post({ url: "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs" });
@@ -3289,12 +3289,38 @@ var LinkedinNamespace = class {
3289
3289
  profile(input, options) {
3290
3290
  return this._core.run("linkedin.profile", input, options);
3291
3291
  }
3292
+ /**
3293
+ * LinkedIn Profile Posts (full)
3294
+ *
3295
+ * Fetch recent public LinkedIn profile posts with enriched author, engagement, article, newsletter, media, annotation, repost, and social activity details.
3296
+ *
3297
+ * Price: $0.00006 per request plus $0.00184 per result (maximum $0.184).
3298
+ *
3299
+ * @example
3300
+ * const res = await client.linkedin.profilePostsFull({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
3301
+ */
3302
+ profilePostsFull(input, options) {
3303
+ return this._core.run("linkedin.profile_posts_full", input, options);
3304
+ }
3305
+ /**
3306
+ * LinkedIn Profile Posts (basic)
3307
+ *
3308
+ * Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
3309
+ *
3310
+ * Price: $0 per request plus $0.00137 per result (maximum $0.137).
3311
+ *
3312
+ * @example
3313
+ * const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
3314
+ */
3315
+ profilePostsThin(input, options) {
3316
+ return this._core.run("linkedin.profile_posts_thin", input, options);
3317
+ }
3292
3318
  /**
3293
3319
  * LinkedIn Profile (basic)
3294
3320
  *
3295
3321
  * Lightweight profile: name, avatar, location, followers, and a basic experience/education list (company + dates only, no job titles, descriptions, or skills; past companies may be redacted). For full experience detail, skills, certifications, connections, and verified flags use linkedin.profile.
3296
3322
  *
3297
- * Price: $0.002 per request.
3323
+ * Price: $0.00144 per request.
3298
3324
  *
3299
3325
  * @example
3300
3326
  * const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
@@ -3592,7 +3618,7 @@ var RedditNamespace = class {
3592
3618
  *
3593
3619
  * Fetch a single Reddit post by URL, including its full body text, score, comment count, upvote ratio, and subreddit, as normalized JSON.
3594
3620
  *
3595
- * Price: $0.0012 per request.
3621
+ * Price: $0.0009 per request.
3596
3622
  *
3597
3623
  * @example
3598
3624
  * const res = await client.reddit.post({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
@@ -3660,7 +3686,7 @@ var RedditNamespace = class {
3660
3686
  *
3661
3687
  * Search Reddit posts across all subreddits by query.
3662
3688
  *
3663
- * Price: $0.0012 per request.
3689
+ * Price: $0.0009 per request.
3664
3690
  *
3665
3691
  * @example
3666
3692
  * const res = await client.reddit.search({ query: "mechanical keyboard" });
@@ -3702,7 +3728,7 @@ var RedditNamespace = class {
3702
3728
  *
3703
3729
  * Fetch posts from a subreddit listing (hot, new, or top).
3704
3730
  *
3705
- * Price: $0.002 per request.
3731
+ * Price: $0.0009 per request.
3706
3732
  *
3707
3733
  * @example
3708
3734
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -3802,7 +3828,7 @@ var RedditNamespace = class {
3802
3828
  *
3803
3829
  * List a Reddit user's posts by username, sorted by new, top, hot, or controversial, with cursor pagination.
3804
3830
  *
3805
- * Price: $0.0012 per request.
3831
+ * Price: $0.0009 per request.
3806
3832
  *
3807
3833
  * @example
3808
3834
  * const res = await client.reddit.userPosts({ username: "spez" });
@@ -4606,7 +4632,7 @@ var TiktokNamespace = class {
4606
4632
  *
4607
4633
  * List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
4608
4634
  *
4609
- * Price: $0.0036 per request.
4635
+ * Price: $0.00144 per request.
4610
4636
  *
4611
4637
  * @example
4612
4638
  * const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
@@ -4632,7 +4658,7 @@ var TiktokNamespace = class {
4632
4658
  *
4633
4659
  * Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
4634
4660
  *
4635
- * Price: $0.0012 per request.
4661
+ * Price: $0.0009 per request.
4636
4662
  *
4637
4663
  * @example
4638
4664
  * const res = await client.tiktok.profile({ handle: "zachking" });
@@ -4826,7 +4852,7 @@ var TiktokNamespace = class {
4826
4852
  *
4827
4853
  * Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
4828
4854
  *
4829
- * Price: $0.0012 per request.
4855
+ * Price: $0.0009 per request.
4830
4856
  *
4831
4857
  * @example
4832
4858
  * const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });
@@ -4839,7 +4865,7 @@ var TiktokNamespace = class {
4839
4865
  *
4840
4866
  * List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count).
4841
4867
  *
4842
- * Price: $0.002 per request.
4868
+ * Price: $0.00144 per request.
4843
4869
  *
4844
4870
  * @example
4845
4871
  * const res = await client.tiktok.videoComments({ url: "https://www.tiktok.com/@zachking/video/7650468599424945422?_r=1&u_code=f0hj7d780760m9&preview_pb=0&sharer_language=en&_d=f0hj7blh067h71&share_item_id=7650468599424945422&source=h5_m" });
@@ -5615,7 +5641,7 @@ var YoutubeNamespace = class {
5615
5641
  *
5616
5642
  * Fetch a YouTube channel's stats (subscribers, video count, total views, description) by handle or channel ID.
5617
5643
  *
5618
- * Price: $0.002 per request.
5644
+ * Price: $0.0009 per request.
5619
5645
  *
5620
5646
  * @example
5621
5647
  * const res = await client.youtube.channel({ handle: "@mkbhd" });
@@ -5744,7 +5770,7 @@ var YoutubeNamespace = class {
5744
5770
  *
5745
5771
  * List a YouTube channel's videos by handle or channel ID with cursor pagination (title, views, length, publish time).
5746
5772
  *
5747
- * Price: $0.002 per request.
5773
+ * Price: $0.0009 per request.
5748
5774
  *
5749
5775
  * @example
5750
5776
  * const res = await client.youtube.channelVideos({ handle: "@mkbhd" });
@@ -5812,7 +5838,7 @@ var YoutubeNamespace = class {
5812
5838
  *
5813
5839
  * Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
5814
5840
  *
5815
- * Price: $0.002 per request.
5841
+ * Price: $0.0009 per request.
5816
5842
  *
5817
5843
  * @example
5818
5844
  * const res = await client.youtube.search({ query: "how to cook rice" });
@@ -6016,7 +6042,7 @@ var ZillowNamespace = class {
6016
6042
  *
6017
6043
  * Fetch full details for a single Zillow property listing by URL (price, facts and features, photos, and price/tax history).
6018
6044
  *
6019
- * Price: $0 per request plus $0.00252 per result (maximum $0.00252).
6045
+ * Price: $0.0009 per request.
6020
6046
  *
6021
6047
  * @example
6022
6048
  * const res = await client.zillow.property({ url: "https://www.zillow.com/homedetails/4510-Secure-Ln-Austin-TX-78725/83126034_zpid/" });