@getanyapi/sdk 0.39.4 → 0.40.1

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
@@ -13483,7 +13483,7 @@ declare class GeminiNamespace {
13483
13483
  *
13484
13484
  * Ask Gemini a web-grounded question and receive an answer with source citations.
13485
13485
  *
13486
- * Price: $0.002 per request.
13486
+ * Price: $0.0048 per request.
13487
13487
  *
13488
13488
  * @example
13489
13489
  * const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
@@ -18770,7 +18770,7 @@ declare class InstagramNamespace {
18770
18770
  *
18771
18771
  * List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).
18772
18772
  *
18773
- * Price: $0.0012 per request.
18773
+ * Price: $0.0008 per request.
18774
18774
  *
18775
18775
  * @example
18776
18776
  * const res = await client.instagram.postComments({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
@@ -37503,6 +37503,7 @@ interface TiktokProfileVideosVideo {
37503
37503
  */
37504
37504
  image?: string;
37505
37505
  likes: number;
37506
+ saves?: number;
37506
37507
  /**
37507
37508
  * Populated whenever the provider has data for the entity.
37508
37509
  */
@@ -37624,6 +37625,7 @@ interface TiktokSearchKeywordVideo {
37624
37625
  id: string;
37625
37626
  likes: number;
37626
37627
  region: string;
37628
+ saves?: number;
37627
37629
  shares: number;
37628
37630
  views: number;
37629
37631
  [extra: string]: unknown;
@@ -37682,11 +37684,17 @@ interface TiktokSearchTopItem {
37682
37684
  caption: string;
37683
37685
  comments: number;
37684
37686
  contentType: string;
37687
+ /**
37688
+ * UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
37689
+ * Present whenever the upstream returns this record.
37690
+ */
37691
+ createdUtc?: number;
37685
37692
  /**
37686
37693
  * Populated whenever the provider has data for the entity.
37687
37694
  */
37688
37695
  id: string;
37689
37696
  likes: number;
37697
+ saves?: number;
37690
37698
  shares: number;
37691
37699
  /**
37692
37700
  * Populated whenever the provider has data for the entity.
@@ -38613,7 +38621,7 @@ declare class TiktokNamespace {
38613
38621
  *
38614
38622
  * Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
38615
38623
  *
38616
- * Price: $0.0005 per request.
38624
+ * Price: $0.0012 per request.
38617
38625
  *
38618
38626
  * @example
38619
38627
  * const res = await client.tiktok.profile({ handle: "zachking" });
@@ -38809,7 +38817,7 @@ declare class TiktokNamespace {
38809
38817
  *
38810
38818
  * List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count).
38811
38819
  *
38812
- * Price: $0.0008 per request.
38820
+ * Price: $0.0012 per request.
38813
38821
  *
38814
38822
  * @example
38815
38823
  * 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" });
package/dist/index.d.ts CHANGED
@@ -13483,7 +13483,7 @@ declare class GeminiNamespace {
13483
13483
  *
13484
13484
  * Ask Gemini a web-grounded question and receive an answer with source citations.
13485
13485
  *
13486
- * Price: $0.002 per request.
13486
+ * Price: $0.0048 per request.
13487
13487
  *
13488
13488
  * @example
13489
13489
  * const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
@@ -18770,7 +18770,7 @@ declare class InstagramNamespace {
18770
18770
  *
18771
18771
  * List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).
18772
18772
  *
18773
- * Price: $0.0012 per request.
18773
+ * Price: $0.0008 per request.
18774
18774
  *
18775
18775
  * @example
18776
18776
  * const res = await client.instagram.postComments({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
@@ -37503,6 +37503,7 @@ interface TiktokProfileVideosVideo {
37503
37503
  */
37504
37504
  image?: string;
37505
37505
  likes: number;
37506
+ saves?: number;
37506
37507
  /**
37507
37508
  * Populated whenever the provider has data for the entity.
37508
37509
  */
@@ -37624,6 +37625,7 @@ interface TiktokSearchKeywordVideo {
37624
37625
  id: string;
37625
37626
  likes: number;
37626
37627
  region: string;
37628
+ saves?: number;
37627
37629
  shares: number;
37628
37630
  views: number;
37629
37631
  [extra: string]: unknown;
@@ -37682,11 +37684,17 @@ interface TiktokSearchTopItem {
37682
37684
  caption: string;
37683
37685
  comments: number;
37684
37686
  contentType: string;
37687
+ /**
37688
+ * UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
37689
+ * Present whenever the upstream returns this record.
37690
+ */
37691
+ createdUtc?: number;
37685
37692
  /**
37686
37693
  * Populated whenever the provider has data for the entity.
37687
37694
  */
37688
37695
  id: string;
37689
37696
  likes: number;
37697
+ saves?: number;
37690
37698
  shares: number;
37691
37699
  /**
37692
37700
  * Populated whenever the provider has data for the entity.
@@ -38613,7 +38621,7 @@ declare class TiktokNamespace {
38613
38621
  *
38614
38622
  * Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
38615
38623
  *
38616
- * Price: $0.0005 per request.
38624
+ * Price: $0.0012 per request.
38617
38625
  *
38618
38626
  * @example
38619
38627
  * const res = await client.tiktok.profile({ handle: "zachking" });
@@ -38809,7 +38817,7 @@ declare class TiktokNamespace {
38809
38817
  *
38810
38818
  * List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count).
38811
38819
  *
38812
- * Price: $0.0008 per request.
38820
+ * Price: $0.0012 per request.
38813
38821
  *
38814
38822
  * @example
38815
38823
  * 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" });
package/dist/index.js CHANGED
@@ -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.002 per request.
2652
+ * Price: $0.0048 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?" });
@@ -3556,7 +3556,7 @@ var InstagramNamespace = class {
3556
3556
  *
3557
3557
  * List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).
3558
3558
  *
3559
- * Price: $0.0012 per request.
3559
+ * Price: $0.0008 per request.
3560
3560
  *
3561
3561
  * @example
3562
3562
  * const res = await client.instagram.postComments({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
@@ -5989,7 +5989,7 @@ var TiktokNamespace = class {
5989
5989
  *
5990
5990
  * Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
5991
5991
  *
5992
- * Price: $0.0005 per request.
5992
+ * Price: $0.0012 per request.
5993
5993
  *
5994
5994
  * @example
5995
5995
  * const res = await client.tiktok.profile({ handle: "zachking" });
@@ -6267,7 +6267,7 @@ var TiktokNamespace = class {
6267
6267
  *
6268
6268
  * List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count).
6269
6269
  *
6270
- * Price: $0.0008 per request.
6270
+ * Price: $0.0012 per request.
6271
6271
  *
6272
6272
  * @example
6273
6273
  * 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" });