@getanyapi/sdk 0.171.4 → 0.172.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
@@ -19996,7 +19996,7 @@ declare class FacebookNamespace {
19996
19996
  *
19997
19997
  * Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON.
19998
19998
  *
19999
- * Price: $0.0004 per request.
19999
+ * Price: $0.00096 per request.
20000
20000
  *
20001
20001
  * @example
20002
20002
  * const res = await client.facebook.eventDetails({ id: "4045709448982422" });
@@ -24169,7 +24169,7 @@ declare class GoogleNamespace {
24169
24169
  *
24170
24170
  * 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.
24171
24171
  *
24172
- * Price: $0.0015 per request.
24172
+ * Price: $0.0018 per request.
24173
24173
  *
24174
24174
  * @example
24175
24175
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -30608,7 +30608,7 @@ interface InstagramUserPostsInput {
30608
30608
  /**
30609
30609
  * 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 `locationName`, 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 post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
30610
30610
  */
30611
- requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "durationSeconds" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30611
+ requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "durationSeconds" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "paidPartnership" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30612
30612
  /**
30613
30613
  * Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.
30614
30614
  */
@@ -30838,7 +30838,7 @@ interface InstagramUserReelsInput {
30838
30838
  /**
30839
30839
  * 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 `soundTitle`, 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 reel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
30840
30840
  */
30841
- requireFields?: ("countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30841
+ requireFields?: ("countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "paidPartnership" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30842
30842
  /**
30843
30843
  * Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.
30844
30844
  */
@@ -54367,7 +54367,7 @@ declare class RedditNamespace {
54367
54367
  *
54368
54368
  * Search Reddit posts across all subreddits by query.
54369
54369
  *
54370
- * Price: $0.00035 per request.
54370
+ * Price: $0.00034 per request.
54371
54371
  *
54372
54372
  * @example
54373
54373
  * const res = await client.reddit.search({ query: "mechanical keyboard" });
@@ -68819,7 +68819,7 @@ declare class TiktokNamespace {
68819
68819
  *
68820
68820
  * Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
68821
68821
  *
68822
- * Price: $0.00039 per request.
68822
+ * Price: $0.0004 per request.
68823
68823
  *
68824
68824
  * @example
68825
68825
  * const res = await client.tiktok.profile({ handle: "zachking" });
package/dist/index.d.ts CHANGED
@@ -19996,7 +19996,7 @@ declare class FacebookNamespace {
19996
19996
  *
19997
19997
  * Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON.
19998
19998
  *
19999
- * Price: $0.0004 per request.
19999
+ * Price: $0.00096 per request.
20000
20000
  *
20001
20001
  * @example
20002
20002
  * const res = await client.facebook.eventDetails({ id: "4045709448982422" });
@@ -24169,7 +24169,7 @@ declare class GoogleNamespace {
24169
24169
  *
24170
24170
  * 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.
24171
24171
  *
24172
- * Price: $0.0015 per request.
24172
+ * Price: $0.0018 per request.
24173
24173
  *
24174
24174
  * @example
24175
24175
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -30608,7 +30608,7 @@ interface InstagramUserPostsInput {
30608
30608
  /**
30609
30609
  * 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 `locationName`, 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 post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
30610
30610
  */
30611
- requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "durationSeconds" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30611
+ requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "durationSeconds" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "paidPartnership" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30612
30612
  /**
30613
30613
  * Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.
30614
30614
  */
@@ -30838,7 +30838,7 @@ interface InstagramUserReelsInput {
30838
30838
  /**
30839
30839
  * 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 `soundTitle`, 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 reel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
30840
30840
  */
30841
- requireFields?: ("countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30841
+ requireFields?: ("countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "paidPartnership" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30842
30842
  /**
30843
30843
  * Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources 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`.
30844
30844
  */
@@ -54367,7 +54367,7 @@ declare class RedditNamespace {
54367
54367
  *
54368
54368
  * Search Reddit posts across all subreddits by query.
54369
54369
  *
54370
- * Price: $0.00035 per request.
54370
+ * Price: $0.00034 per request.
54371
54371
  *
54372
54372
  * @example
54373
54373
  * const res = await client.reddit.search({ query: "mechanical keyboard" });
@@ -68819,7 +68819,7 @@ declare class TiktokNamespace {
68819
68819
  *
68820
68820
  * Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
68821
68821
  *
68822
- * Price: $0.00039 per request.
68822
+ * Price: $0.0004 per request.
68823
68823
  *
68824
68824
  * @example
68825
68825
  * const res = await client.tiktok.profile({ handle: "zachking" });
package/dist/index.js CHANGED
@@ -2660,7 +2660,7 @@ var FacebookNamespace = class {
2660
2660
  *
2661
2661
  * Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON.
2662
2662
  *
2663
- * Price: $0.0004 per request.
2663
+ * Price: $0.00096 per request.
2664
2664
  *
2665
2665
  * @example
2666
2666
  * const res = await client.facebook.eventDetails({ id: "4045709448982422" });
@@ -3498,7 +3498,7 @@ var GoogleNamespace = class {
3498
3498
  *
3499
3499
  * 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.
3500
3500
  *
3501
- * Price: $0.0015 per request.
3501
+ * Price: $0.0018 per request.
3502
3502
  *
3503
3503
  * @example
3504
3504
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -6430,7 +6430,7 @@ var RedditNamespace = class {
6430
6430
  *
6431
6431
  * Search Reddit posts across all subreddits by query.
6432
6432
  *
6433
- * Price: $0.00035 per request.
6433
+ * Price: $0.00034 per request.
6434
6434
  *
6435
6435
  * @example
6436
6436
  * const res = await client.reddit.search({ query: "mechanical keyboard" });
@@ -7996,7 +7996,7 @@ var TiktokNamespace = class {
7996
7996
  *
7997
7997
  * Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
7998
7998
  *
7999
- * Price: $0.00039 per request.
7999
+ * Price: $0.0004 per request.
8000
8000
  *
8001
8001
  * @example
8002
8002
  * const res = await client.tiktok.profile({ handle: "zachking" });