@getanyapi/sdk 0.165.0 → 0.166.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 +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2223,9 +2223,9 @@ interface AmazonDealsInput {
|
|
|
2223
2223
|
*/
|
|
2224
2224
|
region?: "amazon.com" | "amazon.co.uk" | "amazon.de" | "amazon.fr" | "amazon.it" | "amazon.es" | "amazon.nl" | "amazon.se" | "amazon.pl" | "amazon.ca" | "amazon.com.mx" | "amazon.com.br" | "amazon.co.jp" | "amazon.in" | "amazon.com.au" | "amazon.sg" | "amazon.ae" | "amazon.sa" | "amazon.com.tr" | "amazon.eg";
|
|
2225
2225
|
/**
|
|
2226
|
-
* 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 `
|
|
2226
|
+
* 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 `badge`, 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 deal that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
2227
2227
|
*/
|
|
2228
|
-
requireFields?: ("badge" | "dealType" | "
|
|
2228
|
+
requireFields?: ("badge" | "dealType" | "inStock")[];
|
|
2229
2229
|
/**
|
|
2230
2230
|
* 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`.
|
|
2231
2231
|
*/
|
|
@@ -2916,7 +2916,7 @@ interface AmazonSellerProductsInput {
|
|
|
2916
2916
|
/**
|
|
2917
2917
|
* 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 `listPrice`, 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.
|
|
2918
2918
|
*/
|
|
2919
|
-
requireFields?: ("availability" | "boughtPastMonth" | "inStock" | "isAmazonsChoice" | "isBestSeller" | "isPrime" | "listPrice" | "totalResults"
|
|
2919
|
+
requireFields?: ("availability" | "boughtPastMonth" | "inStock" | "isAmazonsChoice" | "isBestSeller" | "isPrime" | "listPrice" | "totalResults")[];
|
|
2920
2920
|
/**
|
|
2921
2921
|
* Amazon seller ID, the value after seller= in a seller page URL (https://www.amazon.com/sp?seller=<id>), e.g. A11V4PRB7HXYNG.
|
|
2922
2922
|
*/
|
|
@@ -3558,7 +3558,7 @@ interface AppstoreSearchInput {
|
|
|
3558
3558
|
/**
|
|
3559
3559
|
* 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 `sizeBytes` or `updatedUtc`, 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 an app that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
3560
3560
|
*/
|
|
3561
|
-
requireFields?:
|
|
3561
|
+
requireFields?: "sizeBytes"[];
|
|
3562
3562
|
/**
|
|
3563
3563
|
* 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`.
|
|
3564
3564
|
*/
|
|
@@ -5711,7 +5711,7 @@ interface ChatgptSearchInput {
|
|
|
5711
5711
|
/**
|
|
5712
5712
|
* 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 `cited` or `ads`, 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 result that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
5713
5713
|
*/
|
|
5714
|
-
requireFields?: ("address" | "ads" | "advertiserName" | "advertiserUrl" | "answerPosition" | "category" | "cited" | "createdUtc" | "currency" | "description" | "domain" | "entities" | "
|
|
5714
|
+
requireFields?: ("address" | "ads" | "advertiserName" | "advertiserUrl" | "answerPosition" | "category" | "cited" | "createdUtc" | "currency" | "description" | "domain" | "entities" | "name" | "phone" | "places" | "position" | "reviewCount" | "snippet" | "webSearchTriggered" | "websiteUrl")[];
|
|
5715
5715
|
/**
|
|
5716
5716
|
* Serve only from a source that can return places shown with the answer. Leaving this off still returns places whenever the source that answered can. Turning it on selects the single source that guarantees them, which costs more and has nothing to fall back to if it is unavailable.
|
|
5717
5717
|
* Default: false.
|
|
@@ -15896,7 +15896,7 @@ interface EtsyProductInput {
|
|
|
15896
15896
|
/**
|
|
15897
15897
|
* 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 `materials`, 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.
|
|
15898
15898
|
*/
|
|
15899
|
-
requireFields?: ("favoriteCount" | "materials" | "
|
|
15899
|
+
requireFields?: ("favoriteCount" | "materials" | "shipFrom" | "video")[];
|
|
15900
15900
|
/**
|
|
15901
15901
|
* 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`.
|
|
15902
15902
|
*/
|
|
@@ -25196,7 +25196,7 @@ interface GoogleHotelsDetailsInput {
|
|
|
25196
25196
|
/**
|
|
25197
25197
|
* 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 `stars` or `images`, 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 hotel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
25198
25198
|
*/
|
|
25199
|
-
requireFields?: ("
|
|
25199
|
+
requireFields?: ("stars" | "totalPrice")[];
|
|
25200
25200
|
/**
|
|
25201
25201
|
* 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`.
|
|
25202
25202
|
*/
|
|
@@ -27138,7 +27138,7 @@ interface InstagramHashtagTopPostsInput {
|
|
|
27138
27138
|
/**
|
|
27139
27139
|
* 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 post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
27140
27140
|
*/
|
|
27141
|
-
requireFields?: ("coauthors" | "locationId" | "locationLat" | "locationLng" | "locationName" | "paidPartnership" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
27141
|
+
requireFields?: ("audioId" | "coauthors" | "locationId" | "locationLat" | "locationLng" | "locationName" | "paidPartnership" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
27142
27142
|
/**
|
|
27143
27143
|
* 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`.
|
|
27144
27144
|
*/
|
|
@@ -28701,9 +28701,9 @@ interface InstagramReelsSearchInput {
|
|
|
28701
28701
|
*/
|
|
28702
28702
|
query: string;
|
|
28703
28703
|
/**
|
|
28704
|
-
* 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 `
|
|
28704
|
+
* 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 `audioId`, 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.
|
|
28705
28705
|
*/
|
|
28706
|
-
requireFields?:
|
|
28706
|
+
requireFields?: "audioId"[];
|
|
28707
28707
|
/**
|
|
28708
28708
|
* 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`.
|
|
28709
28709
|
*/
|
|
@@ -30466,7 +30466,7 @@ interface InstagramUserPostsInput {
|
|
|
30466
30466
|
/**
|
|
30467
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.
|
|
30468
30468
|
*/
|
|
30469
|
-
requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
30469
|
+
requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "durationSeconds" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
30470
30470
|
/**
|
|
30471
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`.
|
|
30472
30472
|
*/
|
|
@@ -30696,7 +30696,7 @@ interface InstagramUserReelsInput {
|
|
|
30696
30696
|
/**
|
|
30697
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.
|
|
30698
30698
|
*/
|
|
30699
|
-
requireFields?: ("
|
|
30699
|
+
requireFields?: ("countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
30700
30700
|
/**
|
|
30701
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`.
|
|
30702
30702
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -2223,9 +2223,9 @@ interface AmazonDealsInput {
|
|
|
2223
2223
|
*/
|
|
2224
2224
|
region?: "amazon.com" | "amazon.co.uk" | "amazon.de" | "amazon.fr" | "amazon.it" | "amazon.es" | "amazon.nl" | "amazon.se" | "amazon.pl" | "amazon.ca" | "amazon.com.mx" | "amazon.com.br" | "amazon.co.jp" | "amazon.in" | "amazon.com.au" | "amazon.sg" | "amazon.ae" | "amazon.sa" | "amazon.com.tr" | "amazon.eg";
|
|
2225
2225
|
/**
|
|
2226
|
-
* 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 `
|
|
2226
|
+
* 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 `badge`, 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 deal that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
2227
2227
|
*/
|
|
2228
|
-
requireFields?: ("badge" | "dealType" | "
|
|
2228
|
+
requireFields?: ("badge" | "dealType" | "inStock")[];
|
|
2229
2229
|
/**
|
|
2230
2230
|
* 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`.
|
|
2231
2231
|
*/
|
|
@@ -2916,7 +2916,7 @@ interface AmazonSellerProductsInput {
|
|
|
2916
2916
|
/**
|
|
2917
2917
|
* 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 `listPrice`, 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.
|
|
2918
2918
|
*/
|
|
2919
|
-
requireFields?: ("availability" | "boughtPastMonth" | "inStock" | "isAmazonsChoice" | "isBestSeller" | "isPrime" | "listPrice" | "totalResults"
|
|
2919
|
+
requireFields?: ("availability" | "boughtPastMonth" | "inStock" | "isAmazonsChoice" | "isBestSeller" | "isPrime" | "listPrice" | "totalResults")[];
|
|
2920
2920
|
/**
|
|
2921
2921
|
* Amazon seller ID, the value after seller= in a seller page URL (https://www.amazon.com/sp?seller=<id>), e.g. A11V4PRB7HXYNG.
|
|
2922
2922
|
*/
|
|
@@ -3558,7 +3558,7 @@ interface AppstoreSearchInput {
|
|
|
3558
3558
|
/**
|
|
3559
3559
|
* 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 `sizeBytes` or `updatedUtc`, 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 an app that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
3560
3560
|
*/
|
|
3561
|
-
requireFields?:
|
|
3561
|
+
requireFields?: "sizeBytes"[];
|
|
3562
3562
|
/**
|
|
3563
3563
|
* 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`.
|
|
3564
3564
|
*/
|
|
@@ -5711,7 +5711,7 @@ interface ChatgptSearchInput {
|
|
|
5711
5711
|
/**
|
|
5712
5712
|
* 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 `cited` or `ads`, 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 result that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
5713
5713
|
*/
|
|
5714
|
-
requireFields?: ("address" | "ads" | "advertiserName" | "advertiserUrl" | "answerPosition" | "category" | "cited" | "createdUtc" | "currency" | "description" | "domain" | "entities" | "
|
|
5714
|
+
requireFields?: ("address" | "ads" | "advertiserName" | "advertiserUrl" | "answerPosition" | "category" | "cited" | "createdUtc" | "currency" | "description" | "domain" | "entities" | "name" | "phone" | "places" | "position" | "reviewCount" | "snippet" | "webSearchTriggered" | "websiteUrl")[];
|
|
5715
5715
|
/**
|
|
5716
5716
|
* Serve only from a source that can return places shown with the answer. Leaving this off still returns places whenever the source that answered can. Turning it on selects the single source that guarantees them, which costs more and has nothing to fall back to if it is unavailable.
|
|
5717
5717
|
* Default: false.
|
|
@@ -15896,7 +15896,7 @@ interface EtsyProductInput {
|
|
|
15896
15896
|
/**
|
|
15897
15897
|
* 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 `materials`, 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.
|
|
15898
15898
|
*/
|
|
15899
|
-
requireFields?: ("favoriteCount" | "materials" | "
|
|
15899
|
+
requireFields?: ("favoriteCount" | "materials" | "shipFrom" | "video")[];
|
|
15900
15900
|
/**
|
|
15901
15901
|
* 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`.
|
|
15902
15902
|
*/
|
|
@@ -25196,7 +25196,7 @@ interface GoogleHotelsDetailsInput {
|
|
|
25196
25196
|
/**
|
|
25197
25197
|
* 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 `stars` or `images`, 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 hotel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
25198
25198
|
*/
|
|
25199
|
-
requireFields?: ("
|
|
25199
|
+
requireFields?: ("stars" | "totalPrice")[];
|
|
25200
25200
|
/**
|
|
25201
25201
|
* 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`.
|
|
25202
25202
|
*/
|
|
@@ -27138,7 +27138,7 @@ interface InstagramHashtagTopPostsInput {
|
|
|
27138
27138
|
/**
|
|
27139
27139
|
* 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 post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
27140
27140
|
*/
|
|
27141
|
-
requireFields?: ("coauthors" | "locationId" | "locationLat" | "locationLng" | "locationName" | "paidPartnership" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
27141
|
+
requireFields?: ("audioId" | "coauthors" | "locationId" | "locationLat" | "locationLng" | "locationName" | "paidPartnership" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
27142
27142
|
/**
|
|
27143
27143
|
* 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`.
|
|
27144
27144
|
*/
|
|
@@ -28701,9 +28701,9 @@ interface InstagramReelsSearchInput {
|
|
|
28701
28701
|
*/
|
|
28702
28702
|
query: string;
|
|
28703
28703
|
/**
|
|
28704
|
-
* 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 `
|
|
28704
|
+
* 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 `audioId`, 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.
|
|
28705
28705
|
*/
|
|
28706
|
-
requireFields?:
|
|
28706
|
+
requireFields?: "audioId"[];
|
|
28707
28707
|
/**
|
|
28708
28708
|
* 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`.
|
|
28709
28709
|
*/
|
|
@@ -30466,7 +30466,7 @@ interface InstagramUserPostsInput {
|
|
|
30466
30466
|
/**
|
|
30467
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.
|
|
30468
30468
|
*/
|
|
30469
|
-
requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
30469
|
+
requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "durationSeconds" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
30470
30470
|
/**
|
|
30471
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`.
|
|
30472
30472
|
*/
|
|
@@ -30696,7 +30696,7 @@ interface InstagramUserReelsInput {
|
|
|
30696
30696
|
/**
|
|
30697
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.
|
|
30698
30698
|
*/
|
|
30699
|
-
requireFields?: ("
|
|
30699
|
+
requireFields?: ("countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
|
|
30700
30700
|
/**
|
|
30701
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`.
|
|
30702
30702
|
*/
|