@getanyapi/sdk 0.127.6 → 0.128.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -877,7 +877,7 @@ interface AhrefsTrafficItem {
877
877
  */
878
878
  topCountries?: AhrefsTrafficTopCountrie[];
879
879
  /**
880
- * The top organic keywords the domain already ranks for, up to five, ordered by traffic. Populated whenever the provider has data for the entity.
880
+ * The top organic keywords the domain already ranks for, up to five. Not ordered by traffic. For the full ranked-keyword list, use seo.ranked_keywords. Populated whenever the provider has data for the entity.
881
881
  * Present whenever the upstream returns this record.
882
882
  */
883
883
  topKeywords?: AhrefsTrafficTopKeyword[];
@@ -995,7 +995,7 @@ declare class AhrefsNamespace {
995
995
  /**
996
996
  * Ahrefs Domain Overview
997
997
  *
998
- * Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON.
998
+ * Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON. For the keywords a domain ranks for, use seo.ranked_keywords.
999
999
  *
1000
1000
  * Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
1001
1001
  *
@@ -1006,7 +1006,7 @@ declare class AhrefsNamespace {
1006
1006
  /**
1007
1007
  * Ahrefs Traffic Overview
1008
1008
  *
1009
- * Get the Ahrefs organic traffic overview for any domain or URL: monthly traffic estimate and value, the top keywords it already ranks for with position and traffic, top pages, traffic by country, and a monthly traffic history - as normalized JSON.
1009
+ * Get the Ahrefs organic traffic overview for any domain or URL: monthly traffic estimate and value, the top 5 keywords it already ranks for with position and traffic, top pages, traffic by country, and a monthly traffic history - as normalized JSON. For a domain's full ranked-keyword list with search volume and difficulty, use seo.ranked_keywords.
1010
1010
  *
1011
1011
  * Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
1012
1012
  *
@@ -1934,7 +1934,7 @@ declare class AmazonNamespace {
1934
1934
  *
1935
1935
  * Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
1936
1936
  *
1937
- * Price: $0.0013 per request.
1937
+ * Price: $0.0009 per request.
1938
1938
  *
1939
1939
  * @example
1940
1940
  * const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
@@ -13114,10 +13114,9 @@ interface DouyinSearchVideosInput {
13114
13114
  */
13115
13115
  backtrace?: string;
13116
13116
  /**
13117
- * Pagination cursor from the previous response; omit for the first page.
13118
- * Range: minimum 0.
13117
+ * Pagination cursor: pass the previous response's nextCursor; omit for the first page. A raw integer cursor is still accepted.
13119
13118
  */
13120
- cursor?: number;
13119
+ cursor?: unknown;
13121
13120
  /**
13122
13121
  * Duration filter in minutes: any, under 1, 1 to 5, or over 5.
13123
13122
  * One of: 0, 0-1, 1-5, 5-10000.
@@ -13281,9 +13280,9 @@ interface DouyinUserPostsInput {
13281
13280
  */
13282
13281
  allowFallbacks?: boolean;
13283
13282
  /**
13284
- * Pagination cursor from the previous response; omit for the first page.
13283
+ * Pagination cursor: pass the previous response's nextCursor; omit for the first page. A raw integer cursor is still accepted.
13285
13284
  */
13286
- cursor?: number;
13285
+ cursor?: unknown;
13287
13286
  /**
13288
13287
  * Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.
13289
13288
  */
@@ -13557,10 +13556,9 @@ interface DouyinVideoCommentsInput {
13557
13556
  */
13558
13557
  allowFallbacks?: boolean;
13559
13558
  /**
13560
- * Pagination cursor from the previous response; omit for the first page.
13561
- * Range: minimum 0.
13559
+ * Pagination cursor: pass the previous response's nextCursor; omit for the first page. A raw integer cursor is still accepted.
13562
13560
  */
13563
- cursor?: number;
13561
+ cursor?: unknown;
13564
13562
  /**
13565
13563
  * Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.
13566
13564
  */
@@ -22534,6 +22532,10 @@ interface GoogleAiOverviewInput {
22534
22532
  * The question or prompt to answer with a Google AI Overview.
22535
22533
  */
22536
22534
  prompt: string;
22535
+ /**
22536
+ * 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 `scrapedAt`, 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.
22537
+ */
22538
+ requireFields?: "scrapedAt"[];
22537
22539
  /**
22538
22540
  * Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
22539
22541
  */
@@ -23647,7 +23649,7 @@ interface GoogleSearch100Result {
23647
23649
  */
23648
23650
  position: number;
23649
23651
  /**
23650
- * Google's summary text for the result. Populated whenever the provider has data for the entity.
23652
+ * Google's summary text for the result.
23651
23653
  */
23652
23654
  snippet: string;
23653
23655
  /**
@@ -23874,7 +23876,7 @@ declare class GoogleNamespace {
23874
23876
  *
23875
23877
  * Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
23876
23878
  *
23877
- * Price: $0.0015 per request.
23879
+ * Price: $0.0018 per request.
23878
23880
  *
23879
23881
  * @example
23880
23882
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -24000,9 +24002,9 @@ declare class GoogleNamespace {
24000
24002
  /**
24001
24003
  * Google Search
24002
24004
  *
24003
- * Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
24005
+ * Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is normally cheaper past roughly 20 results.
24004
24006
  *
24005
- * Price: $0.0004 per request.
24007
+ * Price: $0.0005 per request.
24006
24008
  *
24007
24009
  * @example
24008
24010
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -24018,7 +24020,7 @@ declare class GoogleNamespace {
24018
24020
  /**
24019
24021
  * Google Search Top 100
24020
24022
  *
24021
- * Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One flat charge whatever the depth, which makes it cheaper than paging google.search past roughly 20 results. It reads ten pages of Google to build the list, so a call takes around three to four minutes - use google.search when you want the first page back in a second.
24023
+ * Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One charge per call whatever the depth, which normally makes it cheaper than paging google.search past roughly 20 results; when the backup source has to answer, the call costs more, up to $0.024. It reads ten pages of Google to build the list, so a call can take up to about five minutes - use google.search when you want the first page back in a second.
24022
24024
  *
24023
24025
  * Price: $0.0018 per request.
24024
24026
  *
@@ -30466,7 +30468,7 @@ declare class InstagramNamespace {
30466
30468
  *
30467
30469
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
30468
30470
  *
30469
- * Price: $0.0024 per request.
30471
+ * Price: $0.00175 per request.
30470
30472
  *
30471
30473
  * @example
30472
30474
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -30557,7 +30559,7 @@ declare class InstagramNamespace {
30557
30559
  *
30558
30560
  * List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
30559
30561
  *
30560
- * Price: $0.00095 per request.
30562
+ * Price: $0.0008 per request.
30561
30563
  *
30562
30564
  * @example
30563
30565
  * const res = await client.instagram.userReels({ handle: "nasa" });
@@ -40516,6 +40518,9 @@ interface PeopleSearchCrustdataInput {
40516
40518
  * Default: false.
40517
40519
  */
40518
40520
  requireVerifiedEmail?: boolean;
40521
+ /**
40522
+ * Crustdata seniority level, or one of the listed shorthands (vp, manager, founder...); an array matches any of them.
40523
+ */
40519
40524
  seniority?: unknown;
40520
40525
  /**
40521
40526
  * Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
@@ -49533,7 +49538,7 @@ interface RedditPostInput {
49533
49538
  */
49534
49539
  source?: string[];
49535
49540
  /**
49536
- * Reddit post URL on reddit.com, e.g. "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/". The /r/<subreddit>/comments/<id>/, /user/<name>/comments/<id>/, /comments/<id>/ and /gallery/<id> forms are accepted. A link to any other site is refused as invalid input, with no charge.
49541
+ * Reddit post URL on reddit.com, e.g. "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/". The /r/<subreddit>/comments/<id>/, /user/<name>/comments/<id>/, /comments/<id>/ and /gallery/<id> forms are accepted. Any other link, such as a share link or a link to another site, is refused as invalid input, with no charge.
49537
49542
  */
49538
49543
  url: string;
49539
49544
  }
@@ -63843,7 +63848,7 @@ interface TiktokVideoInput {
63843
63848
  /**
63844
63849
  * 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 `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 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.
63845
63850
  */
63846
- requireFields?: ("authorFollowers" | "authorVerified" | "comments" | "likes" | "shares" | "views")[];
63851
+ requireFields?: ("authorFollowers" | "authorVerified" | "comments" | "likes" | "sdVideoUrl" | "shares" | "videoUrl" | "views")[];
63847
63852
  /**
63848
63853
  * Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
63849
63854
  */
@@ -63915,6 +63920,10 @@ interface TiktokVideoData {
63915
63920
  likes: number;
63916
63921
  region: string;
63917
63922
  saves: number;
63923
+ /**
63924
+ * Standard-resolution H.264 video URL without the watermark (often 720p), playable in every browser; the same file as videoUrl when the source has no higher-resolution file. Signed and short-lived, so the query string is load-bearing and kept intact.
63925
+ */
63926
+ sdVideoUrl?: string;
63918
63927
  /**
63919
63928
  * Number of shares. Some sources round large counts (35.9K instead of 35,923); name `shares` in requireFields to be served only by a source that returns the exact count.
63920
63929
  */
@@ -63939,7 +63948,7 @@ interface TiktokVideoData {
63939
63948
  */
63940
63949
  url?: string;
63941
63950
  /**
63942
- * Playable video URL. Signed and short-lived, so the query string is load-bearing and kept intact.
63951
+ * Playable video URL without the watermark, at the highest resolution the source has: often 1080p and often encoded as H.265 (HEVC), which some browsers such as Firefox cannot play; use sdVideoUrl for those. Signed and short-lived, so the query string is load-bearing and kept intact.
63943
63952
  */
63944
63953
  videoUrl?: string;
63945
63954
  /**
@@ -64111,7 +64120,7 @@ interface TiktokVideoDownloadData {
64111
64120
  */
64112
64121
  hashtags?: string[];
64113
64122
  /**
64114
- * Pixel height of the video file.
64123
+ * Pixel height of the file in videoUrl.
64115
64124
  */
64116
64125
  height?: number;
64117
64126
  /**
@@ -64127,6 +64136,11 @@ interface TiktokVideoDownloadData {
64127
64136
  * Two-letter region code the video was published from.
64128
64137
  */
64129
64138
  region?: string;
64139
+ /**
64140
+ * Standard-resolution H.264 MP4 without the watermark (often 720p), playable in every browser; the same file as videoUrl when the source has no higher-resolution file. Signed and short-lived on the same terms as videoUrl.
64141
+ * Format: uri.
64142
+ */
64143
+ sdVideoUrl?: string;
64130
64144
  /**
64131
64145
  * Credited author of the sound. Populated whenever the provider has data for the entity.
64132
64146
  * Present whenever the upstream returns this record.
@@ -64147,7 +64161,7 @@ interface TiktokVideoDownloadData {
64147
64161
  */
64148
64162
  url?: string;
64149
64163
  /**
64150
- * Direct MP4 without the TikTok watermark or handle overlay. A signed, short-lived TikTok CDN URL, so fetch it promptly; the query params are the signature and must be kept intact. Send no cookies with the request - a tt_chain_token cookie makes the CDN answer 403. Still returned when the creator has turned off downloads: it is then the clean file TikTok streams for playback. Populated whenever the provider has data for the entity.
64164
+ * Direct MP4 without the TikTok watermark or handle overlay, at the highest resolution the source has: often 1080p and often encoded as H.265 (HEVC), which some browsers such as Firefox cannot play; use sdVideoUrl for those. A signed, short-lived TikTok CDN URL, so fetch it promptly; the query params are the signature and must be kept intact. Send no cookies with the request - a tt_chain_token cookie makes the CDN answer 403. Still returned when the creator has turned off downloads: it is then the clean file TikTok streams for playback. Populated whenever the provider has data for the entity.
64151
64165
  * Format: uri.
64152
64166
  */
64153
64167
  videoUrl: string;
@@ -64157,7 +64171,7 @@ interface TiktokVideoDownloadData {
64157
64171
  */
64158
64172
  watermarkedUrl?: string;
64159
64173
  /**
64160
- * Pixel width of the video file.
64174
+ * Pixel width of the file in videoUrl.
64161
64175
  */
64162
64176
  width?: number;
64163
64177
  [extra: string]: unknown;
@@ -68564,7 +68578,7 @@ declare class TwitterNamespace {
68564
68578
  *
68565
68579
  * Search X (Twitter) accounts by keyword - the People tab of X search. Matches handles, display names, and profile bios, and returns normalized profile records with follower, following, and post counts plus cursor pagination. Use twitter.search for posts.
68566
68580
  *
68567
- * Price: $0.00075 per request.
68581
+ * Price: $0.0007 per request.
68568
68582
  *
68569
68583
  * @example
68570
68584
  * const res = await client.twitter.searchUsers({ query: "ai agents" });
@@ -72879,7 +72893,7 @@ declare class YoutubeNamespace {
72879
72893
  *
72880
72894
  * Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
72881
72895
  *
72882
- * Price: $0.003 per request.
72896
+ * Price: $0.002 per request.
72883
72897
  *
72884
72898
  * @example
72885
72899
  * const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
package/dist/index.d.ts CHANGED
@@ -877,7 +877,7 @@ interface AhrefsTrafficItem {
877
877
  */
878
878
  topCountries?: AhrefsTrafficTopCountrie[];
879
879
  /**
880
- * The top organic keywords the domain already ranks for, up to five, ordered by traffic. Populated whenever the provider has data for the entity.
880
+ * The top organic keywords the domain already ranks for, up to five. Not ordered by traffic. For the full ranked-keyword list, use seo.ranked_keywords. Populated whenever the provider has data for the entity.
881
881
  * Present whenever the upstream returns this record.
882
882
  */
883
883
  topKeywords?: AhrefsTrafficTopKeyword[];
@@ -995,7 +995,7 @@ declare class AhrefsNamespace {
995
995
  /**
996
996
  * Ahrefs Domain Overview
997
997
  *
998
- * Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON.
998
+ * Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON. For the keywords a domain ranks for, use seo.ranked_keywords.
999
999
  *
1000
1000
  * Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
1001
1001
  *
@@ -1006,7 +1006,7 @@ declare class AhrefsNamespace {
1006
1006
  /**
1007
1007
  * Ahrefs Traffic Overview
1008
1008
  *
1009
- * Get the Ahrefs organic traffic overview for any domain or URL: monthly traffic estimate and value, the top keywords it already ranks for with position and traffic, top pages, traffic by country, and a monthly traffic history - as normalized JSON.
1009
+ * Get the Ahrefs organic traffic overview for any domain or URL: monthly traffic estimate and value, the top 5 keywords it already ranks for with position and traffic, top pages, traffic by country, and a monthly traffic history - as normalized JSON. For a domain's full ranked-keyword list with search volume and difficulty, use seo.ranked_keywords.
1010
1010
  *
1011
1011
  * Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
1012
1012
  *
@@ -1934,7 +1934,7 @@ declare class AmazonNamespace {
1934
1934
  *
1935
1935
  * Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
1936
1936
  *
1937
- * Price: $0.0013 per request.
1937
+ * Price: $0.0009 per request.
1938
1938
  *
1939
1939
  * @example
1940
1940
  * const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
@@ -13114,10 +13114,9 @@ interface DouyinSearchVideosInput {
13114
13114
  */
13115
13115
  backtrace?: string;
13116
13116
  /**
13117
- * Pagination cursor from the previous response; omit for the first page.
13118
- * Range: minimum 0.
13117
+ * Pagination cursor: pass the previous response's nextCursor; omit for the first page. A raw integer cursor is still accepted.
13119
13118
  */
13120
- cursor?: number;
13119
+ cursor?: unknown;
13121
13120
  /**
13122
13121
  * Duration filter in minutes: any, under 1, 1 to 5, or over 5.
13123
13122
  * One of: 0, 0-1, 1-5, 5-10000.
@@ -13281,9 +13280,9 @@ interface DouyinUserPostsInput {
13281
13280
  */
13282
13281
  allowFallbacks?: boolean;
13283
13282
  /**
13284
- * Pagination cursor from the previous response; omit for the first page.
13283
+ * Pagination cursor: pass the previous response's nextCursor; omit for the first page. A raw integer cursor is still accepted.
13285
13284
  */
13286
- cursor?: number;
13285
+ cursor?: unknown;
13287
13286
  /**
13288
13287
  * Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.
13289
13288
  */
@@ -13557,10 +13556,9 @@ interface DouyinVideoCommentsInput {
13557
13556
  */
13558
13557
  allowFallbacks?: boolean;
13559
13558
  /**
13560
- * Pagination cursor from the previous response; omit for the first page.
13561
- * Range: minimum 0.
13559
+ * Pagination cursor: pass the previous response's nextCursor; omit for the first page. A raw integer cursor is still accepted.
13562
13560
  */
13563
- cursor?: number;
13561
+ cursor?: unknown;
13564
13562
  /**
13565
13563
  * Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.
13566
13564
  */
@@ -22534,6 +22532,10 @@ interface GoogleAiOverviewInput {
22534
22532
  * The question or prompt to answer with a Google AI Overview.
22535
22533
  */
22536
22534
  prompt: string;
22535
+ /**
22536
+ * 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 `scrapedAt`, 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.
22537
+ */
22538
+ requireFields?: "scrapedAt"[];
22537
22539
  /**
22538
22540
  * Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
22539
22541
  */
@@ -23647,7 +23649,7 @@ interface GoogleSearch100Result {
23647
23649
  */
23648
23650
  position: number;
23649
23651
  /**
23650
- * Google's summary text for the result. Populated whenever the provider has data for the entity.
23652
+ * Google's summary text for the result.
23651
23653
  */
23652
23654
  snippet: string;
23653
23655
  /**
@@ -23874,7 +23876,7 @@ declare class GoogleNamespace {
23874
23876
  *
23875
23877
  * Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
23876
23878
  *
23877
- * Price: $0.0015 per request.
23879
+ * Price: $0.0018 per request.
23878
23880
  *
23879
23881
  * @example
23880
23882
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -24000,9 +24002,9 @@ declare class GoogleNamespace {
24000
24002
  /**
24001
24003
  * Google Search
24002
24004
  *
24003
- * Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
24005
+ * Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is normally cheaper past roughly 20 results.
24004
24006
  *
24005
- * Price: $0.0004 per request.
24007
+ * Price: $0.0005 per request.
24006
24008
  *
24007
24009
  * @example
24008
24010
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -24018,7 +24020,7 @@ declare class GoogleNamespace {
24018
24020
  /**
24019
24021
  * Google Search Top 100
24020
24022
  *
24021
- * Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One flat charge whatever the depth, which makes it cheaper than paging google.search past roughly 20 results. It reads ten pages of Google to build the list, so a call takes around three to four minutes - use google.search when you want the first page back in a second.
24023
+ * Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One charge per call whatever the depth, which normally makes it cheaper than paging google.search past roughly 20 results; when the backup source has to answer, the call costs more, up to $0.024. It reads ten pages of Google to build the list, so a call can take up to about five minutes - use google.search when you want the first page back in a second.
24022
24024
  *
24023
24025
  * Price: $0.0018 per request.
24024
24026
  *
@@ -30466,7 +30468,7 @@ declare class InstagramNamespace {
30466
30468
  *
30467
30469
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
30468
30470
  *
30469
- * Price: $0.0024 per request.
30471
+ * Price: $0.00175 per request.
30470
30472
  *
30471
30473
  * @example
30472
30474
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -30557,7 +30559,7 @@ declare class InstagramNamespace {
30557
30559
  *
30558
30560
  * List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
30559
30561
  *
30560
- * Price: $0.00095 per request.
30562
+ * Price: $0.0008 per request.
30561
30563
  *
30562
30564
  * @example
30563
30565
  * const res = await client.instagram.userReels({ handle: "nasa" });
@@ -40516,6 +40518,9 @@ interface PeopleSearchCrustdataInput {
40516
40518
  * Default: false.
40517
40519
  */
40518
40520
  requireVerifiedEmail?: boolean;
40521
+ /**
40522
+ * Crustdata seniority level, or one of the listed shorthands (vp, manager, founder...); an array matches any of them.
40523
+ */
40519
40524
  seniority?: unknown;
40520
40525
  /**
40521
40526
  * Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
@@ -49533,7 +49538,7 @@ interface RedditPostInput {
49533
49538
  */
49534
49539
  source?: string[];
49535
49540
  /**
49536
- * Reddit post URL on reddit.com, e.g. "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/". The /r/<subreddit>/comments/<id>/, /user/<name>/comments/<id>/, /comments/<id>/ and /gallery/<id> forms are accepted. A link to any other site is refused as invalid input, with no charge.
49541
+ * Reddit post URL on reddit.com, e.g. "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/". The /r/<subreddit>/comments/<id>/, /user/<name>/comments/<id>/, /comments/<id>/ and /gallery/<id> forms are accepted. Any other link, such as a share link or a link to another site, is refused as invalid input, with no charge.
49537
49542
  */
49538
49543
  url: string;
49539
49544
  }
@@ -63843,7 +63848,7 @@ interface TiktokVideoInput {
63843
63848
  /**
63844
63849
  * 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 `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 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.
63845
63850
  */
63846
- requireFields?: ("authorFollowers" | "authorVerified" | "comments" | "likes" | "shares" | "views")[];
63851
+ requireFields?: ("authorFollowers" | "authorVerified" | "comments" | "likes" | "sdVideoUrl" | "shares" | "videoUrl" | "views")[];
63847
63852
  /**
63848
63853
  * Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
63849
63854
  */
@@ -63915,6 +63920,10 @@ interface TiktokVideoData {
63915
63920
  likes: number;
63916
63921
  region: string;
63917
63922
  saves: number;
63923
+ /**
63924
+ * Standard-resolution H.264 video URL without the watermark (often 720p), playable in every browser; the same file as videoUrl when the source has no higher-resolution file. Signed and short-lived, so the query string is load-bearing and kept intact.
63925
+ */
63926
+ sdVideoUrl?: string;
63918
63927
  /**
63919
63928
  * Number of shares. Some sources round large counts (35.9K instead of 35,923); name `shares` in requireFields to be served only by a source that returns the exact count.
63920
63929
  */
@@ -63939,7 +63948,7 @@ interface TiktokVideoData {
63939
63948
  */
63940
63949
  url?: string;
63941
63950
  /**
63942
- * Playable video URL. Signed and short-lived, so the query string is load-bearing and kept intact.
63951
+ * Playable video URL without the watermark, at the highest resolution the source has: often 1080p and often encoded as H.265 (HEVC), which some browsers such as Firefox cannot play; use sdVideoUrl for those. Signed and short-lived, so the query string is load-bearing and kept intact.
63943
63952
  */
63944
63953
  videoUrl?: string;
63945
63954
  /**
@@ -64111,7 +64120,7 @@ interface TiktokVideoDownloadData {
64111
64120
  */
64112
64121
  hashtags?: string[];
64113
64122
  /**
64114
- * Pixel height of the video file.
64123
+ * Pixel height of the file in videoUrl.
64115
64124
  */
64116
64125
  height?: number;
64117
64126
  /**
@@ -64127,6 +64136,11 @@ interface TiktokVideoDownloadData {
64127
64136
  * Two-letter region code the video was published from.
64128
64137
  */
64129
64138
  region?: string;
64139
+ /**
64140
+ * Standard-resolution H.264 MP4 without the watermark (often 720p), playable in every browser; the same file as videoUrl when the source has no higher-resolution file. Signed and short-lived on the same terms as videoUrl.
64141
+ * Format: uri.
64142
+ */
64143
+ sdVideoUrl?: string;
64130
64144
  /**
64131
64145
  * Credited author of the sound. Populated whenever the provider has data for the entity.
64132
64146
  * Present whenever the upstream returns this record.
@@ -64147,7 +64161,7 @@ interface TiktokVideoDownloadData {
64147
64161
  */
64148
64162
  url?: string;
64149
64163
  /**
64150
- * Direct MP4 without the TikTok watermark or handle overlay. A signed, short-lived TikTok CDN URL, so fetch it promptly; the query params are the signature and must be kept intact. Send no cookies with the request - a tt_chain_token cookie makes the CDN answer 403. Still returned when the creator has turned off downloads: it is then the clean file TikTok streams for playback. Populated whenever the provider has data for the entity.
64164
+ * Direct MP4 without the TikTok watermark or handle overlay, at the highest resolution the source has: often 1080p and often encoded as H.265 (HEVC), which some browsers such as Firefox cannot play; use sdVideoUrl for those. A signed, short-lived TikTok CDN URL, so fetch it promptly; the query params are the signature and must be kept intact. Send no cookies with the request - a tt_chain_token cookie makes the CDN answer 403. Still returned when the creator has turned off downloads: it is then the clean file TikTok streams for playback. Populated whenever the provider has data for the entity.
64151
64165
  * Format: uri.
64152
64166
  */
64153
64167
  videoUrl: string;
@@ -64157,7 +64171,7 @@ interface TiktokVideoDownloadData {
64157
64171
  */
64158
64172
  watermarkedUrl?: string;
64159
64173
  /**
64160
- * Pixel width of the video file.
64174
+ * Pixel width of the file in videoUrl.
64161
64175
  */
64162
64176
  width?: number;
64163
64177
  [extra: string]: unknown;
@@ -68564,7 +68578,7 @@ declare class TwitterNamespace {
68564
68578
  *
68565
68579
  * Search X (Twitter) accounts by keyword - the People tab of X search. Matches handles, display names, and profile bios, and returns normalized profile records with follower, following, and post counts plus cursor pagination. Use twitter.search for posts.
68566
68580
  *
68567
- * Price: $0.00075 per request.
68581
+ * Price: $0.0007 per request.
68568
68582
  *
68569
68583
  * @example
68570
68584
  * const res = await client.twitter.searchUsers({ query: "ai agents" });
@@ -72879,7 +72893,7 @@ declare class YoutubeNamespace {
72879
72893
  *
72880
72894
  * Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
72881
72895
  *
72882
- * Price: $0.003 per request.
72896
+ * Price: $0.002 per request.
72883
72897
  *
72884
72898
  * @example
72885
72899
  * const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
package/dist/index.js CHANGED
@@ -1081,7 +1081,7 @@ var AhrefsNamespace = class {
1081
1081
  /**
1082
1082
  * Ahrefs Domain Overview
1083
1083
  *
1084
- * Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON.
1084
+ * Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON. For the keywords a domain ranks for, use seo.ranked_keywords.
1085
1085
  *
1086
1086
  * Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
1087
1087
  *
@@ -1094,7 +1094,7 @@ var AhrefsNamespace = class {
1094
1094
  /**
1095
1095
  * Ahrefs Traffic Overview
1096
1096
  *
1097
- * Get the Ahrefs organic traffic overview for any domain or URL: monthly traffic estimate and value, the top keywords it already ranks for with position and traffic, top pages, traffic by country, and a monthly traffic history - as normalized JSON.
1097
+ * Get the Ahrefs organic traffic overview for any domain or URL: monthly traffic estimate and value, the top 5 keywords it already ranks for with position and traffic, top pages, traffic by country, and a monthly traffic history - as normalized JSON. For a domain's full ranked-keyword list with search volume and difficulty, use seo.ranked_keywords.
1098
1098
  *
1099
1099
  * Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
1100
1100
  *
@@ -1185,7 +1185,7 @@ var AmazonNamespace = class {
1185
1185
  *
1186
1186
  * Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
1187
1187
  *
1188
- * Price: $0.0013 per request.
1188
+ * Price: $0.0009 per request.
1189
1189
  *
1190
1190
  * @example
1191
1191
  * const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
@@ -3332,7 +3332,7 @@ var GoogleNamespace = class {
3332
3332
  *
3333
3333
  * Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
3334
3334
  *
3335
- * Price: $0.0015 per request.
3335
+ * Price: $0.0018 per request.
3336
3336
  *
3337
3337
  * @example
3338
3338
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -3489,9 +3489,9 @@ var GoogleNamespace = class {
3489
3489
  /**
3490
3490
  * Google Search
3491
3491
  *
3492
- * Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
3492
+ * Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is normally cheaper past roughly 20 results.
3493
3493
  *
3494
- * Price: $0.0004 per request.
3494
+ * Price: $0.0005 per request.
3495
3495
  *
3496
3496
  * @example
3497
3497
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -3518,7 +3518,7 @@ var GoogleNamespace = class {
3518
3518
  /**
3519
3519
  * Google Search Top 100
3520
3520
  *
3521
- * Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One flat charge whatever the depth, which makes it cheaper than paging google.search past roughly 20 results. It reads ten pages of Google to build the list, so a call takes around three to four minutes - use google.search when you want the first page back in a second.
3521
+ * Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One charge per call whatever the depth, which normally makes it cheaper than paging google.search past roughly 20 results; when the backup source has to answer, the call costs more, up to $0.024. It reads ten pages of Google to build the list, so a call can take up to about five minutes - use google.search when you want the first page back in a second.
3522
3522
  *
3523
3523
  * Price: $0.0018 per request.
3524
3524
  *
@@ -4351,7 +4351,7 @@ var InstagramNamespace = class {
4351
4351
  *
4352
4352
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
4353
4353
  *
4354
- * Price: $0.0024 per request.
4354
+ * Price: $0.00175 per request.
4355
4355
  *
4356
4356
  * @example
4357
4357
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -4474,7 +4474,7 @@ var InstagramNamespace = class {
4474
4474
  *
4475
4475
  * List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
4476
4476
  *
4477
- * Price: $0.00095 per request.
4477
+ * Price: $0.0008 per request.
4478
4478
  *
4479
4479
  * @example
4480
4480
  * const res = await client.instagram.userReels({ handle: "nasa" });
@@ -8362,7 +8362,7 @@ var TwitterNamespace = class {
8362
8362
  *
8363
8363
  * Search X (Twitter) accounts by keyword - the People tab of X search. Matches handles, display names, and profile bios, and returns normalized profile records with follower, following, and post counts plus cursor pagination. Use twitter.search for posts.
8364
8364
  *
8365
- * Price: $0.00075 per request.
8365
+ * Price: $0.0007 per request.
8366
8366
  *
8367
8367
  * @example
8368
8368
  * const res = await client.twitter.searchUsers({ query: "ai agents" });
@@ -9209,7 +9209,7 @@ var YoutubeNamespace = class {
9209
9209
  *
9210
9210
  * Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
9211
9211
  *
9212
- * Price: $0.003 per request.
9212
+ * Price: $0.002 per request.
9213
9213
  *
9214
9214
  * @example
9215
9215
  * const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });