@getanyapi/sdk 0.37.1 → 0.37.2

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
@@ -1275,7 +1275,7 @@ var AmazonNamespace = class {
1275
1275
  *
1276
1276
  * List the top-ranked products of any Amazon Best Sellers category (rank, title, price, and rating) in one normalized request.
1277
1277
  *
1278
- * Price: $0.0009 per request.
1278
+ * Price: $0.00045 per request.
1279
1279
  *
1280
1280
  * @example
1281
1281
  * const res = await client.amazon.bestsellers({ url: "https://www.amazon.com/gp/bestsellers/electronics", limit: 3 });
@@ -1288,7 +1288,7 @@ var AmazonNamespace = class {
1288
1288
  *
1289
1289
  * Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
1290
1290
  *
1291
- * Price: $0.0018 per request.
1291
+ * Price: $0.0009 per request.
1292
1292
  *
1293
1293
  * @example
1294
1294
  * const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
@@ -1301,7 +1301,7 @@ var AmazonNamespace = class {
1301
1301
  *
1302
1302
  * Pull up to 50 customer reviews for any Amazon product by ASIN or URL: rating, title, text, date, and verified-purchase badge.
1303
1303
  *
1304
- * Price: $0.0018 per request.
1304
+ * Price: $0.0009 per request.
1305
1305
  *
1306
1306
  * @example
1307
1307
  * const res = await client.amazon.reviews({ product: "B07PXGQC1Q", limit: 3 });
@@ -1314,7 +1314,7 @@ var AmazonNamespace = class {
1314
1314
  *
1315
1315
  * Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
1316
1316
  *
1317
- * Price: $0.0009 per request.
1317
+ * Price: $0.00045 per request.
1318
1318
  *
1319
1319
  * @example
1320
1320
  * const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
@@ -1926,7 +1926,7 @@ var EbayNamespace = class {
1926
1926
  *
1927
1927
  * Fetch one eBay listing by URL and get the full offer record: price, condition, shipping, item location, seller feedback, quantity, watchers, and live auction state (bid count and end time).
1928
1928
  *
1929
- * Price: $0.0009 per request.
1929
+ * Price: $0.00045 per request.
1930
1930
  *
1931
1931
  * @example
1932
1932
  * const res = await client.ebay.product({ url: "https://www.ebay.com/itm/133576802017" });
@@ -1952,7 +1952,7 @@ var EbayNamespace = class {
1952
1952
  *
1953
1953
  * Search eBay active listings by keyword with optional price-range, item-condition, listing-type, and sort filters and get title, price, condition, shipping, and seller in one normalized response.
1954
1954
  *
1955
- * Price: $0.0009 per request.
1955
+ * Price: $0.00045 per request.
1956
1956
  *
1957
1957
  * @example
1958
1958
  * const res = await client.ebay.search({ query: "nintendo switch", limit: 3, sort: "price_low" });
@@ -2764,7 +2764,7 @@ var GeminiNamespace = class {
2764
2764
  *
2765
2765
  * Ask Gemini a web-grounded question and receive an answer with source citations.
2766
2766
  *
2767
- * Price: $0.0036 per request.
2767
+ * Price: $0.0018 per request.
2768
2768
  *
2769
2769
  * @example
2770
2770
  * const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
@@ -3024,7 +3024,7 @@ var GoogleNamespace = class {
3024
3024
  *
3025
3025
  * Ask Google AI Mode a prompt and receive the cited answer it generates. AI Mode composes the answer at search time, so repeat calls on one prompt can differ in wording and in which sources are cited.
3026
3026
  *
3027
- * Price: $0.00126 per request.
3027
+ * Price: $0.00063 per request.
3028
3028
  *
3029
3029
  * @example
3030
3030
  * const res = await client.google.aiMode({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
@@ -3128,7 +3128,7 @@ var GoogleNamespace = class {
3128
3128
  *
3129
3129
  * Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Pass the returned nextCursor back as cursor to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
3130
3130
  *
3131
- * Price: $0.0009 per request.
3131
+ * Price: $0.00063 per request.
3132
3132
  *
3133
3133
  * @example
3134
3134
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -3642,7 +3642,7 @@ var InstagramNamespace = class {
3642
3642
  *
3643
3643
  * List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).
3644
3644
  *
3645
- * Price: $0.00144 per request.
3645
+ * Price: $0.00072 per request.
3646
3646
  *
3647
3647
  * @example
3648
3648
  * const res = await client.instagram.postComments({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
@@ -3671,7 +3671,7 @@ var InstagramNamespace = class {
3671
3671
  *
3672
3672
  * Fetch an Instagram account's public profile (followers, posts, bio, verification) by handle.
3673
3673
  *
3674
- * Price: $0.0009 per request.
3674
+ * Price: $0.00045 per request.
3675
3675
  *
3676
3676
  * @example
3677
3677
  * const res = await client.instagram.profile({ handle: "nasa" });
@@ -4105,7 +4105,7 @@ var LinkedinNamespace = class {
4105
4105
  *
4106
4106
  * Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
4107
4107
  *
4108
- * Price: $0.00066 per request.
4108
+ * Price: $0.00045 per request.
4109
4109
  *
4110
4110
  * @example
4111
4111
  * 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
  * Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
4120
4120
  *
4121
- * Price: $0.0009 per request.
4121
+ * Price: $0.00045 per request.
4122
4122
  *
4123
4123
  * @example
4124
4124
  * const res = await client.linkedin.post({ url: "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs" });
@@ -4209,7 +4209,7 @@ var LinkedinNamespace = class {
4209
4209
  *
4210
4210
  * 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.
4211
4211
  *
4212
- * Price: $0.00144 per request.
4212
+ * Price: $0.00072 per request.
4213
4213
  *
4214
4214
  * @example
4215
4215
  * const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
@@ -4630,7 +4630,7 @@ var PerplexityNamespace = class {
4630
4630
  *
4631
4631
  * Ask Perplexity a web-grounded question and receive an answer with source citations.
4632
4632
  *
4633
- * Price: $0.0036 per request.
4633
+ * Price: $0.0018 per request.
4634
4634
  *
4635
4635
  * @example
4636
4636
  * const res = await client.perplexity.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
@@ -4872,7 +4872,7 @@ var RedditNamespace = class {
4872
4872
  *
4873
4873
  * Fetch a single Reddit post by URL, including its full body text, score, comment count, upvote ratio, and subreddit, as normalized JSON.
4874
4874
  *
4875
- * Price: $0.0009 per request.
4875
+ * Price: $0.00045 per request.
4876
4876
  *
4877
4877
  * @example
4878
4878
  * const res = await client.reddit.post({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
@@ -4940,7 +4940,7 @@ var RedditNamespace = class {
4940
4940
  *
4941
4941
  * Search Reddit posts across all subreddits by query.
4942
4942
  *
4943
- * Price: $0.0009 per request.
4943
+ * Price: $0.00045 per request.
4944
4944
  *
4945
4945
  * @example
4946
4946
  * const res = await client.reddit.search({ query: "mechanical keyboard" });
@@ -4982,7 +4982,7 @@ var RedditNamespace = class {
4982
4982
  *
4983
4983
  * Fetch posts from a subreddit listing (hot, new, or top).
4984
4984
  *
4985
- * Price: $0.0009 per request.
4985
+ * Price: $0.00045 per request.
4986
4986
  *
4987
4987
  * @example
4988
4988
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -5011,7 +5011,7 @@ var RedditNamespace = class {
5011
5011
  *
5012
5012
  * Search posts within a single subreddit by query, sort, and timeframe.
5013
5013
  *
5014
- * Price: $0.0009 per request.
5014
+ * Price: $0.00045 per request.
5015
5015
  *
5016
5016
  * @example
5017
5017
  * const res = await client.reddit.subredditSearch({ subreddit: "Fitness", query: "push ups" });
@@ -5040,7 +5040,7 @@ var RedditNamespace = class {
5040
5040
  *
5041
5041
  * Get currently trending Reddit posts across all subreddits with stable cursor pagination.
5042
5042
  *
5043
- * Price: $0.00036 per request.
5043
+ * Price: $0.00018 per request.
5044
5044
  *
5045
5045
  * @example
5046
5046
  * const res = await client.reddit.trendingPosts({ limit: 25 });
@@ -5082,7 +5082,7 @@ var RedditNamespace = class {
5082
5082
  *
5083
5083
  * List a Reddit user's posts by username, sorted by new, top, hot, or controversial, with cursor pagination.
5084
5084
  *
5085
- * Price: $0.0009 per request.
5085
+ * Price: $0.00045 per request.
5086
5086
  *
5087
5087
  * @example
5088
5088
  * const res = await client.reddit.userPosts({ username: "spez" });
@@ -5865,7 +5865,7 @@ var TiktokNamespace = class {
5865
5865
  *
5866
5866
  * Search TikTok's EU Commercial Content Library by keyword or advertiser ID.
5867
5867
  *
5868
- * Price: $0.0009 per request.
5868
+ * Price: $0.00045 per request.
5869
5869
  *
5870
5870
  * @example
5871
5871
  * const res = await client.tiktok.adTransparencySearch({ days: 30, limit: 20, query: "nike", region: "DE" });
@@ -5994,7 +5994,7 @@ var TiktokNamespace = class {
5994
5994
  *
5995
5995
  * List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
5996
5996
  *
5997
- * Price: $0.00144 per request.
5997
+ * Price: $0.00072 per request.
5998
5998
  *
5999
5999
  * @example
6000
6000
  * const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
@@ -6033,7 +6033,7 @@ var TiktokNamespace = class {
6033
6033
  *
6034
6034
  * Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
6035
6035
  *
6036
- * Price: $0.0009 per request.
6036
+ * Price: $0.00045 per request.
6037
6037
  *
6038
6038
  * @example
6039
6039
  * const res = await client.tiktok.profile({ handle: "zachking" });
@@ -6298,7 +6298,7 @@ var TiktokNamespace = class {
6298
6298
  *
6299
6299
  * Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
6300
6300
  *
6301
- * Price: $0.0009 per request.
6301
+ * Price: $0.00045 per request.
6302
6302
  *
6303
6303
  * @example
6304
6304
  * 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" });
@@ -6311,7 +6311,7 @@ var TiktokNamespace = class {
6311
6311
  *
6312
6312
  * List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count).
6313
6313
  *
6314
- * Price: $0.00144 per request.
6314
+ * Price: $0.00072 per request.
6315
6315
  *
6316
6316
  * @example
6317
6317
  * 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" });
@@ -6672,7 +6672,7 @@ var TwitterNamespace = class {
6672
6672
  *
6673
6673
  * Fetch a Twitter/X community's public details (name, description, member count, join policy) by URL.
6674
6674
  *
6675
- * Price: $0.00018 per request.
6675
+ * Price: $0.00009 per request.
6676
6676
  *
6677
6677
  * @example
6678
6678
  * const res = await client.twitter.community({ url: "https://x.com/i/communities/1926186499399139650" });
@@ -6756,7 +6756,7 @@ var TwitterNamespace = class {
6756
6756
  *
6757
6757
  * Fetch a Twitter/X account's public profile (followers, tweets, bio, verification) by handle.
6758
6758
  *
6759
- * Price: $0.0003 per request.
6759
+ * Price: $0.00022 per request.
6760
6760
  *
6761
6761
  * @example
6762
6762
  * const res = await client.twitter.profile({ handle: "nasa" });
@@ -6811,7 +6811,7 @@ var TwitterNamespace = class {
6811
6811
  *
6812
6812
  * Search X (Twitter) communities by keyword and get their id, name, topic, and member count with cursor pagination. This is how you find a community URL to pass to twitter.community or twitter.community_tweets.
6813
6813
  *
6814
- * Price: $0.00018 per request plus $0.00018 per result (maximum $0.00198).
6814
+ * Price: $0.00009 per request plus $0.00009 per result (maximum $0.00099).
6815
6815
  *
6816
6816
  * @example
6817
6817
  * const res = await client.twitter.searchCommunities({ query: "artificial intelligence" });
@@ -6882,7 +6882,7 @@ var TwitterNamespace = class {
6882
6882
  *
6883
6883
  * Get current X (Twitter) trends for worldwide, a country, or a city in X ranking order, including the resolved location.
6884
6884
  *
6885
- * Price: $0.00018 per request.
6885
+ * Price: $0.00009 per request.
6886
6886
  *
6887
6887
  * @example
6888
6888
  * const res = await client.twitter.trends({ limit: 10, location: "US" });
@@ -6895,7 +6895,7 @@ var TwitterNamespace = class {
6895
6895
  *
6896
6896
  * Fetch a single Twitter/X tweet by URL with its full text and engagement counts (likes, retweets, replies, quotes, bookmarks, views).
6897
6897
  *
6898
- * Price: $0.0003 per request.
6898
+ * Price: $0.00022 per request.
6899
6899
  *
6900
6900
  * @example
6901
6901
  * const res = await client.twitter.tweet({ url: "https://x.com/SpaceX/status/1732824684683784516" });
@@ -7249,7 +7249,7 @@ var YoutubeNamespace = class {
7249
7249
  *
7250
7250
  * Fetch a YouTube channel's stats (subscribers, video count, total views, description) by handle or channel ID.
7251
7251
  *
7252
- * Price: $0.0009 per request.
7252
+ * Price: $0.00045 per request.
7253
7253
  *
7254
7254
  * @example
7255
7255
  * const res = await client.youtube.channel({ handle: "@mkbhd" });
@@ -7391,7 +7391,7 @@ var YoutubeNamespace = class {
7391
7391
  *
7392
7392
  * List a YouTube channel's videos by handle or channel ID with cursor pagination (title, views, length, publish time).
7393
7393
  *
7394
- * Price: $0.0009 per request.
7394
+ * Price: $0.00045 per request.
7395
7395
  *
7396
7396
  * @example
7397
7397
  * const res = await client.youtube.channelVideos({ handle: "@mkbhd" });
@@ -7459,7 +7459,7 @@ var YoutubeNamespace = class {
7459
7459
  *
7460
7460
  * Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
7461
7461
  *
7462
- * Price: $0.0008 per request.
7462
+ * Price: $0.00045 per request.
7463
7463
  *
7464
7464
  * @example
7465
7465
  * const res = await client.youtube.search({ query: "how to cook rice" });
@@ -7721,7 +7721,7 @@ var ZillowNamespace = class {
7721
7721
  *
7722
7722
  * Fetch full details for a single Zillow property listing by URL (price, facts and features, photos, and price/tax history).
7723
7723
  *
7724
- * Price: $0.0009 per request.
7724
+ * Price: $0.00045 per request.
7725
7725
  *
7726
7726
  * @example
7727
7727
  * const res = await client.zillow.property({ url: "https://www.zillow.com/homedetails/4510-Secure-Ln-Austin-TX-78725/83126034_zpid/" });
@@ -7734,7 +7734,7 @@ var ZillowNamespace = class {
7734
7734
  *
7735
7735
  * Search Zillow for-sale, rental, or sold listings by region-level location (city, ZIP, county, or neighborhood) with optional price, bedroom, living-area, home-type, recency, and sort filters and get matching properties (price, address, beds, baths, living area, status, Zestimate) as normalized JSON.
7736
7736
  *
7737
- * Price: $0.0009 per request.
7737
+ * Price: $0.00045 per request.
7738
7738
  *
7739
7739
  * @example
7740
7740
  * const res = await client.zillow.search({ location: "Austin, TX", limit: 3, maxPrice: 900000, minBedrooms: 3, operation: "buy" });