@getanyapi/sdk 0.163.4 → 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 +20 -28
- package/dist/index.d.ts +20 -28
- 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
|
*/
|
|
@@ -3334,7 +3334,7 @@ interface AppstoreAppData {
|
|
|
3334
3334
|
*/
|
|
3335
3335
|
ratingCount?: number | null;
|
|
3336
3336
|
/**
|
|
3337
|
-
* Number of ratings at each star level.
|
|
3337
|
+
* Number of ratings at each star level. A star level is null when the serving source leaves it out, even if the app has ratings at it.
|
|
3338
3338
|
*/
|
|
3339
3339
|
ratingHistogram?: {
|
|
3340
3340
|
/**
|
|
@@ -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
|
*/
|
|
@@ -23589,10 +23589,6 @@ interface GoogleScholarInput {
|
|
|
23589
23589
|
* The Google Scholar search query.
|
|
23590
23590
|
*/
|
|
23591
23591
|
query: string;
|
|
23592
|
-
/**
|
|
23593
|
-
* 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 `year`, 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.
|
|
23594
|
-
*/
|
|
23595
|
-
requireFields?: "year"[];
|
|
23596
23592
|
/**
|
|
23597
23593
|
* 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`.
|
|
23598
23594
|
*/
|
|
@@ -29414,7 +29410,7 @@ interface InstagramSearchProfilesInput {
|
|
|
29414
29410
|
/**
|
|
29415
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.
|
|
29416
29412
|
*/
|
|
29417
|
-
requireFields?: ("bioLinks" | "category" | "isBusiness" | "private")[];
|
|
29413
|
+
requireFields?: ("bioLinks" | "category" | "isBusiness" | "posts" | "private")[];
|
|
29418
29414
|
/**
|
|
29419
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`.
|
|
29420
29416
|
*/
|
|
@@ -29841,10 +29837,6 @@ interface InstagramStoriesThinInput {
|
|
|
29841
29837
|
* Range: minimum 1.
|
|
29842
29838
|
*/
|
|
29843
29839
|
preferLatencyUnderMs?: number;
|
|
29844
|
-
/**
|
|
29845
|
-
* 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.
|
|
29846
|
-
*/
|
|
29847
|
-
requireFields?: "durationSeconds"[];
|
|
29848
29840
|
/**
|
|
29849
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`.
|
|
29850
29842
|
*/
|
|
@@ -30472,9 +30464,9 @@ interface InstagramUserPostsInput {
|
|
|
30472
30464
|
*/
|
|
30473
30465
|
preferLatencyUnderMs?: number;
|
|
30474
30466
|
/**
|
|
30475
|
-
* 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.
|
|
30476
30468
|
*/
|
|
30477
|
-
requireFields?: ("audioId" | "carouselCount" | "
|
|
30469
|
+
requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
30478
30470
|
/**
|
|
30479
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`.
|
|
30480
30472
|
*/
|
|
@@ -30704,7 +30696,7 @@ interface InstagramUserReelsInput {
|
|
|
30704
30696
|
/**
|
|
30705
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.
|
|
30706
30698
|
*/
|
|
30707
|
-
requireFields?: ("coauthors" | "countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "
|
|
30699
|
+
requireFields?: ("coauthors" | "countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
30708
30700
|
/**
|
|
30709
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`.
|
|
30710
30702
|
*/
|
|
@@ -40418,7 +40410,7 @@ interface MapsSearchInput {
|
|
|
40418
40410
|
/**
|
|
40419
40411
|
* 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 `cid` or `street`, 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 place that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
40420
40412
|
*/
|
|
40421
|
-
requireFields?: ("cid" | "city" | "countryCode" | "hours" | "permanentlyClosed" | "
|
|
40413
|
+
requireFields?: ("cid" | "city" | "countryCode" | "hours" | "permanentlyClosed" | "postalCode" | "priceLevel" | "state" | "street")[];
|
|
40422
40414
|
/**
|
|
40423
40415
|
* 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`.
|
|
40424
40416
|
*/
|
|
@@ -65414,7 +65406,7 @@ interface TiktokHashtagVideosInput {
|
|
|
65414
65406
|
/**
|
|
65415
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.
|
|
65416
65408
|
*/
|
|
65417
|
-
requireFields?: ("commentCount" | "likeCount" | "nextCursor" | "playCount" | "shareCount" | "
|
|
65409
|
+
requireFields?: ("commentCount" | "likeCount" | "nextCursor" | "playCount" | "shareCount" | "soundClipId")[];
|
|
65418
65410
|
/**
|
|
65419
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`.
|
|
65420
65412
|
*/
|
|
@@ -66393,7 +66385,7 @@ interface TiktokProfileVideosInput {
|
|
|
66393
66385
|
/**
|
|
66394
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.
|
|
66395
66387
|
*/
|
|
66396
|
-
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor"
|
|
66388
|
+
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor")[];
|
|
66397
66389
|
/**
|
|
66398
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`.
|
|
66399
66391
|
*/
|
|
@@ -66528,9 +66520,9 @@ interface TiktokSearchHashtagInput {
|
|
|
66528
66520
|
*/
|
|
66529
66521
|
query: string;
|
|
66530
66522
|
/**
|
|
66531
|
-
* 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.
|
|
66532
66524
|
*/
|
|
66533
|
-
requireFields?:
|
|
66525
|
+
requireFields?: "locationName"[];
|
|
66534
66526
|
/**
|
|
66535
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`.
|
|
66536
66528
|
*/
|
|
@@ -66667,7 +66659,7 @@ interface TiktokSearchKeywordInput {
|
|
|
66667
66659
|
/**
|
|
66668
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.
|
|
66669
66661
|
*/
|
|
66670
|
-
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor"
|
|
66662
|
+
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor")[];
|
|
66671
66663
|
/**
|
|
66672
66664
|
* Sort order: relevance, most-liked, date-posted.
|
|
66673
66665
|
* One of: relevance, most-liked, date-posted.
|
|
@@ -67012,7 +67004,7 @@ interface TiktokSearchTopInput {
|
|
|
67012
67004
|
/**
|
|
67013
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.
|
|
67014
67006
|
*/
|
|
67015
|
-
requireFields?: ("authorFollowers" | "contentType" | "nextCursor" | "
|
|
67007
|
+
requireFields?: ("authorFollowers" | "contentType" | "nextCursor" | "soundClipId")[];
|
|
67016
67008
|
/**
|
|
67017
67009
|
* Sort order: relevance, most-liked, date-posted.
|
|
67018
67010
|
* One of: relevance, most-liked, date-posted.
|
|
@@ -69307,9 +69299,9 @@ interface TiktokShopProductInput {
|
|
|
69307
69299
|
*/
|
|
69308
69300
|
region?: string;
|
|
69309
69301
|
/**
|
|
69310
|
-
* 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.
|
|
69311
69303
|
*/
|
|
69312
|
-
requireFields?: ("brand" | "
|
|
69304
|
+
requireFields?: ("brand" | "name" | "specifications" | "value")[];
|
|
69313
69305
|
/**
|
|
69314
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`.
|
|
69315
69307
|
*/
|
|
@@ -69423,9 +69415,9 @@ interface TiktokShopProductReviewsInput {
|
|
|
69423
69415
|
*/
|
|
69424
69416
|
region?: string;
|
|
69425
69417
|
/**
|
|
69426
|
-
* 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.
|
|
69427
69419
|
*/
|
|
69428
|
-
requireFields?:
|
|
69420
|
+
requireFields?: "rating"[];
|
|
69429
69421
|
/**
|
|
69430
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`.
|
|
69431
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
|
*/
|
|
@@ -3334,7 +3334,7 @@ interface AppstoreAppData {
|
|
|
3334
3334
|
*/
|
|
3335
3335
|
ratingCount?: number | null;
|
|
3336
3336
|
/**
|
|
3337
|
-
* Number of ratings at each star level.
|
|
3337
|
+
* Number of ratings at each star level. A star level is null when the serving source leaves it out, even if the app has ratings at it.
|
|
3338
3338
|
*/
|
|
3339
3339
|
ratingHistogram?: {
|
|
3340
3340
|
/**
|
|
@@ -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
|
*/
|
|
@@ -23589,10 +23589,6 @@ interface GoogleScholarInput {
|
|
|
23589
23589
|
* The Google Scholar search query.
|
|
23590
23590
|
*/
|
|
23591
23591
|
query: string;
|
|
23592
|
-
/**
|
|
23593
|
-
* 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 `year`, 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.
|
|
23594
|
-
*/
|
|
23595
|
-
requireFields?: "year"[];
|
|
23596
23592
|
/**
|
|
23597
23593
|
* 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`.
|
|
23598
23594
|
*/
|
|
@@ -29414,7 +29410,7 @@ interface InstagramSearchProfilesInput {
|
|
|
29414
29410
|
/**
|
|
29415
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.
|
|
29416
29412
|
*/
|
|
29417
|
-
requireFields?: ("bioLinks" | "category" | "isBusiness" | "private")[];
|
|
29413
|
+
requireFields?: ("bioLinks" | "category" | "isBusiness" | "posts" | "private")[];
|
|
29418
29414
|
/**
|
|
29419
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`.
|
|
29420
29416
|
*/
|
|
@@ -29841,10 +29837,6 @@ interface InstagramStoriesThinInput {
|
|
|
29841
29837
|
* Range: minimum 1.
|
|
29842
29838
|
*/
|
|
29843
29839
|
preferLatencyUnderMs?: number;
|
|
29844
|
-
/**
|
|
29845
|
-
* 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.
|
|
29846
|
-
*/
|
|
29847
|
-
requireFields?: "durationSeconds"[];
|
|
29848
29840
|
/**
|
|
29849
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`.
|
|
29850
29842
|
*/
|
|
@@ -30472,9 +30464,9 @@ interface InstagramUserPostsInput {
|
|
|
30472
30464
|
*/
|
|
30473
30465
|
preferLatencyUnderMs?: number;
|
|
30474
30466
|
/**
|
|
30475
|
-
* 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.
|
|
30476
30468
|
*/
|
|
30477
|
-
requireFields?: ("audioId" | "carouselCount" | "
|
|
30469
|
+
requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
30478
30470
|
/**
|
|
30479
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`.
|
|
30480
30472
|
*/
|
|
@@ -30704,7 +30696,7 @@ interface InstagramUserReelsInput {
|
|
|
30704
30696
|
/**
|
|
30705
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.
|
|
30706
30698
|
*/
|
|
30707
|
-
requireFields?: ("coauthors" | "countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "
|
|
30699
|
+
requireFields?: ("coauthors" | "countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
30708
30700
|
/**
|
|
30709
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`.
|
|
30710
30702
|
*/
|
|
@@ -40418,7 +40410,7 @@ interface MapsSearchInput {
|
|
|
40418
40410
|
/**
|
|
40419
40411
|
* 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 `cid` or `street`, 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 place that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
40420
40412
|
*/
|
|
40421
|
-
requireFields?: ("cid" | "city" | "countryCode" | "hours" | "permanentlyClosed" | "
|
|
40413
|
+
requireFields?: ("cid" | "city" | "countryCode" | "hours" | "permanentlyClosed" | "postalCode" | "priceLevel" | "state" | "street")[];
|
|
40422
40414
|
/**
|
|
40423
40415
|
* 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`.
|
|
40424
40416
|
*/
|
|
@@ -65414,7 +65406,7 @@ interface TiktokHashtagVideosInput {
|
|
|
65414
65406
|
/**
|
|
65415
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.
|
|
65416
65408
|
*/
|
|
65417
|
-
requireFields?: ("commentCount" | "likeCount" | "nextCursor" | "playCount" | "shareCount" | "
|
|
65409
|
+
requireFields?: ("commentCount" | "likeCount" | "nextCursor" | "playCount" | "shareCount" | "soundClipId")[];
|
|
65418
65410
|
/**
|
|
65419
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`.
|
|
65420
65412
|
*/
|
|
@@ -66393,7 +66385,7 @@ interface TiktokProfileVideosInput {
|
|
|
66393
66385
|
/**
|
|
66394
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.
|
|
66395
66387
|
*/
|
|
66396
|
-
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor"
|
|
66388
|
+
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor")[];
|
|
66397
66389
|
/**
|
|
66398
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`.
|
|
66399
66391
|
*/
|
|
@@ -66528,9 +66520,9 @@ interface TiktokSearchHashtagInput {
|
|
|
66528
66520
|
*/
|
|
66529
66521
|
query: string;
|
|
66530
66522
|
/**
|
|
66531
|
-
* 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.
|
|
66532
66524
|
*/
|
|
66533
|
-
requireFields?:
|
|
66525
|
+
requireFields?: "locationName"[];
|
|
66534
66526
|
/**
|
|
66535
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`.
|
|
66536
66528
|
*/
|
|
@@ -66667,7 +66659,7 @@ interface TiktokSearchKeywordInput {
|
|
|
66667
66659
|
/**
|
|
66668
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.
|
|
66669
66661
|
*/
|
|
66670
|
-
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor"
|
|
66662
|
+
requireFields?: ("authorFollowers" | "authorVerified" | "locationName" | "nextCursor")[];
|
|
66671
66663
|
/**
|
|
66672
66664
|
* Sort order: relevance, most-liked, date-posted.
|
|
66673
66665
|
* One of: relevance, most-liked, date-posted.
|
|
@@ -67012,7 +67004,7 @@ interface TiktokSearchTopInput {
|
|
|
67012
67004
|
/**
|
|
67013
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.
|
|
67014
67006
|
*/
|
|
67015
|
-
requireFields?: ("authorFollowers" | "contentType" | "nextCursor" | "
|
|
67007
|
+
requireFields?: ("authorFollowers" | "contentType" | "nextCursor" | "soundClipId")[];
|
|
67016
67008
|
/**
|
|
67017
67009
|
* Sort order: relevance, most-liked, date-posted.
|
|
67018
67010
|
* One of: relevance, most-liked, date-posted.
|
|
@@ -69307,9 +69299,9 @@ interface TiktokShopProductInput {
|
|
|
69307
69299
|
*/
|
|
69308
69300
|
region?: string;
|
|
69309
69301
|
/**
|
|
69310
|
-
* 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.
|
|
69311
69303
|
*/
|
|
69312
|
-
requireFields?: ("brand" | "
|
|
69304
|
+
requireFields?: ("brand" | "name" | "specifications" | "value")[];
|
|
69313
69305
|
/**
|
|
69314
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`.
|
|
69315
69307
|
*/
|
|
@@ -69423,9 +69415,9 @@ interface TiktokShopProductReviewsInput {
|
|
|
69423
69415
|
*/
|
|
69424
69416
|
region?: string;
|
|
69425
69417
|
/**
|
|
69426
|
-
* 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.
|
|
69427
69419
|
*/
|
|
69428
|
-
requireFields?:
|
|
69420
|
+
requireFields?: "rating"[];
|
|
69429
69421
|
/**
|
|
69430
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`.
|
|
69431
69423
|
*/
|