@getanyapi/sdk 0.164.0 → 0.165.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.cjs.map +1 -1
- package/dist/index.d.cts +18 -22
- package/dist/index.d.ts +18 -22
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1415,7 +1415,7 @@ interface AliexpressProductInput {
|
|
|
1415
1415
|
/**
|
|
1416
1416
|
* 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 `video`, 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. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
1417
1417
|
*/
|
|
1418
|
-
requireFields?: ("freeShipping" | "returnPolicy" | "
|
|
1418
|
+
requireFields?: ("freeShipping" | "returnPolicy" | "video" | "wishlistCount")[];
|
|
1419
1419
|
/**
|
|
1420
1420
|
* 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`.
|
|
1421
1421
|
*/
|
|
@@ -13964,7 +13964,7 @@ interface EbaySoldListingsInput {
|
|
|
13964
13964
|
*/
|
|
13965
13965
|
returnsAccepted?: boolean;
|
|
13966
13966
|
/**
|
|
13967
|
-
*
|
|
13967
|
+
* Only this eBay seller's sold listings (eBay username).
|
|
13968
13968
|
*/
|
|
13969
13969
|
seller?: string;
|
|
13970
13970
|
/**
|
|
@@ -18695,9 +18695,9 @@ interface FacebookPostInput {
|
|
|
18695
18695
|
*/
|
|
18696
18696
|
preferLatencyUnderMs?: number;
|
|
18697
18697
|
/**
|
|
18698
|
-
* 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 `
|
|
18698
|
+
* 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 `videoUrl` or `views`, 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.
|
|
18699
18699
|
*/
|
|
18700
|
-
requireFields?: ("authorVerified" | "feedbackId" | "reactions" | "
|
|
18700
|
+
requireFields?: ("authorVerified" | "feedbackId" | "reactions" | "videoUrl" | "views")[];
|
|
18701
18701
|
/**
|
|
18702
18702
|
* 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`.
|
|
18703
18703
|
*/
|
|
@@ -29410,7 +29410,7 @@ interface InstagramSearchProfilesInput {
|
|
|
29410
29410
|
/**
|
|
29411
29411
|
* 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 `private`, 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.
|
|
29412
29412
|
*/
|
|
29413
|
-
requireFields?: ("bioLinks" | "category" | "isBusiness" | "private")[];
|
|
29413
|
+
requireFields?: ("bioLinks" | "category" | "isBusiness" | "posts" | "private")[];
|
|
29414
29414
|
/**
|
|
29415
29415
|
* 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`.
|
|
29416
29416
|
*/
|
|
@@ -29837,10 +29837,6 @@ interface InstagramStoriesThinInput {
|
|
|
29837
29837
|
* Range: minimum 1.
|
|
29838
29838
|
*/
|
|
29839
29839
|
preferLatencyUnderMs?: number;
|
|
29840
|
-
/**
|
|
29841
|
-
* 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 `durationSeconds`, 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 story that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
29842
|
-
*/
|
|
29843
|
-
requireFields?: "durationSeconds"[];
|
|
29844
29840
|
/**
|
|
29845
29841
|
* 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`.
|
|
29846
29842
|
*/
|
|
@@ -30468,9 +30464,9 @@ interface InstagramUserPostsInput {
|
|
|
30468
30464
|
*/
|
|
30469
30465
|
preferLatencyUnderMs?: number;
|
|
30470
30466
|
/**
|
|
30471
|
-
* 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 `
|
|
30467
|
+
* 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.
|
|
30472
30468
|
*/
|
|
30473
|
-
requireFields?: ("audioId" | "carouselCount" | "
|
|
30469
|
+
requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
30474
30470
|
/**
|
|
30475
30471
|
* 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`.
|
|
30476
30472
|
*/
|
|
@@ -30700,7 +30696,7 @@ interface InstagramUserReelsInput {
|
|
|
30700
30696
|
/**
|
|
30701
30697
|
* 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.
|
|
30702
30698
|
*/
|
|
30703
|
-
requireFields?: ("coauthors" | "countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "
|
|
30699
|
+
requireFields?: ("coauthors" | "countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
30704
30700
|
/**
|
|
30705
30701
|
* 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`.
|
|
30706
30702
|
*/
|
|
@@ -65410,7 +65406,7 @@ interface TiktokHashtagVideosInput {
|
|
|
65410
65406
|
/**
|
|
65411
65407
|
* 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 `playCount`, 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 video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. A source that returns only a rounded or shortened value for a field does not count as returning it. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.
|
|
65412
65408
|
*/
|
|
65413
|
-
requireFields?: ("commentCount" | "likeCount" | "nextCursor" | "playCount" | "shareCount" | "
|
|
65409
|
+
requireFields?: ("commentCount" | "likeCount" | "nextCursor" | "playCount" | "shareCount" | "soundClipId")[];
|
|
65414
65410
|
/**
|
|
65415
65411
|
* 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`.
|
|
65416
65412
|
*/
|
|
@@ -66389,7 +66385,7 @@ interface TiktokProfileVideosInput {
|
|
|
66389
66385
|
/**
|
|
66390
66386
|
* 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 `nextCursor`, 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 video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.
|
|
66391
66387
|
*/
|
|
66392
|
-
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor"
|
|
66388
|
+
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor")[];
|
|
66393
66389
|
/**
|
|
66394
66390
|
* 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`.
|
|
66395
66391
|
*/
|
|
@@ -66524,9 +66520,9 @@ interface TiktokSearchHashtagInput {
|
|
|
66524
66520
|
*/
|
|
66525
66521
|
query: string;
|
|
66526
66522
|
/**
|
|
66527
|
-
* 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 `
|
|
66523
|
+
* 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 video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.
|
|
66528
66524
|
*/
|
|
66529
|
-
requireFields?:
|
|
66525
|
+
requireFields?: "locationName"[];
|
|
66530
66526
|
/**
|
|
66531
66527
|
* 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`.
|
|
66532
66528
|
*/
|
|
@@ -66663,7 +66659,7 @@ interface TiktokSearchKeywordInput {
|
|
|
66663
66659
|
/**
|
|
66664
66660
|
* 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 `nextCursor`, 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 record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
66665
66661
|
*/
|
|
66666
|
-
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor"
|
|
66662
|
+
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor")[];
|
|
66667
66663
|
/**
|
|
66668
66664
|
* Sort order: relevance, most-liked, date-posted.
|
|
66669
66665
|
* One of: relevance, most-liked, date-posted.
|
|
@@ -67008,7 +67004,7 @@ interface TiktokSearchTopInput {
|
|
|
67008
67004
|
/**
|
|
67009
67005
|
* 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 `soundClipId` or `nextCursor`, 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 record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
67010
67006
|
*/
|
|
67011
|
-
requireFields?: ("authorFollowers" | "contentType" | "nextCursor" | "
|
|
67007
|
+
requireFields?: ("authorFollowers" | "contentType" | "nextCursor" | "soundClipId")[];
|
|
67012
67008
|
/**
|
|
67013
67009
|
* Sort order: relevance, most-liked, date-posted.
|
|
67014
67010
|
* One of: relevance, most-liked, date-posted.
|
|
@@ -69303,9 +69299,9 @@ interface TiktokShopProductInput {
|
|
|
69303
69299
|
*/
|
|
69304
69300
|
region?: string;
|
|
69305
69301
|
/**
|
|
69306
|
-
* 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 `
|
|
69302
|
+
* 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 `brand`, 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 product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
69307
69303
|
*/
|
|
69308
|
-
requireFields?: ("brand" | "
|
|
69304
|
+
requireFields?: ("brand" | "name" | "specifications" | "value")[];
|
|
69309
69305
|
/**
|
|
69310
69306
|
* 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`.
|
|
69311
69307
|
*/
|
|
@@ -69419,9 +69415,9 @@ interface TiktokShopProductReviewsInput {
|
|
|
69419
69415
|
*/
|
|
69420
69416
|
region?: string;
|
|
69421
69417
|
/**
|
|
69422
|
-
* 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 `
|
|
69418
|
+
* 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 `rating`, 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 empty on a review that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
69423
69419
|
*/
|
|
69424
|
-
requireFields?:
|
|
69420
|
+
requireFields?: "rating"[];
|
|
69425
69421
|
/**
|
|
69426
69422
|
* 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`.
|
|
69427
69423
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1415,7 +1415,7 @@ interface AliexpressProductInput {
|
|
|
1415
1415
|
/**
|
|
1416
1416
|
* 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 `video`, 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. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
1417
1417
|
*/
|
|
1418
|
-
requireFields?: ("freeShipping" | "returnPolicy" | "
|
|
1418
|
+
requireFields?: ("freeShipping" | "returnPolicy" | "video" | "wishlistCount")[];
|
|
1419
1419
|
/**
|
|
1420
1420
|
* 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`.
|
|
1421
1421
|
*/
|
|
@@ -13964,7 +13964,7 @@ interface EbaySoldListingsInput {
|
|
|
13964
13964
|
*/
|
|
13965
13965
|
returnsAccepted?: boolean;
|
|
13966
13966
|
/**
|
|
13967
|
-
*
|
|
13967
|
+
* Only this eBay seller's sold listings (eBay username).
|
|
13968
13968
|
*/
|
|
13969
13969
|
seller?: string;
|
|
13970
13970
|
/**
|
|
@@ -18695,9 +18695,9 @@ interface FacebookPostInput {
|
|
|
18695
18695
|
*/
|
|
18696
18696
|
preferLatencyUnderMs?: number;
|
|
18697
18697
|
/**
|
|
18698
|
-
* 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 `
|
|
18698
|
+
* 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 `videoUrl` or `views`, 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.
|
|
18699
18699
|
*/
|
|
18700
|
-
requireFields?: ("authorVerified" | "feedbackId" | "reactions" | "
|
|
18700
|
+
requireFields?: ("authorVerified" | "feedbackId" | "reactions" | "videoUrl" | "views")[];
|
|
18701
18701
|
/**
|
|
18702
18702
|
* 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`.
|
|
18703
18703
|
*/
|
|
@@ -29410,7 +29410,7 @@ interface InstagramSearchProfilesInput {
|
|
|
29410
29410
|
/**
|
|
29411
29411
|
* 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 `private`, 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.
|
|
29412
29412
|
*/
|
|
29413
|
-
requireFields?: ("bioLinks" | "category" | "isBusiness" | "private")[];
|
|
29413
|
+
requireFields?: ("bioLinks" | "category" | "isBusiness" | "posts" | "private")[];
|
|
29414
29414
|
/**
|
|
29415
29415
|
* 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`.
|
|
29416
29416
|
*/
|
|
@@ -29837,10 +29837,6 @@ interface InstagramStoriesThinInput {
|
|
|
29837
29837
|
* Range: minimum 1.
|
|
29838
29838
|
*/
|
|
29839
29839
|
preferLatencyUnderMs?: number;
|
|
29840
|
-
/**
|
|
29841
|
-
* 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 `durationSeconds`, 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 story that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
29842
|
-
*/
|
|
29843
|
-
requireFields?: "durationSeconds"[];
|
|
29844
29840
|
/**
|
|
29845
29841
|
* 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`.
|
|
29846
29842
|
*/
|
|
@@ -30468,9 +30464,9 @@ interface InstagramUserPostsInput {
|
|
|
30468
30464
|
*/
|
|
30469
30465
|
preferLatencyUnderMs?: number;
|
|
30470
30466
|
/**
|
|
30471
|
-
* 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 `
|
|
30467
|
+
* 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.
|
|
30472
30468
|
*/
|
|
30473
|
-
requireFields?: ("audioId" | "carouselCount" | "
|
|
30469
|
+
requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
30474
30470
|
/**
|
|
30475
30471
|
* 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`.
|
|
30476
30472
|
*/
|
|
@@ -30700,7 +30696,7 @@ interface InstagramUserReelsInput {
|
|
|
30700
30696
|
/**
|
|
30701
30697
|
* 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.
|
|
30702
30698
|
*/
|
|
30703
|
-
requireFields?: ("coauthors" | "countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "
|
|
30699
|
+
requireFields?: ("coauthors" | "countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
30704
30700
|
/**
|
|
30705
30701
|
* 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`.
|
|
30706
30702
|
*/
|
|
@@ -65410,7 +65406,7 @@ interface TiktokHashtagVideosInput {
|
|
|
65410
65406
|
/**
|
|
65411
65407
|
* 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 `playCount`, 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 video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. A source that returns only a rounded or shortened value for a field does not count as returning it. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.
|
|
65412
65408
|
*/
|
|
65413
|
-
requireFields?: ("commentCount" | "likeCount" | "nextCursor" | "playCount" | "shareCount" | "
|
|
65409
|
+
requireFields?: ("commentCount" | "likeCount" | "nextCursor" | "playCount" | "shareCount" | "soundClipId")[];
|
|
65414
65410
|
/**
|
|
65415
65411
|
* 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`.
|
|
65416
65412
|
*/
|
|
@@ -66389,7 +66385,7 @@ interface TiktokProfileVideosInput {
|
|
|
66389
66385
|
/**
|
|
66390
66386
|
* 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 `nextCursor`, 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 video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.
|
|
66391
66387
|
*/
|
|
66392
|
-
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor"
|
|
66388
|
+
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor")[];
|
|
66393
66389
|
/**
|
|
66394
66390
|
* 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`.
|
|
66395
66391
|
*/
|
|
@@ -66524,9 +66520,9 @@ interface TiktokSearchHashtagInput {
|
|
|
66524
66520
|
*/
|
|
66525
66521
|
query: string;
|
|
66526
66522
|
/**
|
|
66527
|
-
* 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 `
|
|
66523
|
+
* 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 video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.
|
|
66528
66524
|
*/
|
|
66529
|
-
requireFields?:
|
|
66525
|
+
requireFields?: "locationName"[];
|
|
66530
66526
|
/**
|
|
66531
66527
|
* 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`.
|
|
66532
66528
|
*/
|
|
@@ -66663,7 +66659,7 @@ interface TiktokSearchKeywordInput {
|
|
|
66663
66659
|
/**
|
|
66664
66660
|
* 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 `nextCursor`, 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 record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
66665
66661
|
*/
|
|
66666
|
-
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor"
|
|
66662
|
+
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor")[];
|
|
66667
66663
|
/**
|
|
66668
66664
|
* Sort order: relevance, most-liked, date-posted.
|
|
66669
66665
|
* One of: relevance, most-liked, date-posted.
|
|
@@ -67008,7 +67004,7 @@ interface TiktokSearchTopInput {
|
|
|
67008
67004
|
/**
|
|
67009
67005
|
* 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 `soundClipId` or `nextCursor`, 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 record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
67010
67006
|
*/
|
|
67011
|
-
requireFields?: ("authorFollowers" | "contentType" | "nextCursor" | "
|
|
67007
|
+
requireFields?: ("authorFollowers" | "contentType" | "nextCursor" | "soundClipId")[];
|
|
67012
67008
|
/**
|
|
67013
67009
|
* Sort order: relevance, most-liked, date-posted.
|
|
67014
67010
|
* One of: relevance, most-liked, date-posted.
|
|
@@ -69303,9 +69299,9 @@ interface TiktokShopProductInput {
|
|
|
69303
69299
|
*/
|
|
69304
69300
|
region?: string;
|
|
69305
69301
|
/**
|
|
69306
|
-
* 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 `
|
|
69302
|
+
* 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 `brand`, 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 product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
69307
69303
|
*/
|
|
69308
|
-
requireFields?: ("brand" | "
|
|
69304
|
+
requireFields?: ("brand" | "name" | "specifications" | "value")[];
|
|
69309
69305
|
/**
|
|
69310
69306
|
* 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`.
|
|
69311
69307
|
*/
|
|
@@ -69419,9 +69415,9 @@ interface TiktokShopProductReviewsInput {
|
|
|
69419
69415
|
*/
|
|
69420
69416
|
region?: string;
|
|
69421
69417
|
/**
|
|
69422
|
-
* 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 `
|
|
69418
|
+
* 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 `rating`, 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 empty on a review that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
69423
69419
|
*/
|
|
69424
|
-
requireFields?:
|
|
69420
|
+
requireFields?: "rating"[];
|
|
69425
69421
|
/**
|
|
69426
69422
|
* 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`.
|
|
69427
69423
|
*/
|