@getanyapi/sdk 0.153.1 → 0.154.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
@@ -1701,7 +1701,7 @@ var BookingNamespace = class {
1701
1701
  *
1702
1702
  * Search Booking.com stays by destination and dates with optional guest and room occupancy and get hotel results (name, price, review score, location) as normalized JSON.
1703
1703
  *
1704
- * Price: $0.0008 per request.
1704
+ * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
1705
1705
  *
1706
1706
  * @example
1707
1707
  * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-16", checkOut: "2026-12-18", limit: 3 });
@@ -5704,7 +5704,7 @@ var MapsNamespace = class {
5704
5704
  *
5705
5705
  * Search Google Maps for places matching a query and location: up to 20 normalized place records with ratings, addresses, and contact basics per request.
5706
5706
  *
5707
- * Price: $0.0015 per request.
5707
+ * Price: $0.00148 per request.
5708
5708
  *
5709
5709
  * @example
5710
5710
  * const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3 });
@@ -6474,7 +6474,7 @@ var RedditNamespace = class {
6474
6474
  *
6475
6475
  * Get a Reddit user's profile picture URL, karma, and account age by username. The cheapest Reddit user lookup; use reddit.profile for bio, trophies, and post and comment counts.
6476
6476
  *
6477
- * Price: $0.00038 per request.
6477
+ * Price: $0.00036 per request.
6478
6478
  *
6479
6479
  * @example
6480
6480
  * const res = await client.reddit.avatar({ username: "spez" });
@@ -6500,7 +6500,7 @@ var RedditNamespace = class {
6500
6500
  *
6501
6501
  * List the comments on a Reddit post by URL (author, body, score, timestamp, parent comment). Replies carry the parentId of the comment they answer.
6502
6502
  *
6503
- * Price: $0.0006 per request.
6503
+ * Price: $0.00058 per request.
6504
6504
  *
6505
6505
  * @example
6506
6506
  * const res = await client.reddit.postComments({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
@@ -6584,7 +6584,7 @@ var RedditNamespace = class {
6584
6584
  *
6585
6585
  * Fetch a subreddit's metadata (weekly active users, description, and category).
6586
6586
  *
6587
- * Price: $0.00038 per request.
6587
+ * Price: $0.00036 per request.
6588
6588
  *
6589
6589
  * @example
6590
6590
  * const res = await client.reddit.subredditDetails({ subreddit: "programming" });
@@ -8782,7 +8782,7 @@ var TrustpilotNamespace = class {
8782
8782
  *
8783
8783
  * Pull Trustpilot reviews for any company by brand name: star ratings, review text, dates, and reviewer details as clean JSON.
8784
8784
  *
8785
- * Price: $0.0008 per request.
8785
+ * Price: $0.00214 per request.
8786
8786
  *
8787
8787
  * @example
8788
8788
  * const res = await client.trustpilot.reviews({ company: "stripe.com", limit: 3 });
@@ -9005,7 +9005,7 @@ var TwitterNamespace = class {
9005
9005
  *
9006
9006
  * Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane.
9007
9007
  *
9008
- * Price: $0.00049 per request.
9008
+ * Price: $0.00048 per request.
9009
9009
  *
9010
9010
  * @example
9011
9011
  * const res = await client.twitter.search({ query: "openai" });
@@ -9144,7 +9144,7 @@ var TwitterNamespace = class {
9144
9144
  *
9145
9145
  * Get an X (Twitter) account's profile Posts-tab timeline by handle. Results follow profile order: a pinned post may appear first, followed by otherwise reverse-chronological authored posts, reposts, quotes, and self-thread continuations.
9146
9146
  *
9147
- * Price: $0.00045 per request.
9147
+ * Price: $0.00044 per request.
9148
9148
  *
9149
9149
  * @example
9150
9150
  * const res = await client.twitter.userPosts({ handle: "levelsio" });
@@ -9173,7 +9173,7 @@ var TwitterNamespace = class {
9173
9173
  *
9174
9174
  * Get up to the requested limit of tweets and replies authored by an X (Twitter) account, with engagement, views, language, and cursor pagination where available.
9175
9175
  *
9176
- * Price: $0.00045 per request.
9176
+ * Price: $0.00044 per request.
9177
9177
  *
9178
9178
  * @example
9179
9179
  * const res = await client.twitter.userTweets({ handle: "levelsio", limit: 20 });
@@ -9590,6 +9590,19 @@ var YoutubeNamespace = class {
9590
9590
  options
9591
9591
  );
9592
9592
  }
9593
+ /**
9594
+ * YouTube Channel Contact Email
9595
+ *
9596
+ * Reveal the business inquiry email a YouTube creator publishes behind the channel's View email address button. YouTube gates that address behind a signed-in Google session and a CAPTCHA, so it is absent from the channel page a logged-out scraper reads. A lookup the source has not revealed yet takes minutes to hours: it is charged when the lookup starts, refunded automatically if no email is found within 48 hours, and the call returns a request id at once with a link that collects the answer later with no API key.
9597
+ *
9598
+ * Price: $0.132 per request plus $0 per result (maximum $0.132).
9599
+ *
9600
+ * @example
9601
+ * const res = await client.youtube.channelContact({ handle: "@mkbhd" });
9602
+ */
9603
+ channelContact(input, options) {
9604
+ return this._core.run("youtube.channel_contact", input, options);
9605
+ }
9593
9606
  /**
9594
9607
  * YouTube Channel Live Streams
9595
9608
  *
@@ -9763,7 +9776,7 @@ var YoutubeNamespace = class {
9763
9776
  *
9764
9777
  * Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
9765
9778
  *
9766
- * Price: $0.0005 per request.
9779
+ * Price: $0.00048 per request.
9767
9780
  *
9768
9781
  * @example
9769
9782
  * const res = await client.youtube.search({ query: "how to cook rice" });
@@ -9863,7 +9876,7 @@ var YoutubeNamespace = class {
9863
9876
  *
9864
9877
  * Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
9865
9878
  *
9866
- * Price: $0.0008 per request.
9879
+ * Price: $0.00078 per request.
9867
9880
  *
9868
9881
  * @example
9869
9882
  * const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
@@ -9876,7 +9889,7 @@ var YoutubeNamespace = class {
9876
9889
  *
9877
9890
  * List the comments on a YouTube video or Short by URL with cursor pagination (text, author, likes, reply count).
9878
9891
  *
9879
- * Price: $0.0008 per request.
9892
+ * Price: $0.00078 per request.
9880
9893
  *
9881
9894
  * @example
9882
9895
  * const res = await client.youtube.videoComments({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });