@getanyapi/sdk 0.101.5 → 0.103.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
@@ -1294,7 +1294,7 @@ var AmazonNamespace = class {
1294
1294
  *
1295
1295
  * List the top-ranked products of any Amazon Best Sellers category (rank, title, price, and rating) in one normalized request.
1296
1296
  *
1297
- * Price: $0.00075 per request.
1297
+ * Price: $0.00105 per request.
1298
1298
  *
1299
1299
  * @example
1300
1300
  * const res = await client.amazon.bestsellers({ url: "https://www.amazon.com/gp/bestsellers/electronics", limit: 3 });
@@ -1307,7 +1307,7 @@ var AmazonNamespace = class {
1307
1307
  *
1308
1308
  * Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
1309
1309
  *
1310
- * Price: $0.001 per request.
1310
+ * Price: $0.0013 per request.
1311
1311
  *
1312
1312
  * @example
1313
1313
  * const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
@@ -1320,7 +1320,7 @@ var AmazonNamespace = class {
1320
1320
  *
1321
1321
  * Pull up to 50 customer reviews for any Amazon product by ASIN or URL: rating, title, text, date, and verified-purchase badge.
1322
1322
  *
1323
- * Price: $0.001 per request.
1323
+ * Price: $0.0013 per request.
1324
1324
  *
1325
1325
  * @example
1326
1326
  * const res = await client.amazon.reviews({ product: "B07PXGQC1Q", limit: 3 });
@@ -1553,7 +1553,7 @@ var BookingNamespace = class {
1553
1553
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
1554
1554
  *
1555
1555
  * @example
1556
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-13", checkOut: "2026-11-15", limit: 3 });
1556
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-14", checkOut: "2026-11-16", limit: 3 });
1557
1557
  */
1558
1558
  search(input, options) {
1559
1559
  return this._core.run("booking.search", input, options);
@@ -2024,7 +2024,7 @@ var EbayNamespace = class {
2024
2024
  *
2025
2025
  * 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).
2026
2026
  *
2027
- * Price: $0.00075 per request.
2027
+ * Price: $0.0012 per request.
2028
2028
  *
2029
2029
  * @example
2030
2030
  * const res = await client.ebay.product({ url: "https://www.ebay.com/itm/133576802017" });
@@ -2050,7 +2050,7 @@ var EbayNamespace = class {
2050
2050
  *
2051
2051
  * 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.
2052
2052
  *
2053
- * Price: $0.00075 per request.
2053
+ * Price: $0.0012 per request.
2054
2054
  *
2055
2055
  * @example
2056
2056
  * const res = await client.ebay.search({ query: "nintendo switch", limit: 3, sort: "price_low" });
@@ -2757,7 +2757,7 @@ var FacebookNamespace = class {
2757
2757
  *
2758
2758
  * List a Facebook page's recent posts by URL or page id with cursor pagination (text, author, publication time, permalink).
2759
2759
  *
2760
- * Price: $0.0011 per request.
2760
+ * Price: $0.0012 per request.
2761
2761
  *
2762
2762
  * @example
2763
2763
  * const res = await client.facebook.profilePosts({ url: "https://www.facebook.com/nike" });
@@ -3164,7 +3164,7 @@ var GoogleNamespace = class {
3164
3164
  *
3165
3165
  * 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.
3166
3166
  *
3167
- * Price: $0.0007 per request.
3167
+ * Price: $0.002 per request.
3168
3168
  *
3169
3169
  * @example
3170
3170
  * const res = await client.google.aiMode({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
@@ -3177,7 +3177,7 @@ var GoogleNamespace = class {
3177
3177
  *
3178
3178
  * Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
3179
3179
  *
3180
- * Price: $0.0048 per request.
3180
+ * Price: $0.0015 per request.
3181
3181
  *
3182
3182
  * @example
3183
3183
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -3281,7 +3281,7 @@ var GoogleNamespace = class {
3281
3281
  *
3282
3282
  * 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. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
3283
3283
  *
3284
- * Price: $0.0005 per request.
3284
+ * Price: $0.0004 per request.
3285
3285
  *
3286
3286
  * @example
3287
3287
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -3323,7 +3323,7 @@ var GoogleNamespace = class {
3323
3323
  *
3324
3324
  * Google Trends interest over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Interest over time only, not related queries or regions.
3325
3325
  *
3326
- * Price: $0.0007 per request.
3326
+ * Price: $0.002 per request.
3327
3327
  *
3328
3328
  * @example
3329
3329
  * const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
@@ -3457,7 +3457,7 @@ var GoogleHotelsNamespace = class {
3457
3457
  * Price: $0.0015 per request.
3458
3458
  *
3459
3459
  * @example
3460
- * const res = await client.googleHotels.details({ checkIn: "2026-11-13", checkOut: "2026-11-15", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3460
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-14", checkOut: "2026-11-16", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3461
3461
  */
3462
3462
  details(input, options) {
3463
3463
  return this._core.run("google_hotels.details", input, options);
@@ -3470,7 +3470,7 @@ var GoogleHotelsNamespace = class {
3470
3470
  * Price: $0.0015 per request.
3471
3471
  *
3472
3472
  * @example
3473
- * const res = await client.googleHotels.search({ checkIn: "2026-11-13", checkOut: "2026-11-15", country: "us", query: "hotels near times square new york" });
3473
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-14", checkOut: "2026-11-16", country: "us", query: "hotels near times square new york" });
3474
3474
  */
3475
3475
  search(input, options) {
3476
3476
  return this._core.run("google_hotels.search", input, options);
@@ -4515,7 +4515,7 @@ var LinkedinNamespace = class {
4515
4515
  *
4516
4516
  * Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
4517
4517
  *
4518
- * Price: $0.0005 per request.
4518
+ * Price: $0.00066 per request.
4519
4519
  *
4520
4520
  * @example
4521
4521
  * const res = await client.linkedin.jobsThin({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
@@ -4544,7 +4544,7 @@ var LinkedinNamespace = class {
4544
4544
  *
4545
4545
  * Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
4546
4546
  *
4547
- * Price: $0.0005 per request.
4547
+ * Price: $0.0008 per request.
4548
4548
  *
4549
4549
  * @example
4550
4550
  * const res = await client.linkedin.post({ url: "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs" });
@@ -5540,7 +5540,7 @@ var RedditNamespace = class {
5540
5540
  *
5541
5541
  * Fetch a Reddit user's public profile (karma split, post and comment counts, bio, avatar, account age) by username.
5542
5542
  *
5543
- * Price: $0.0012 per request.
5543
+ * Price: $0.0008 per request.
5544
5544
  *
5545
5545
  * @example
5546
5546
  * const res = await client.reddit.profile({ username: "spez" });
@@ -5553,7 +5553,7 @@ var RedditNamespace = class {
5553
5553
  *
5554
5554
  * Search Reddit posts across all subreddits by query.
5555
5555
  *
5556
- * Price: $0.00038 per request.
5556
+ * Price: $0.00035 per request.
5557
5557
  *
5558
5558
  * @example
5559
5559
  * const res = await client.reddit.search({ query: "mechanical keyboard" });
@@ -5624,7 +5624,7 @@ var RedditNamespace = class {
5624
5624
  *
5625
5625
  * Search posts within a single subreddit by query, sort, and timeframe.
5626
5626
  *
5627
- * Price: $0.00038 per request.
5627
+ * Price: $0.00035 per request.
5628
5628
  *
5629
5629
  * @example
5630
5630
  * const res = await client.reddit.subredditSearch({ subreddit: "Fitness", query: "push ups" });
@@ -5653,7 +5653,7 @@ var RedditNamespace = class {
5653
5653
  *
5654
5654
  * Get currently trending Reddit posts across all subreddits with stable cursor pagination.
5655
5655
  *
5656
- * Price: $0.0002 per request.
5656
+ * Price: $0.0003 per request.
5657
5657
  *
5658
5658
  * @example
5659
5659
  * const res = await client.reddit.trendingPosts({ limit: 25 });
@@ -5732,7 +5732,7 @@ var RedfinNamespace = class {
5732
5732
  *
5733
5733
  * Fetch full details for a single Redfin home by its listing URL (price, beds, baths, square feet, address, listing agent, description and photos) as normalized JSON.
5734
5734
  *
5735
- * Price: $0.0005 per request.
5735
+ * Price: $0.0008 per request.
5736
5736
  *
5737
5737
  * @example
5738
5738
  * const res = await client.redfin.property({ url: "https://www.redfin.com/TX/Austin/1819-Village-Oak-Ct-78704/home/30981993" });
@@ -6639,7 +6639,7 @@ var TiktokNamespace = class {
6639
6639
  *
6640
6640
  * Search TikTok's public Ads Library by keyword or advertiser (advertiser, title, audience band, run dates, library link, and video).
6641
6641
  *
6642
- * Price: $0.0005 per request.
6642
+ * Price: $0.0012 per request.
6643
6643
  *
6644
6644
  * @example
6645
6645
  * const res = await client.tiktok.adLibrarySearch({ query: "spotify" });
@@ -6668,7 +6668,7 @@ var TiktokNamespace = class {
6668
6668
  *
6669
6669
  * Search TikTok's EU Commercial Content Library by keyword or advertiser ID.
6670
6670
  *
6671
- * Price: $0.0005 per request.
6671
+ * Price: $0.0008 per request.
6672
6672
  *
6673
6673
  * @example
6674
6674
  * const res = await client.tiktok.adTransparencySearch({ days: 30, limit: 20, query: "nike", region: "DE" });
@@ -6797,7 +6797,7 @@ var TiktokNamespace = class {
6797
6797
  *
6798
6798
  * List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
6799
6799
  *
6800
- * Price: $0.0008 per request.
6800
+ * Price: $0.0012 per request.
6801
6801
  *
6802
6802
  * @example
6803
6803
  * const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
@@ -7794,7 +7794,7 @@ var TwitterNamespace = class {
7794
7794
  *
7795
7795
  * Search X (Twitter) accounts by keyword - the People tab of X search. Matches handles, display names, and profile bios, and returns normalized profile records with follower, following, and post counts plus cursor pagination. Use twitter.search for posts.
7796
7796
  *
7797
- * Price: $0.00075 per request.
7797
+ * Price: $0.0007 per request.
7798
7798
  *
7799
7799
  * @example
7800
7800
  * const res = await client.twitter.searchUsers({ query: "ai agents" });
@@ -8250,7 +8250,7 @@ var YoutubeNamespace = class {
8250
8250
  *
8251
8251
  * Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
8252
8252
  *
8253
- * Price: $0.0005 per request.
8253
+ * Price: $0.00045 per request.
8254
8254
  *
8255
8255
  * @example
8256
8256
  * const res = await client.youtube.channel({ handle: "@mkbhd" });
@@ -8405,7 +8405,7 @@ var YoutubeNamespace = class {
8405
8405
  *
8406
8406
  * List a YouTube channel's videos by handle or channel ID with cursor pagination (title, views, length, publish time).
8407
8407
  *
8408
- * Price: $0.0005 per request.
8408
+ * Price: $0.0008 per request.
8409
8409
  *
8410
8410
  * @example
8411
8411
  * const res = await client.youtube.channelVideos({ handle: "@mkbhd" });
@@ -8586,7 +8586,7 @@ var YoutubeNamespace = class {
8586
8586
  *
8587
8587
  * List the comments on a YouTube video or Short by URL with cursor pagination (text, author, likes, reply count).
8588
8588
  *
8589
- * Price: $0.0008 per request.
8589
+ * Price: $0.0012 per request.
8590
8590
  *
8591
8591
  * @example
8592
8592
  * const res = await client.youtube.videoComments({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
@@ -8735,7 +8735,7 @@ var ZillowNamespace = class {
8735
8735
  *
8736
8736
  * Fetch one Zillow real estate agent's profile by URL: name, phone, email, brokerage, rating, review count, sales, and service areas.
8737
8737
  *
8738
- * Price: $0.0005 per request.
8738
+ * Price: $0.0008 per request.
8739
8739
  *
8740
8740
  * @example
8741
8741
  * const res = await client.zillow.agent({ url: "https://www.zillow.com/profile/gregorycarlsonATX/" });
@@ -8748,7 +8748,7 @@ var ZillowNamespace = class {
8748
8748
  *
8749
8749
  * Fetch full details for a single Zillow property listing by URL (price, facts and features, photos, and price/tax history).
8750
8750
  *
8751
- * Price: $0.0005 per request.
8751
+ * Price: $0.0008 per request.
8752
8752
  *
8753
8753
  * @example
8754
8754
  * const res = await client.zillow.property({ url: "https://www.zillow.com/homedetails/4510-Secure-Ln-Austin-TX-78725/83126034_zpid/" });
@@ -8761,7 +8761,7 @@ var ZillowNamespace = class {
8761
8761
  *
8762
8762
  * 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.
8763
8763
  *
8764
- * Price: $0.0005 per request.
8764
+ * Price: $0.0008 per request.
8765
8765
  *
8766
8766
  * @example
8767
8767
  * const res = await client.zillow.search({ location: "Austin, TX", limit: 3, maxPrice: 900000, minBedrooms: 3, operation: "buy" });