@getanyapi/sdk 0.119.1 → 0.119.3

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.d.cts CHANGED
@@ -5780,7 +5780,7 @@ declare class BookingNamespace {
5780
5780
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
5781
5781
  *
5782
5782
  * @example
5783
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-17", checkOut: "2026-11-19", limit: 3 });
5783
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-18", checkOut: "2026-11-20", limit: 3 });
5784
5784
  */
5785
5785
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
5786
5786
  }
@@ -13741,7 +13741,7 @@ declare class EmailNamespace {
13741
13741
  *
13742
13742
  * Find a person's work email address from their name and company domain.
13743
13743
  *
13744
- * Price: $0.0154 per request.
13744
+ * Price: $0.0308 per request.
13745
13745
  *
13746
13746
  * @example
13747
13747
  * const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
@@ -23858,7 +23858,7 @@ declare class GoogleHotelsNamespace {
23858
23858
  * Price: $0.0015 per request.
23859
23859
  *
23860
23860
  * @example
23861
- * const res = await client.googleHotels.details({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
23861
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
23862
23862
  */
23863
23863
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
23864
23864
  /**
@@ -23869,7 +23869,7 @@ declare class GoogleHotelsNamespace {
23869
23869
  * Price: $0.0015 per request.
23870
23870
  *
23871
23871
  * @example
23872
- * const res = await client.googleHotels.search({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", query: "hotels near times square new york" });
23872
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", query: "hotels near times square new york" });
23873
23873
  */
23874
23874
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
23875
23875
  }
@@ -29268,7 +29268,7 @@ declare class InstagramNamespace {
29268
29268
  *
29269
29269
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
29270
29270
  *
29271
- * Price: $0.00175 per request.
29271
+ * Price: $0.027 per request.
29272
29272
  *
29273
29273
  * @example
29274
29274
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -35635,7 +35635,7 @@ declare class LinkedinNamespace {
35635
35635
  *
35636
35636
  * Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
35637
35637
  *
35638
- * Price: $0 per request plus $0.00143 per result (maximum $0.143).
35638
+ * Price: $0.005 per request.
35639
35639
  *
35640
35640
  * @example
35641
35641
  * const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
@@ -60281,7 +60281,7 @@ declare class TiktokNamespace {
60281
60281
  *
60282
60282
  * Find the public contact email behind a TikTok creator's profile: the address written into the bio plus any published on the site the profile links to, each labelled with where it came from. Returns the creator's profile stats and linked social accounts alongside.
60283
60283
  *
60284
- * Price: $0.00116 per request plus $0 per result (maximum $0.00116).
60284
+ * Price: $0.00187 per request plus $0 per result (maximum $0.00187).
60285
60285
  *
60286
60286
  * @example
60287
60287
  * const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
@@ -60498,7 +60498,7 @@ declare class TiktokNamespace {
60498
60498
  *
60499
60499
  * Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
60500
60500
  *
60501
- * Price: $0.0012 per request.
60501
+ * Price: $0.0008 per request.
60502
60502
  *
60503
60503
  * @example
60504
60504
  * const res = await client.tiktok.trendingFeed({ region: "US" });
@@ -60520,7 +60520,7 @@ declare class TiktokNamespace {
60520
60520
  *
60521
60521
  * Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
60522
60522
  *
60523
- * Price: $0.00045 per request.
60523
+ * Price: $0.0004 per request.
60524
60524
  *
60525
60525
  * @example
60526
60526
  * 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" });
package/dist/index.d.ts CHANGED
@@ -5780,7 +5780,7 @@ declare class BookingNamespace {
5780
5780
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
5781
5781
  *
5782
5782
  * @example
5783
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-17", checkOut: "2026-11-19", limit: 3 });
5783
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-18", checkOut: "2026-11-20", limit: 3 });
5784
5784
  */
5785
5785
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
5786
5786
  }
@@ -13741,7 +13741,7 @@ declare class EmailNamespace {
13741
13741
  *
13742
13742
  * Find a person's work email address from their name and company domain.
13743
13743
  *
13744
- * Price: $0.0154 per request.
13744
+ * Price: $0.0308 per request.
13745
13745
  *
13746
13746
  * @example
13747
13747
  * const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
@@ -23858,7 +23858,7 @@ declare class GoogleHotelsNamespace {
23858
23858
  * Price: $0.0015 per request.
23859
23859
  *
23860
23860
  * @example
23861
- * const res = await client.googleHotels.details({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
23861
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
23862
23862
  */
23863
23863
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
23864
23864
  /**
@@ -23869,7 +23869,7 @@ declare class GoogleHotelsNamespace {
23869
23869
  * Price: $0.0015 per request.
23870
23870
  *
23871
23871
  * @example
23872
- * const res = await client.googleHotels.search({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", query: "hotels near times square new york" });
23872
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", query: "hotels near times square new york" });
23873
23873
  */
23874
23874
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
23875
23875
  }
@@ -29268,7 +29268,7 @@ declare class InstagramNamespace {
29268
29268
  *
29269
29269
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
29270
29270
  *
29271
- * Price: $0.00175 per request.
29271
+ * Price: $0.027 per request.
29272
29272
  *
29273
29273
  * @example
29274
29274
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -35635,7 +35635,7 @@ declare class LinkedinNamespace {
35635
35635
  *
35636
35636
  * Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
35637
35637
  *
35638
- * Price: $0 per request plus $0.00143 per result (maximum $0.143).
35638
+ * Price: $0.005 per request.
35639
35639
  *
35640
35640
  * @example
35641
35641
  * const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
@@ -60281,7 +60281,7 @@ declare class TiktokNamespace {
60281
60281
  *
60282
60282
  * Find the public contact email behind a TikTok creator's profile: the address written into the bio plus any published on the site the profile links to, each labelled with where it came from. Returns the creator's profile stats and linked social accounts alongside.
60283
60283
  *
60284
- * Price: $0.00116 per request plus $0 per result (maximum $0.00116).
60284
+ * Price: $0.00187 per request plus $0 per result (maximum $0.00187).
60285
60285
  *
60286
60286
  * @example
60287
60287
  * const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
@@ -60498,7 +60498,7 @@ declare class TiktokNamespace {
60498
60498
  *
60499
60499
  * Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
60500
60500
  *
60501
- * Price: $0.0012 per request.
60501
+ * Price: $0.0008 per request.
60502
60502
  *
60503
60503
  * @example
60504
60504
  * const res = await client.tiktok.trendingFeed({ region: "US" });
@@ -60520,7 +60520,7 @@ declare class TiktokNamespace {
60520
60520
  *
60521
60521
  * Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
60522
60522
  *
60523
- * Price: $0.00045 per request.
60523
+ * Price: $0.0004 per request.
60524
60524
  *
60525
60525
  * @example
60526
60526
  * 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" });
package/dist/index.js CHANGED
@@ -1491,7 +1491,7 @@ var BookingNamespace = class {
1491
1491
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
1492
1492
  *
1493
1493
  * @example
1494
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-17", checkOut: "2026-11-19", limit: 3 });
1494
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-18", checkOut: "2026-11-20", limit: 3 });
1495
1495
  */
1496
1496
  search(input, options) {
1497
1497
  return this._core.run("booking.search", input, options);
@@ -2035,7 +2035,7 @@ var EmailNamespace = class {
2035
2035
  *
2036
2036
  * Find a person's work email address from their name and company domain.
2037
2037
  *
2038
- * Price: $0.0154 per request.
2038
+ * Price: $0.0308 per request.
2039
2039
  *
2040
2040
  * @example
2041
2041
  * const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
@@ -3544,7 +3544,7 @@ var GoogleHotelsNamespace = class {
3544
3544
  * Price: $0.0015 per request.
3545
3545
  *
3546
3546
  * @example
3547
- * const res = await client.googleHotels.details({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3547
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3548
3548
  */
3549
3549
  details(input, options) {
3550
3550
  return this._core.run("google_hotels.details", input, options);
@@ -3557,7 +3557,7 @@ var GoogleHotelsNamespace = class {
3557
3557
  * Price: $0.0015 per request.
3558
3558
  *
3559
3559
  * @example
3560
- * const res = await client.googleHotels.search({ checkIn: "2026-11-17", checkOut: "2026-11-19", country: "us", query: "hotels near times square new york" });
3560
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", query: "hotels near times square new york" });
3561
3561
  */
3562
3562
  search(input, options) {
3563
3563
  return this._core.run("google_hotels.search", input, options);
@@ -4207,7 +4207,7 @@ var InstagramNamespace = class {
4207
4207
  *
4208
4208
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
4209
4209
  *
4210
- * Price: $0.00175 per request.
4210
+ * Price: $0.027 per request.
4211
4211
  *
4212
4212
  * @example
4213
4213
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -4738,7 +4738,7 @@ var LinkedinNamespace = class {
4738
4738
  *
4739
4739
  * Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
4740
4740
  *
4741
- * Price: $0 per request plus $0.00143 per result (maximum $0.143).
4741
+ * Price: $0.005 per request.
4742
4742
  *
4743
4743
  * @example
4744
4744
  * const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
@@ -7007,7 +7007,7 @@ var TiktokNamespace = class {
7007
7007
  *
7008
7008
  * Find the public contact email behind a TikTok creator's profile: the address written into the bio plus any published on the site the profile links to, each labelled with where it came from. Returns the creator's profile stats and linked social accounts alongside.
7009
7009
  *
7010
- * Price: $0.00116 per request plus $0 per result (maximum $0.00116).
7010
+ * Price: $0.00187 per request plus $0 per result (maximum $0.00187).
7011
7011
  *
7012
7012
  * @example
7013
7013
  * const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
@@ -7333,7 +7333,7 @@ var TiktokNamespace = class {
7333
7333
  *
7334
7334
  * Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
7335
7335
  *
7336
- * Price: $0.0012 per request.
7336
+ * Price: $0.0008 per request.
7337
7337
  *
7338
7338
  * @example
7339
7339
  * const res = await client.tiktok.trendingFeed({ region: "US" });
@@ -7359,7 +7359,7 @@ var TiktokNamespace = class {
7359
7359
  *
7360
7360
  * Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
7361
7361
  *
7362
- * Price: $0.00045 per request.
7362
+ * Price: $0.0004 per request.
7363
7363
  *
7364
7364
  * @example
7365
7365
  * 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" });