@getanyapi/sdk 0.37.0 → 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.js CHANGED
@@ -1160,7 +1160,7 @@ var AmazonNamespace = class {
1160
1160
  *
1161
1161
  * List the top-ranked products of any Amazon Best Sellers category (rank, title, price, and rating) in one normalized request.
1162
1162
  *
1163
- * Price: $0.0009 per request.
1163
+ * Price: $0.00045 per request.
1164
1164
  *
1165
1165
  * @example
1166
1166
  * const res = await client.amazon.bestsellers({ url: "https://www.amazon.com/gp/bestsellers/electronics", limit: 3 });
@@ -1173,7 +1173,7 @@ var AmazonNamespace = class {
1173
1173
  *
1174
1174
  * Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
1175
1175
  *
1176
- * Price: $0.0018 per request.
1176
+ * Price: $0.0009 per request.
1177
1177
  *
1178
1178
  * @example
1179
1179
  * const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
@@ -1186,7 +1186,7 @@ var AmazonNamespace = class {
1186
1186
  *
1187
1187
  * Pull up to 50 customer reviews for any Amazon product by ASIN or URL: rating, title, text, date, and verified-purchase badge.
1188
1188
  *
1189
- * Price: $0.0018 per request.
1189
+ * Price: $0.0009 per request.
1190
1190
  *
1191
1191
  * @example
1192
1192
  * const res = await client.amazon.reviews({ product: "B07PXGQC1Q", limit: 3 });
@@ -1199,7 +1199,7 @@ var AmazonNamespace = class {
1199
1199
  *
1200
1200
  * Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
1201
1201
  *
1202
- * Price: $0.0009 per request.
1202
+ * Price: $0.00045 per request.
1203
1203
  *
1204
1204
  * @example
1205
1205
  * const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
@@ -1811,7 +1811,7 @@ var EbayNamespace = class {
1811
1811
  *
1812
1812
  * 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).
1813
1813
  *
1814
- * Price: $0.0009 per request.
1814
+ * Price: $0.00045 per request.
1815
1815
  *
1816
1816
  * @example
1817
1817
  * const res = await client.ebay.product({ url: "https://www.ebay.com/itm/133576802017" });
@@ -1837,7 +1837,7 @@ var EbayNamespace = class {
1837
1837
  *
1838
1838
  * 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.
1839
1839
  *
1840
- * Price: $0.0009 per request.
1840
+ * Price: $0.00045 per request.
1841
1841
  *
1842
1842
  * @example
1843
1843
  * const res = await client.ebay.search({ query: "nintendo switch", limit: 3, sort: "price_low" });
@@ -2649,7 +2649,7 @@ var GeminiNamespace = class {
2649
2649
  *
2650
2650
  * Ask Gemini a web-grounded question and receive an answer with source citations.
2651
2651
  *
2652
- * Price: $0.0036 per request.
2652
+ * Price: $0.0018 per request.
2653
2653
  *
2654
2654
  * @example
2655
2655
  * const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
@@ -2909,7 +2909,7 @@ var GoogleNamespace = class {
2909
2909
  *
2910
2910
  * 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.
2911
2911
  *
2912
- * Price: $0.00126 per request.
2912
+ * Price: $0.00063 per request.
2913
2913
  *
2914
2914
  * @example
2915
2915
  * const res = await client.google.aiMode({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
@@ -3013,7 +3013,7 @@ var GoogleNamespace = class {
3013
3013
  *
3014
3014
  * 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.
3015
3015
  *
3016
- * Price: $0.0009 per request.
3016
+ * Price: $0.00063 per request.
3017
3017
  *
3018
3018
  * @example
3019
3019
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -3527,7 +3527,7 @@ var InstagramNamespace = class {
3527
3527
  *
3528
3528
  * List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).
3529
3529
  *
3530
- * Price: $0.00144 per request.
3530
+ * Price: $0.00072 per request.
3531
3531
  *
3532
3532
  * @example
3533
3533
  * const res = await client.instagram.postComments({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
@@ -3556,7 +3556,7 @@ var InstagramNamespace = class {
3556
3556
  *
3557
3557
  * Fetch an Instagram account's public profile (followers, posts, bio, verification) by handle.
3558
3558
  *
3559
- * Price: $0.0009 per request.
3559
+ * Price: $0.00045 per request.
3560
3560
  *
3561
3561
  * @example
3562
3562
  * const res = await client.instagram.profile({ handle: "nasa" });
@@ -3990,7 +3990,7 @@ var LinkedinNamespace = class {
3990
3990
  *
3991
3991
  * Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
3992
3992
  *
3993
- * Price: $0.00066 per request.
3993
+ * Price: $0.00045 per request.
3994
3994
  *
3995
3995
  * @example
3996
3996
  * 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
  * Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
4005
4005
  *
4006
- * Price: $0.0009 per request.
4006
+ * Price: $0.00045 per request.
4007
4007
  *
4008
4008
  * @example
4009
4009
  * const res = await client.linkedin.post({ url: "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs" });
@@ -4094,7 +4094,7 @@ var LinkedinNamespace = class {
4094
4094
  *
4095
4095
  * 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.
4096
4096
  *
4097
- * Price: $0.00144 per request.
4097
+ * Price: $0.00072 per request.
4098
4098
  *
4099
4099
  * @example
4100
4100
  * const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
@@ -4515,7 +4515,7 @@ var PerplexityNamespace = class {
4515
4515
  *
4516
4516
  * Ask Perplexity a web-grounded question and receive an answer with source citations.
4517
4517
  *
4518
- * Price: $0.0036 per request.
4518
+ * Price: $0.0018 per request.
4519
4519
  *
4520
4520
  * @example
4521
4521
  * const res = await client.perplexity.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
@@ -4757,7 +4757,7 @@ var RedditNamespace = class {
4757
4757
  *
4758
4758
  * Fetch a single Reddit post by URL, including its full body text, score, comment count, upvote ratio, and subreddit, as normalized JSON.
4759
4759
  *
4760
- * Price: $0.0012 per request.
4760
+ * Price: $0.00045 per request.
4761
4761
  *
4762
4762
  * @example
4763
4763
  * const res = await client.reddit.post({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
@@ -4825,7 +4825,7 @@ var RedditNamespace = class {
4825
4825
  *
4826
4826
  * Search Reddit posts across all subreddits by query.
4827
4827
  *
4828
- * Price: $0.0012 per request.
4828
+ * Price: $0.00045 per request.
4829
4829
  *
4830
4830
  * @example
4831
4831
  * const res = await client.reddit.search({ query: "mechanical keyboard" });
@@ -4867,7 +4867,7 @@ var RedditNamespace = class {
4867
4867
  *
4868
4868
  * Fetch posts from a subreddit listing (hot, new, or top).
4869
4869
  *
4870
- * Price: $0.0009 per request.
4870
+ * Price: $0.00045 per request.
4871
4871
  *
4872
4872
  * @example
4873
4873
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -4896,7 +4896,7 @@ var RedditNamespace = class {
4896
4896
  *
4897
4897
  * Search posts within a single subreddit by query, sort, and timeframe.
4898
4898
  *
4899
- * Price: $0.0009 per request.
4899
+ * Price: $0.00045 per request.
4900
4900
  *
4901
4901
  * @example
4902
4902
  * const res = await client.reddit.subredditSearch({ subreddit: "Fitness", query: "push ups" });
@@ -4925,7 +4925,7 @@ var RedditNamespace = class {
4925
4925
  *
4926
4926
  * Get currently trending Reddit posts across all subreddits with stable cursor pagination.
4927
4927
  *
4928
- * Price: $0.00036 per request.
4928
+ * Price: $0.00018 per request.
4929
4929
  *
4930
4930
  * @example
4931
4931
  * const res = await client.reddit.trendingPosts({ limit: 25 });
@@ -4967,7 +4967,7 @@ var RedditNamespace = class {
4967
4967
  *
4968
4968
  * List a Reddit user's posts by username, sorted by new, top, hot, or controversial, with cursor pagination.
4969
4969
  *
4970
- * Price: $0.0009 per request.
4970
+ * Price: $0.00045 per request.
4971
4971
  *
4972
4972
  * @example
4973
4973
  * const res = await client.reddit.userPosts({ username: "spez" });
@@ -5750,7 +5750,7 @@ var TiktokNamespace = class {
5750
5750
  *
5751
5751
  * Search TikTok's EU Commercial Content Library by keyword or advertiser ID.
5752
5752
  *
5753
- * Price: $0.0009 per request.
5753
+ * Price: $0.00045 per request.
5754
5754
  *
5755
5755
  * @example
5756
5756
  * const res = await client.tiktok.adTransparencySearch({ days: 30, limit: 20, query: "nike", region: "DE" });
@@ -5879,7 +5879,7 @@ var TiktokNamespace = class {
5879
5879
  *
5880
5880
  * List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
5881
5881
  *
5882
- * Price: $0.00144 per request.
5882
+ * Price: $0.00072 per request.
5883
5883
  *
5884
5884
  * @example
5885
5885
  * const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
@@ -5918,7 +5918,7 @@ var TiktokNamespace = class {
5918
5918
  *
5919
5919
  * Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
5920
5920
  *
5921
- * Price: $0.0009 per request.
5921
+ * Price: $0.00045 per request.
5922
5922
  *
5923
5923
  * @example
5924
5924
  * const res = await client.tiktok.profile({ handle: "zachking" });
@@ -6183,7 +6183,7 @@ var TiktokNamespace = class {
6183
6183
  *
6184
6184
  * Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
6185
6185
  *
6186
- * Price: $0.0009 per request.
6186
+ * Price: $0.00045 per request.
6187
6187
  *
6188
6188
  * @example
6189
6189
  * 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" });
@@ -6196,7 +6196,7 @@ var TiktokNamespace = class {
6196
6196
  *
6197
6197
  * List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count).
6198
6198
  *
6199
- * Price: $0.00144 per request.
6199
+ * Price: $0.00072 per request.
6200
6200
  *
6201
6201
  * @example
6202
6202
  * 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" });
@@ -6557,7 +6557,7 @@ var TwitterNamespace = class {
6557
6557
  *
6558
6558
  * Fetch a Twitter/X community's public details (name, description, member count, join policy) by URL.
6559
6559
  *
6560
- * Price: $0.00018 per request.
6560
+ * Price: $0.00009 per request.
6561
6561
  *
6562
6562
  * @example
6563
6563
  * const res = await client.twitter.community({ url: "https://x.com/i/communities/1926186499399139650" });
@@ -6641,7 +6641,7 @@ var TwitterNamespace = class {
6641
6641
  *
6642
6642
  * Fetch a Twitter/X account's public profile (followers, tweets, bio, verification) by handle.
6643
6643
  *
6644
- * Price: $0.0003 per request.
6644
+ * Price: $0.00022 per request.
6645
6645
  *
6646
6646
  * @example
6647
6647
  * const res = await client.twitter.profile({ handle: "nasa" });
@@ -6696,7 +6696,7 @@ var TwitterNamespace = class {
6696
6696
  *
6697
6697
  * 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.
6698
6698
  *
6699
- * Price: $0.00018 per request plus $0.00018 per result (maximum $0.00198).
6699
+ * Price: $0.00009 per request plus $0.00009 per result (maximum $0.00099).
6700
6700
  *
6701
6701
  * @example
6702
6702
  * const res = await client.twitter.searchCommunities({ query: "artificial intelligence" });
@@ -6767,7 +6767,7 @@ var TwitterNamespace = class {
6767
6767
  *
6768
6768
  * Get current X (Twitter) trends for worldwide, a country, or a city in X ranking order, including the resolved location.
6769
6769
  *
6770
- * Price: $0.00018 per request.
6770
+ * Price: $0.00009 per request.
6771
6771
  *
6772
6772
  * @example
6773
6773
  * const res = await client.twitter.trends({ limit: 10, location: "US" });
@@ -6780,7 +6780,7 @@ var TwitterNamespace = class {
6780
6780
  *
6781
6781
  * Fetch a single Twitter/X tweet by URL with its full text and engagement counts (likes, retweets, replies, quotes, bookmarks, views).
6782
6782
  *
6783
- * Price: $0.0003 per request.
6783
+ * Price: $0.00022 per request.
6784
6784
  *
6785
6785
  * @example
6786
6786
  * const res = await client.twitter.tweet({ url: "https://x.com/SpaceX/status/1732824684683784516" });
@@ -7134,7 +7134,7 @@ var YoutubeNamespace = class {
7134
7134
  *
7135
7135
  * Fetch a YouTube channel's stats (subscribers, video count, total views, description) by handle or channel ID.
7136
7136
  *
7137
- * Price: $0.0009 per request.
7137
+ * Price: $0.00045 per request.
7138
7138
  *
7139
7139
  * @example
7140
7140
  * const res = await client.youtube.channel({ handle: "@mkbhd" });
@@ -7276,7 +7276,7 @@ var YoutubeNamespace = class {
7276
7276
  *
7277
7277
  * List a YouTube channel's videos by handle or channel ID with cursor pagination (title, views, length, publish time).
7278
7278
  *
7279
- * Price: $0.0009 per request.
7279
+ * Price: $0.00045 per request.
7280
7280
  *
7281
7281
  * @example
7282
7282
  * const res = await client.youtube.channelVideos({ handle: "@mkbhd" });
@@ -7344,7 +7344,7 @@ var YoutubeNamespace = class {
7344
7344
  *
7345
7345
  * Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
7346
7346
  *
7347
- * Price: $0.0008 per request.
7347
+ * Price: $0.00045 per request.
7348
7348
  *
7349
7349
  * @example
7350
7350
  * const res = await client.youtube.search({ query: "how to cook rice" });
@@ -7606,7 +7606,7 @@ var ZillowNamespace = class {
7606
7606
  *
7607
7607
  * Fetch full details for a single Zillow property listing by URL (price, facts and features, photos, and price/tax history).
7608
7608
  *
7609
- * Price: $0.0009 per request.
7609
+ * Price: $0.00045 per request.
7610
7610
  *
7611
7611
  * @example
7612
7612
  * const res = await client.zillow.property({ url: "https://www.zillow.com/homedetails/4510-Secure-Ln-Austin-TX-78725/83126034_zpid/" });
@@ -7619,7 +7619,7 @@ var ZillowNamespace = class {
7619
7619
  *
7620
7620
  * 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.
7621
7621
  *
7622
- * Price: $0.0009 per request.
7622
+ * Price: $0.00045 per request.
7623
7623
  *
7624
7624
  * @example
7625
7625
  * const res = await client.zillow.search({ location: "Austin, TX", limit: 3, maxPrice: 900000, minBedrooms: 3, operation: "buy" });