@getanyapi/sdk 0.141.20 → 0.142.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
@@ -25554,7 +25554,7 @@ declare class GoogleNamespace {
25554
25554
  *
25555
25555
  * Search Google Scholar for academic papers with title, authors, citation count, and PDF link.
25556
25556
  *
25557
- * Price: $0.00085 per request.
25557
+ * Price: $0.00099 per request.
25558
25558
  *
25559
25559
  * @example
25560
25560
  * const res = await client.google.scholar({ query: "attention is all you need" });
@@ -25594,7 +25594,7 @@ declare class GoogleNamespace {
25594
25594
  *
25595
25595
  * 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.
25596
25596
  *
25597
- * Price: $0.002 per request.
25597
+ * Price: $0.018 per request.
25598
25598
  *
25599
25599
  * @example
25600
25600
  * const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
@@ -28976,7 +28976,7 @@ interface InstagramProfileInput {
28976
28976
  /**
28977
28977
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `contactMethod`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
28978
28978
  */
28979
- requireFields?: ("contactMethod" | "highlightsCount" | "posts")[];
28979
+ requireFields?: ("contactMethod" | "highlightsCount" | "isBusiness" | "posts")[];
28980
28980
  /**
28981
28981
  * Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
28982
28982
  */
@@ -32032,7 +32032,7 @@ declare class InstagramNamespace {
32032
32032
  *
32033
32033
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
32034
32034
  *
32035
- * Price: $0.027 per request.
32035
+ * Price: $0.00175 per request.
32036
32036
  *
32037
32037
  * @example
32038
32038
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -52890,7 +52890,7 @@ declare class RedditNamespace {
52890
52890
  *
52891
52891
  * 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.
52892
52892
  *
52893
- * Price: $0.0012 per request.
52893
+ * Price: $0.00038 per request.
52894
52894
  *
52895
52895
  * @example
52896
52896
  * const res = await client.reddit.avatar({ username: "spez" });
@@ -52970,7 +52970,7 @@ declare class RedditNamespace {
52970
52970
  *
52971
52971
  * Fetch a subreddit's metadata (weekly active users, description, and category).
52972
52972
  *
52973
- * Price: $0.0012 per request.
52973
+ * Price: $0.00038 per request.
52974
52974
  *
52975
52975
  * @example
52976
52976
  * const res = await client.reddit.subredditDetails({ subreddit: "programming" });
@@ -53046,7 +53046,7 @@ declare class RedditNamespace {
53046
53046
  *
53047
53047
  * List a Reddit user's posts by username, sorted by new, top, hot, or controversial, with cursor pagination.
53048
53048
  *
53049
- * Price: $0.0008 per request.
53049
+ * Price: $0.00038 per request.
53050
53050
  *
53051
53051
  * @example
53052
53052
  * const res = await client.reddit.userPosts({ username: "spez" });
@@ -63397,7 +63397,7 @@ declare class ThreadsNamespace {
63397
63397
  *
63398
63398
  * Fetch a Threads user's public profile (bio, follower count, verification, profile picture) by username.
63399
63399
  *
63400
- * Price: $0.0011 per request.
63400
+ * Price: $0.0012 per request.
63401
63401
  *
63402
63402
  * @example
63403
63403
  * const res = await client.threads.profile({ username: "zuck" });
package/dist/index.d.ts CHANGED
@@ -25554,7 +25554,7 @@ declare class GoogleNamespace {
25554
25554
  *
25555
25555
  * Search Google Scholar for academic papers with title, authors, citation count, and PDF link.
25556
25556
  *
25557
- * Price: $0.00085 per request.
25557
+ * Price: $0.00099 per request.
25558
25558
  *
25559
25559
  * @example
25560
25560
  * const res = await client.google.scholar({ query: "attention is all you need" });
@@ -25594,7 +25594,7 @@ declare class GoogleNamespace {
25594
25594
  *
25595
25595
  * 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.
25596
25596
  *
25597
- * Price: $0.002 per request.
25597
+ * Price: $0.018 per request.
25598
25598
  *
25599
25599
  * @example
25600
25600
  * const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
@@ -28976,7 +28976,7 @@ interface InstagramProfileInput {
28976
28976
  /**
28977
28977
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `contactMethod`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
28978
28978
  */
28979
- requireFields?: ("contactMethod" | "highlightsCount" | "posts")[];
28979
+ requireFields?: ("contactMethod" | "highlightsCount" | "isBusiness" | "posts")[];
28980
28980
  /**
28981
28981
  * Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
28982
28982
  */
@@ -32032,7 +32032,7 @@ declare class InstagramNamespace {
32032
32032
  *
32033
32033
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
32034
32034
  *
32035
- * Price: $0.027 per request.
32035
+ * Price: $0.00175 per request.
32036
32036
  *
32037
32037
  * @example
32038
32038
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -52890,7 +52890,7 @@ declare class RedditNamespace {
52890
52890
  *
52891
52891
  * 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.
52892
52892
  *
52893
- * Price: $0.0012 per request.
52893
+ * Price: $0.00038 per request.
52894
52894
  *
52895
52895
  * @example
52896
52896
  * const res = await client.reddit.avatar({ username: "spez" });
@@ -52970,7 +52970,7 @@ declare class RedditNamespace {
52970
52970
  *
52971
52971
  * Fetch a subreddit's metadata (weekly active users, description, and category).
52972
52972
  *
52973
- * Price: $0.0012 per request.
52973
+ * Price: $0.00038 per request.
52974
52974
  *
52975
52975
  * @example
52976
52976
  * const res = await client.reddit.subredditDetails({ subreddit: "programming" });
@@ -53046,7 +53046,7 @@ declare class RedditNamespace {
53046
53046
  *
53047
53047
  * List a Reddit user's posts by username, sorted by new, top, hot, or controversial, with cursor pagination.
53048
53048
  *
53049
- * Price: $0.0008 per request.
53049
+ * Price: $0.00038 per request.
53050
53050
  *
53051
53051
  * @example
53052
53052
  * const res = await client.reddit.userPosts({ username: "spez" });
@@ -63397,7 +63397,7 @@ declare class ThreadsNamespace {
63397
63397
  *
63398
63398
  * Fetch a Threads user's public profile (bio, follower count, verification, profile picture) by username.
63399
63399
  *
63400
- * Price: $0.0011 per request.
63400
+ * Price: $0.0012 per request.
63401
63401
  *
63402
63402
  * @example
63403
63403
  * const res = await client.threads.profile({ username: "zuck" });
package/dist/index.js CHANGED
@@ -3637,7 +3637,7 @@ var GoogleNamespace = class {
3637
3637
  *
3638
3638
  * Search Google Scholar for academic papers with title, authors, citation count, and PDF link.
3639
3639
  *
3640
- * Price: $0.00085 per request.
3640
+ * Price: $0.00099 per request.
3641
3641
  *
3642
3642
  * @example
3643
3643
  * const res = await client.google.scholar({ query: "attention is all you need" });
@@ -3692,7 +3692,7 @@ var GoogleNamespace = class {
3692
3692
  *
3693
3693
  * 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.
3694
3694
  *
3695
- * Price: $0.002 per request.
3695
+ * Price: $0.018 per request.
3696
3696
  *
3697
3697
  * @example
3698
3698
  * const res = await client.google.trends({ keywords: ["coffee", "tea"], geo: "US", timeframe: "12m" });
@@ -4510,7 +4510,7 @@ var InstagramNamespace = class {
4510
4510
  *
4511
4511
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
4512
4512
  *
4513
- * Price: $0.027 per request.
4513
+ * Price: $0.00175 per request.
4514
4514
  *
4515
4515
  * @example
4516
4516
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -6021,7 +6021,7 @@ var RedditNamespace = class {
6021
6021
  *
6022
6022
  * 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.
6023
6023
  *
6024
- * Price: $0.0012 per request.
6024
+ * Price: $0.00038 per request.
6025
6025
  *
6026
6026
  * @example
6027
6027
  * const res = await client.reddit.avatar({ username: "spez" });
@@ -6131,7 +6131,7 @@ var RedditNamespace = class {
6131
6131
  *
6132
6132
  * Fetch a subreddit's metadata (weekly active users, description, and category).
6133
6133
  *
6134
- * Price: $0.0012 per request.
6134
+ * Price: $0.00038 per request.
6135
6135
  *
6136
6136
  * @example
6137
6137
  * const res = await client.reddit.subredditDetails({ subreddit: "programming" });
@@ -6244,7 +6244,7 @@ var RedditNamespace = class {
6244
6244
  *
6245
6245
  * List a Reddit user's posts by username, sorted by new, top, hot, or controversial, with cursor pagination.
6246
6246
  *
6247
- * Price: $0.0008 per request.
6247
+ * Price: $0.00038 per request.
6248
6248
  *
6249
6249
  * @example
6250
6250
  * const res = await client.reddit.userPosts({ username: "spez" });
@@ -7353,7 +7353,7 @@ var ThreadsNamespace = class {
7353
7353
  *
7354
7354
  * Fetch a Threads user's public profile (bio, follower count, verification, profile picture) by username.
7355
7355
  *
7356
- * Price: $0.0011 per request.
7356
+ * Price: $0.0012 per request.
7357
7357
  *
7358
7358
  * @example
7359
7359
  * const res = await client.threads.profile({ username: "zuck" });