@getanyapi/sdk 0.141.19 → 0.142.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.d.cts CHANGED
@@ -25437,7 +25437,7 @@ declare class GoogleNamespace {
25437
25437
  *
25438
25438
  * 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.
25439
25439
  *
25440
- * Price: $0.0015 per request.
25440
+ * Price: $0.0018 per request.
25441
25441
  *
25442
25442
  * @example
25443
25443
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -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" });
@@ -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
  */
@@ -40752,7 +40752,7 @@ declare class MapsNamespace {
40752
40752
  *
40753
40753
  * Fetch up to 100 Google Maps reviews for a place by place ID, sorted the way you need, in one normalized response.
40754
40754
  *
40755
- * Price: $0.00015 per request plus $0.00002 per result (maximum $0.00215).
40755
+ * Price: $0.003 per request.
40756
40756
  *
40757
40757
  * @example
40758
40758
  * const res = await client.maps.reviews({ placeId: "ChIJN1t_tDeuEmsRUsoyG83frY4", limit: 3 });
@@ -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" });
@@ -52912,7 +52912,7 @@ declare class RedditNamespace {
52912
52912
  *
52913
52913
  * List the comments on a Reddit post by URL (author, body, score, timestamp, parent comment). Replies carry the parentId of the comment they answer.
52914
52914
  *
52915
- * Price: $0.0012 per request.
52915
+ * Price: $0.0006 per request.
52916
52916
  *
52917
52917
  * @example
52918
52918
  * const res = await client.reddit.postComments({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
@@ -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" });
@@ -52981,7 +52981,7 @@ declare class RedditNamespace {
52981
52981
  *
52982
52982
  * Fetch posts from a subreddit listing (hot, new, or top).
52983
52983
  *
52984
- * Price: $0.0008 per request.
52984
+ * Price: $0.00038 per request.
52985
52985
  *
52986
52986
  * @example
52987
52987
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -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" });
package/dist/index.d.ts CHANGED
@@ -25437,7 +25437,7 @@ declare class GoogleNamespace {
25437
25437
  *
25438
25438
  * 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.
25439
25439
  *
25440
- * Price: $0.0015 per request.
25440
+ * Price: $0.0018 per request.
25441
25441
  *
25442
25442
  * @example
25443
25443
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -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" });
@@ -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
  */
@@ -40752,7 +40752,7 @@ declare class MapsNamespace {
40752
40752
  *
40753
40753
  * Fetch up to 100 Google Maps reviews for a place by place ID, sorted the way you need, in one normalized response.
40754
40754
  *
40755
- * Price: $0.00015 per request plus $0.00002 per result (maximum $0.00215).
40755
+ * Price: $0.003 per request.
40756
40756
  *
40757
40757
  * @example
40758
40758
  * const res = await client.maps.reviews({ placeId: "ChIJN1t_tDeuEmsRUsoyG83frY4", limit: 3 });
@@ -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" });
@@ -52912,7 +52912,7 @@ declare class RedditNamespace {
52912
52912
  *
52913
52913
  * List the comments on a Reddit post by URL (author, body, score, timestamp, parent comment). Replies carry the parentId of the comment they answer.
52914
52914
  *
52915
- * Price: $0.0012 per request.
52915
+ * Price: $0.0006 per request.
52916
52916
  *
52917
52917
  * @example
52918
52918
  * const res = await client.reddit.postComments({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
@@ -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" });
@@ -52981,7 +52981,7 @@ declare class RedditNamespace {
52981
52981
  *
52982
52982
  * Fetch posts from a subreddit listing (hot, new, or top).
52983
52983
  *
52984
- * Price: $0.0008 per request.
52984
+ * Price: $0.00038 per request.
52985
52985
  *
52986
52986
  * @example
52987
52987
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -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" });
package/dist/index.js CHANGED
@@ -3491,7 +3491,7 @@ var GoogleNamespace = class {
3491
3491
  *
3492
3492
  * 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.
3493
3493
  *
3494
- * Price: $0.0015 per request.
3494
+ * Price: $0.0018 per request.
3495
3495
  *
3496
3496
  * @example
3497
3497
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -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" });
@@ -5373,7 +5373,7 @@ var MapsNamespace = class {
5373
5373
  *
5374
5374
  * Fetch up to 100 Google Maps reviews for a place by place ID, sorted the way you need, in one normalized response.
5375
5375
  *
5376
- * Price: $0.00015 per request plus $0.00002 per result (maximum $0.00215).
5376
+ * Price: $0.003 per request.
5377
5377
  *
5378
5378
  * @example
5379
5379
  * const res = await client.maps.reviews({ placeId: "ChIJN1t_tDeuEmsRUsoyG83frY4", limit: 3 });
@@ -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" });
@@ -6047,7 +6047,7 @@ var RedditNamespace = class {
6047
6047
  *
6048
6048
  * List the comments on a Reddit post by URL (author, body, score, timestamp, parent comment). Replies carry the parentId of the comment they answer.
6049
6049
  *
6050
- * Price: $0.0012 per request.
6050
+ * Price: $0.0006 per request.
6051
6051
  *
6052
6052
  * @example
6053
6053
  * const res = await client.reddit.postComments({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
@@ -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" });
@@ -6144,7 +6144,7 @@ var RedditNamespace = class {
6144
6144
  *
6145
6145
  * Fetch posts from a subreddit listing (hot, new, or top).
6146
6146
  *
6147
- * Price: $0.0008 per request.
6147
+ * Price: $0.00038 per request.
6148
6148
  *
6149
6149
  * @example
6150
6150
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -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" });