@getanyapi/sdk 0.34.4 → 0.35.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1086,7 +1086,7 @@ interface AmazonAsinsData {
1086
1086
  */
1087
1087
  interface AmazonBestsellersInput {
1088
1088
  /**
1089
- * Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
1089
+ * Maximum number of results to return (1-20, default 20).
1090
1090
  * Range: minimum 1, maximum 20.
1091
1091
  * Default: 20.
1092
1092
  */
@@ -1262,7 +1262,7 @@ interface AmazonReviewsInput {
1262
1262
  */
1263
1263
  keyword?: string;
1264
1264
  /**
1265
- * Maximum number of results to return (1-50, default 50). You are billed per result returned, so a lower limit costs less.
1265
+ * Maximum number of results to return (1-50, default 50).
1266
1266
  * Range: minimum 1, maximum 50.
1267
1267
  * Default: 50.
1268
1268
  */
@@ -1349,7 +1349,7 @@ interface AmazonReviewsData {
1349
1349
  */
1350
1350
  interface AmazonSearchInput {
1351
1351
  /**
1352
- * Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
1352
+ * Maximum number of results to return (1-20, default 20).
1353
1353
  * Range: minimum 1, maximum 20.
1354
1354
  * Default: 20.
1355
1355
  */
@@ -9001,7 +9001,7 @@ interface EbaySearchInput {
9001
9001
  */
9002
9002
  condition?: ("new" | "open_box" | "refurbished" | "used" | "for_parts")[];
9003
9003
  /**
9004
- * Maximum number of results to return (1 to 25, default 25). You are billed per result returned, so a lower limit costs less.
9004
+ * Maximum number of results to return (1 to 25, default 25).
9005
9005
  * Range: minimum 1, maximum 25.
9006
9006
  */
9007
9007
  limit?: number;
@@ -9351,17 +9351,20 @@ interface EmailVerifyItem {
9351
9351
  * Free email provider.
9352
9352
  */
9353
9353
  free?: boolean;
9354
+ /**
9355
+ * Why the verdict was reached. Published by only one of the two sources, so it is absent on most calls; never treat it as required.
9356
+ */
9354
9357
  reason?: string;
9355
9358
  /**
9356
9359
  * Role-based address (e.g. info@).
9357
9360
  */
9358
9361
  role?: boolean;
9359
9362
  /**
9360
- * Confidence score (0-100).
9363
+ * Confidence in the verdict, 0-100. Coarse rather than graded on most calls: it tracks the status rather than ranking addresses within one.
9361
9364
  */
9362
9365
  score?: number;
9363
9366
  /**
9364
- * Deliverability verdict (e.g. valid, risky, invalid). Populated whenever the provider has data for the entity.
9367
+ * Deliverability verdict: good (the mailbox accepted), bad (it was refused), or risky (no source could settle it - usually a catch-all domain that accepts every address, sometimes a receiving server that declined to answer at all). Populated whenever the provider has data for the entity.
9365
9368
  */
9366
9369
  status: string;
9367
9370
  [extra: string]: unknown;
@@ -9396,9 +9399,9 @@ declare class EmailNamespace {
9396
9399
  /**
9397
9400
  * Email Verifier
9398
9401
  *
9399
- * Verify an email address for deliverability: a status verdict (valid, risky, or invalid) with domain, mailbox, catch-all, disposable, and role signals plus a confidence score. Malformed addresses are rejected by the input schema with no charge; every syntactically valid address returns a billed verdict, including undeliverable ones.
9402
+ * Verify an email address for deliverability: a status verdict (good, risky, or bad) with domain, mailbox, catch-all, disposable, and role signals plus a confidence score. Malformed addresses are rejected by the input schema with no charge; every syntactically valid address returns a billed verdict, including undeliverable ones.
9400
9403
  *
9401
- * Price: $0 per request plus $0.00088 per result (maximum $0.00088).
9404
+ * Price: $0.0066 per request.
9402
9405
  *
9403
9406
  * @example
9404
9407
  * const res = await client.email.verify({ email: "patrick@stripe.com" });
@@ -15584,7 +15587,7 @@ interface GoogleShoppingSearchInput {
15584
15587
  */
15585
15588
  language?: string;
15586
15589
  /**
15587
- * Maximum number of results to return (1-10, default 10). You are billed per result returned, so a lower limit costs less.
15590
+ * Maximum number of results to return (1-10, default 10).
15588
15591
  * Range: minimum 1, maximum 10.
15589
15592
  */
15590
15593
  limit?: number;
@@ -17131,7 +17134,7 @@ interface InstagramReelsSearchData {
17131
17134
  */
17132
17135
  interface InstagramSearchInput {
17133
17136
  /**
17134
- * Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
17137
+ * Maximum number of results to return (1-20, default 20).
17135
17138
  * Range: minimum 1, maximum 20.
17136
17139
  */
17137
17140
  limit?: number;
@@ -18086,7 +18089,7 @@ declare class InstagramNamespace {
18086
18089
  *
18087
18090
  * Search Instagram for users, hashtags, or places by keyword and get matching results with names, counts, and links.
18088
18091
  *
18089
- * Price: $0.0015 per request.
18092
+ * Price: $0.0036 per request.
18090
18093
  *
18091
18094
  * @example
18092
18095
  * const res = await client.instagram.search({ query: "nasa" });
@@ -20236,7 +20239,7 @@ interface LinkedinPostData {
20236
20239
  */
20237
20240
  interface LinkedinPostCommentsInput {
20238
20241
  /**
20239
- * Maximum number of comments to return. You are billed per comment returned, so a lower limit costs less.
20242
+ * Maximum number of comments to return.
20240
20243
  * Range: minimum 1, maximum 100.
20241
20244
  * Default: 100.
20242
20245
  */
@@ -20341,7 +20344,7 @@ interface LinkedinPostCommentsData {
20341
20344
  */
20342
20345
  interface LinkedinPostReactionsInput {
20343
20346
  /**
20344
- * Maximum number of reactions to return (1-100, default 100). You are billed per reaction returned, so a lower limit costs less.
20347
+ * Maximum number of reactions to return (1-100, default 100).
20345
20348
  * Range: minimum 1, maximum 100.
20346
20349
  */
20347
20350
  limit?: number;
@@ -20710,7 +20713,7 @@ interface LinkedinProfilePostsFullInput {
20710
20713
  */
20711
20714
  includeReposts?: boolean;
20712
20715
  /**
20713
- * Maximum number of posts to return (1-100, default 10). You are billed per post returned, so a lower limit costs less.
20716
+ * Maximum number of posts to return (1-100, default 10).
20714
20717
  * Range: minimum 1, maximum 100.
20715
20718
  * Default: 10.
20716
20719
  */
@@ -21047,8 +21050,7 @@ interface LinkedinProfilePostsFullItem {
21047
21050
  */
21048
21051
  text: string;
21049
21052
  /**
21050
- * LinkedIn record type reported for the post. Populated whenever the provider has data for the entity.
21051
- * Present whenever the upstream returns this record.
21053
+ * LinkedIn record type reported for the post.
21052
21054
  */
21053
21055
  type?: string;
21054
21056
  /**
@@ -21191,7 +21193,7 @@ interface LinkedinProfilePostsFullData {
21191
21193
  */
21192
21194
  interface LinkedinProfilePostsThinInput {
21193
21195
  /**
21194
- * Maximum number of posts to return (10-100, default 10). You are billed per post returned, so a lower limit costs less.
21196
+ * Maximum number of posts to return (10-100, default 10).
21195
21197
  * Range: minimum 10, maximum 100.
21196
21198
  * Default: 10.
21197
21199
  */
@@ -21492,8 +21494,9 @@ interface LinkedinProfileThinData {
21492
21494
  */
21493
21495
  interface LinkedinSearchCompaniesInput {
21494
21496
  /**
21495
- * Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
21497
+ * Maximum number of results to return (1-20, default 20).
21496
21498
  * Range: minimum 1, maximum 20.
21499
+ * Default: 20.
21497
21500
  */
21498
21501
  limit?: number;
21499
21502
  /**
@@ -21678,7 +21681,7 @@ interface LinkedinSearchPostsFullInput {
21678
21681
  */
21679
21682
  datePosted?: "last-hour" | "last-day" | "last-week" | "last-month" | "last-three-months" | "last-six-months" | "last-year";
21680
21683
  /**
21681
- * Maximum number of posts to return (1-100, default 10). The upper bound is one LinkedIn search page. You are billed per post returned.
21684
+ * Maximum number of posts to return (1-100, default 10). The upper bound is one LinkedIn search page.
21682
21685
  * Range: minimum 1, maximum 100.
21683
21686
  * Default: 10.
21684
21687
  */
@@ -22434,7 +22437,7 @@ declare class LinkedinNamespace {
22434
22437
  *
22435
22438
  * List a LinkedIn company page's recent posts by URL: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attached media.
22436
22439
  *
22437
- * Price: $0.00116 per request plus $0.00193 per result (maximum $0.0975).
22440
+ * Price: $0.005 per request.
22438
22441
  *
22439
22442
  * @example
22440
22443
  * const res = await client.linkedin.companyPosts({ url: "https://www.linkedin.com/company/stripe", limit: 10 });
@@ -22489,7 +22492,7 @@ declare class LinkedinNamespace {
22489
22492
  *
22490
22493
  * Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
22491
22494
  *
22492
- * Price: $0.0009 per request.
22495
+ * Price: $0.00066 per request.
22493
22496
  *
22494
22497
  * @example
22495
22498
  * const res = await client.linkedin.jobsThin({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
@@ -22511,7 +22514,7 @@ declare class LinkedinNamespace {
22511
22514
  *
22512
22515
  * List comments on a LinkedIn post - full text, commenter name/URL/job title, timestamps, and engagement.
22513
22516
  *
22514
- * Price: $0 per request plus $0.00143 per result (maximum $0.143).
22517
+ * Price: $0.005 per request.
22515
22518
  *
22516
22519
  * @example
22517
22520
  * const res = await client.linkedin.postComments({ url: "https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ", limit: 10 });
@@ -22522,7 +22525,7 @@ declare class LinkedinNamespace {
22522
22525
  *
22523
22526
  * List who reacted to a LinkedIn post - reactor name, profile URL, job title, and reaction type. Lead-gen grade.
22524
22527
  *
22525
- * Price: $0 per request plus $0.0022 per result (maximum $0.22).
22528
+ * Price: $0.005 per request.
22526
22529
  *
22527
22530
  * @example
22528
22531
  * const res = await client.linkedin.postReactions({ url: "https://www.linkedin.com/posts/satyanadella_today-were-bringing-skills-to-copilot-for-activity-7475945433668694017--kvG", limit: 5 });
@@ -22544,10 +22547,10 @@ declare class LinkedinNamespace {
22544
22547
  *
22545
22548
  * Fetch a rich LinkedIn member profile by URL: name, headline, avatar, location, connections and followers, current position, and full work experience with job titles, descriptions, dates, employment/workplace type, and per-role skills, plus education, skills, certifications, honors and awards, languages, projects, publications, and verified/premium/open-to-work flags.
22546
22549
  *
22547
- * Price: $0.0044 per request plus $0 per result (maximum $0.0044).
22550
+ * Price: $0.004 per request.
22548
22551
  *
22549
22552
  * @example
22550
- * const res = await client.linkedin.profile({ url: "https://www.linkedin.com/in/williamhgates" });
22553
+ * const res = await client.linkedin.profile({ url: "https://www.linkedin.com/in/patrickcollison" });
22551
22554
  */
22552
22555
  profile(input: LinkedinProfileInput, options?: RequestOptions): Promise<RunResult<LinkedinProfileData>>;
22553
22556
  /**
@@ -22555,7 +22558,7 @@ declare class LinkedinNamespace {
22555
22558
  *
22556
22559
  * Fetch recent public LinkedIn profile posts with enriched author, engagement, article, newsletter, media, annotation, repost, and social activity details.
22557
22560
  *
22558
- * Price: $0.00116 per request plus $0.00193 per result (maximum $0.194).
22561
+ * Price: $0.005 per request.
22559
22562
  *
22560
22563
  * @example
22561
22564
  * const res = await client.linkedin.profilePostsFull({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
@@ -22566,7 +22569,7 @@ declare class LinkedinNamespace {
22566
22569
  *
22567
22570
  * Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
22568
22571
  *
22569
- * Price: $0 per request plus $0.00143 per result (maximum $0.143).
22572
+ * Price: $0.005 per request.
22570
22573
  *
22571
22574
  * @example
22572
22575
  * const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
@@ -22588,7 +22591,7 @@ declare class LinkedinNamespace {
22588
22591
  *
22589
22592
  * Search LinkedIn companies by keyword with optional location filtering, returning normalized company records.
22590
22593
  *
22591
- * Price: $0.0011 per request plus $0.0044 per result (maximum $0.0891).
22594
+ * Price: $0.005 per request.
22592
22595
  *
22593
22596
  * @example
22594
22597
  * const res = await client.linkedin.searchCompanies({ query: "fintech", limit: 3 });
@@ -22617,7 +22620,7 @@ declare class LinkedinNamespace {
22617
22620
  *
22618
22621
  * Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
22619
22622
  *
22620
- * Price: $0 per request plus $0.00143 per result (maximum $0.143).
22623
+ * Price: $0.005 per request.
22621
22624
  *
22622
22625
  * @example
22623
22626
  * const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
@@ -22817,7 +22820,7 @@ interface MapsContactsData {
22817
22820
  */
22818
22821
  interface MapsPlaceInput {
22819
22822
  /**
22820
- * Optional list of Google Maps place-category names to keep; the match is limited to a place whose category is one of these. Use lowercase category names as shown on Google Maps (e.g. ["coffee shop"]). Omit to allow any category.
22823
+ * Optional list of Google Maps place-category names to keep; the match is limited to a place whose category is one of these. Use lowercase category names as shown on Google Maps (e.g. ["coffee shop"]). Omit to allow any category and stay on the cheapest price; a category filter routes to a dearer source.
22821
22824
  */
22822
22825
  categoryFilterWords?: string[];
22823
22826
  /**
@@ -22830,7 +22833,7 @@ interface MapsPlaceInput {
22830
22833
  */
22831
22834
  location?: string;
22832
22835
  /**
22833
- * Only match a place with at least this average rating: two (2+), twoAndHalf (2.5+), three (3+), threeAndHalf (3.5+), four (4+), or fourAndHalf (4.5+). Places with no reviews are excluded. Omit for no rating filter.
22836
+ * Only match a place with at least this average rating: two (2+), twoAndHalf (2.5+), three (3+), threeAndHalf (3.5+), four (4+), or fourAndHalf (4.5+). Places with no reviews are excluded. Omit this field to stay on the cheapest price; a rating floor routes to a dearer source.
22834
22837
  * One of: two, twoAndHalf, three, threeAndHalf, four, fourAndHalf.
22835
22838
  */
22836
22839
  placeMinimumStars?: "two" | "twoAndHalf" | "three" | "threeAndHalf" | "four" | "fourAndHalf";
@@ -22844,7 +22847,7 @@ interface MapsPlaceInput {
22844
22847
  */
22845
22848
  query: string;
22846
22849
  /**
22847
- * Filter by whether the place lists a website: allPlaces (default), withWebsite (only if it has a website), or withoutWebsite (only if it has none).
22850
+ * Filter by whether the place lists a website: allPlaces (default), withWebsite (only if it has a website), or withoutWebsite (only if it has none). Omit this field, or send allPlaces, to stay on the cheapest price; withWebsite and withoutWebsite route to a dearer source.
22848
22851
  * One of: allPlaces, withWebsite, withoutWebsite.
22849
22852
  */
22850
22853
  website?: "allPlaces" | "withWebsite" | "withoutWebsite";
@@ -23068,7 +23071,7 @@ interface MapsReviewsData {
23068
23071
  */
23069
23072
  interface MapsSearchInput {
23070
23073
  /**
23071
- * Optional list of Google Maps place-category names to keep; results are limited to places whose category matches one of these. Use lowercase category names as shown on Google Maps (e.g. ["coffee shop", "restaurant"]). Omit to include all categories.
23074
+ * Optional list of Google Maps place-category names to keep; results are limited to places whose category matches one of these. Use lowercase category names as shown on Google Maps (e.g. ["coffee shop", "restaurant"]). Omit to include all categories and stay on the cheapest price; a category filter routes to a dearer source.
23072
23075
  */
23073
23076
  categoryFilterWords?: string[];
23074
23077
  /**
@@ -23086,7 +23089,7 @@ interface MapsSearchInput {
23086
23089
  */
23087
23090
  location: string;
23088
23091
  /**
23089
- * Only return places with at least this average rating: two (2+), twoAndHalf (2.5+), three (3+), threeAndHalf (3.5+), four (4+), or fourAndHalf (4.5+). Places with no reviews are excluded. Omit for no rating filter.
23092
+ * Only return places with at least this average rating: two (2+), twoAndHalf (2.5+), three (3+), threeAndHalf (3.5+), four (4+), or fourAndHalf (4.5+). Places with no reviews are excluded. Omit this field to stay on the cheapest price; a rating floor routes to a dearer source.
23090
23093
  * One of: two, twoAndHalf, three, threeAndHalf, four, fourAndHalf.
23091
23094
  */
23092
23095
  placeMinimumStars?: "two" | "twoAndHalf" | "three" | "threeAndHalf" | "four" | "fourAndHalf";
@@ -23100,7 +23103,7 @@ interface MapsSearchInput {
23100
23103
  */
23101
23104
  query: string;
23102
23105
  /**
23103
- * Filter places by whether they list a website: allPlaces (default), withWebsite (only places that have a website), or withoutWebsite (only places without one).
23106
+ * Filter places by whether they list a website: allPlaces (default), withWebsite (only places that have a website), or withoutWebsite (only places without one). Omit this field, or send allPlaces, to stay on the cheapest price; withWebsite and withoutWebsite route to a dearer source.
23104
23107
  * One of: allPlaces, withWebsite, withoutWebsite.
23105
23108
  */
23106
23109
  website?: "allPlaces" | "withWebsite" | "withoutWebsite";
@@ -23223,7 +23226,7 @@ declare class MapsNamespace {
23223
23226
  * Price: $0.00175 per request.
23224
23227
  *
23225
23228
  * @example
23226
- * const res = await client.maps.place({ query: "Blue Bottle Coffee", location: "San Francisco, CA", website: "withWebsite" });
23229
+ * const res = await client.maps.place({ query: "Blue Bottle Coffee", location: "San Francisco, CA" });
23227
23230
  */
23228
23231
  place(input: MapsPlaceInput, options?: RequestOptions): Promise<RunResult<MapsPlaceData>>;
23229
23232
  /**
@@ -23245,7 +23248,7 @@ declare class MapsNamespace {
23245
23248
  * Price: $0.00175 per request.
23246
23249
  *
23247
23250
  * @example
23248
- * const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3, placeMinimumStars: "four", website: "withWebsite" });
23251
+ * const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3 });
23249
23252
  */
23250
23253
  search(input: MapsSearchInput, options?: RequestOptions): Promise<RunResult<MapsSearchData>>;
23251
23254
  }
@@ -31017,7 +31020,7 @@ declare class PersonEnrichmentNamespace {
31017
31020
  */
31018
31021
  interface PinterestSearchInput {
31019
31022
  /**
31020
- * Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
31023
+ * Maximum number of results to return (1-20, default 20).
31021
31024
  * Range: minimum 1, maximum 20.
31022
31025
  */
31023
31026
  limit?: number;
@@ -33201,7 +33204,7 @@ declare class RednoteNamespace {
33201
33204
  * Price: $0.012 per request.
33202
33205
  *
33203
33206
  * @example
33204
- * const res = await client.rednote.note({ noteId: "66f2a24f000000002c02cf57" });
33207
+ * const res = await client.rednote.note({ noteId: "6a8fe7c20000000026003bbf" });
33205
33208
  */
33206
33209
  note(input: RednoteNoteInput, options?: RequestOptions): Promise<RunResult<RednoteNoteData>>;
33207
33210
  /**
@@ -36906,7 +36909,7 @@ interface TiktokHashtagVideosInput {
36906
36909
  */
36907
36910
  hashtag: string;
36908
36911
  /**
36909
- * Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
36912
+ * Maximum number of results to return (1-20, default 20).
36910
36913
  * Range: minimum 1, maximum 20.
36911
36914
  */
36912
36915
  limit?: number;
@@ -38372,7 +38375,7 @@ declare class TiktokNamespace {
38372
38375
  *
38373
38376
  * List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
38374
38377
  *
38375
- * Price: $0.00144 per request.
38378
+ * Price: $0.0036 per request.
38376
38379
  *
38377
38380
  * @example
38378
38381
  * const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
@@ -39273,7 +39276,7 @@ interface TiktokShopSearchInput {
39273
39276
  */
39274
39277
  country?: "US" | "VN" | "TH" | "PH" | "MY" | "ID" | "GB" | "SG" | "ES" | "MX" | "DE" | "IT" | "FR" | "BR" | "JP";
39275
39278
  /**
39276
- * Maximum number of results to return (1-10, default 10). You are billed per result returned, so a lower limit costs less.
39279
+ * Maximum number of results to return (1-10, default 10).
39277
39280
  * Range: minimum 1, maximum 10.
39278
39281
  */
39279
39282
  limit?: number;
@@ -39654,7 +39657,7 @@ interface TripadvisorReviewsInput {
39654
39657
  */
39655
39658
  languages?: string[];
39656
39659
  /**
39657
- * Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
39660
+ * Maximum number of results to return (1-20, default 20).
39658
39661
  * Range: minimum 1, maximum 20.
39659
39662
  */
39660
39663
  limit?: number;
@@ -39736,7 +39739,7 @@ interface TripadvisorSearchInput {
39736
39739
  */
39737
39740
  includeRestaurants?: boolean;
39738
39741
  /**
39739
- * Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
39742
+ * Maximum number of results to return (1-20, default 20).
39740
39743
  * Range: minimum 1, maximum 20.
39741
39744
  */
39742
39745
  limit?: number;
@@ -39894,8 +39897,9 @@ interface TrustpilotReviewsInput {
39894
39897
  */
39895
39898
  languages?: string[];
39896
39899
  /**
39897
- * Maximum number of results to return (1-200, default 200). Trustpilot serves at most 200 reviews per company. You are billed per result returned, so a lower limit costs less.
39900
+ * Maximum number of results to return (1-200, default 200). Trustpilot serves at most 200 reviews per company.
39898
39901
  * Range: minimum 1, maximum 200.
39902
+ * Default: 200.
39899
39903
  */
39900
39904
  limit?: number;
39901
39905
  /**
@@ -39977,7 +39981,7 @@ declare class TrustpilotNamespace {
39977
39981
  *
39978
39982
  * Pull Trustpilot reviews for any company by brand name: star ratings, review text, dates, and reviewer details as clean JSON.
39979
39983
  *
39980
- * Price: $0.00006 per request plus $0.00005 per result (maximum $0.00886).
39984
+ * Price: $0.00225 per request.
39981
39985
  *
39982
39986
  * @example
39983
39987
  * const res = await client.trustpilot.reviews({ company: "stripe.com", limit: 3 });
@@ -42088,7 +42092,7 @@ interface WebScrapeInput {
42088
42092
  */
42089
42093
  excludeTags?: string[];
42090
42094
  /**
42091
- * Which representations of the page to return. Any combination of: markdown (page content as Markdown), html (cleaned HTML), rawHtml (verbatim page HTML). Each requested format is returned under the matching output field. Defaults to Markdown and raw HTML.
42095
+ * Which representations of the page to return. Any combination of: markdown (page content as Markdown), html (the page HTML exactly as the browser received it, including head and script tags). Each requested format is returned under the matching output field. Defaults to both. rawHtml is a deprecated alias of html, returned under a rawHtml field for callers that predate the rename; send html instead.
42092
42096
  */
42093
42097
  formats?: ("markdown" | "html" | "rawHtml")[];
42094
42098
  /**
@@ -42109,11 +42113,6 @@ interface WebScrapeInput {
42109
42113
  * Range: minimum 1.
42110
42114
  */
42111
42115
  preferLatencyUnderMs?: number;
42112
- /**
42113
- * When true, fetch through a stealth proxy that gets past bot protection which refuses an ordinary request. This costs materially more per request (see the pricing ceiling), so leave it off unless a normal scrape of the site comes back blocked or empty.
42114
- * Default: false.
42115
- */
42116
- stealth?: boolean;
42117
42116
  /**
42118
42117
  * The URL of the page to scrape.
42119
42118
  * Format: uri.
@@ -42134,7 +42133,7 @@ interface WebScrapeData {
42134
42133
  */
42135
42134
  description: string;
42136
42135
  /**
42137
- * The cleaned page HTML. Present only when 'html' is among the requested formats.
42136
+ * The page HTML exactly as the browser received it, head and script tags included. Present when 'html' is among the requested formats (the default).
42138
42137
  */
42139
42138
  html?: string;
42140
42139
  /**
@@ -42143,7 +42142,7 @@ interface WebScrapeData {
42143
42142
  */
42144
42143
  markdown?: string;
42145
42144
  /**
42146
- * The verbatim page HTML before cleaning. Present only when 'rawHtml' is among the requested formats.
42145
+ * The same bytes as 'html'. Deprecated alias returned only when 'rawHtml' is among the requested formats; use 'html'.
42147
42146
  */
42148
42147
  rawHtml?: string;
42149
42148
  /**
@@ -42233,7 +42232,7 @@ declare class WebNamespace {
42233
42232
  * Price: $0.0007 per request.
42234
42233
  *
42235
42234
  * @example
42236
- * const res = await client.web.scrape({ url: "https://example.com", formats: ["markdown", "rawHtml"], onlyMainContent: false });
42235
+ * const res = await client.web.scrape({ url: "https://example.com", formats: ["markdown", "html"], onlyMainContent: false });
42237
42236
  */
42238
42237
  scrape(input: WebScrapeInput, options?: RequestOptions): Promise<RunResult<WebScrapeData>>;
42239
42238
  /**
@@ -44984,7 +44983,7 @@ interface ZillowSearchInput {
44984
44983
  */
44985
44984
  includeRoomForRent?: boolean;
44986
44985
  /**
44987
- * Maximum number of results to return (1-25, default 25). You are billed per result returned, so a lower limit costs less.
44986
+ * Maximum number of results to return (1-25, default 25).
44988
44987
  * Range: minimum 1, maximum 25.
44989
44988
  * Default: 25.
44990
44989
  */
package/dist/index.js CHANGED
@@ -1869,9 +1869,9 @@ var EmailNamespace = class {
1869
1869
  /**
1870
1870
  * Email Verifier
1871
1871
  *
1872
- * Verify an email address for deliverability: a status verdict (valid, risky, or invalid) with domain, mailbox, catch-all, disposable, and role signals plus a confidence score. Malformed addresses are rejected by the input schema with no charge; every syntactically valid address returns a billed verdict, including undeliverable ones.
1872
+ * Verify an email address for deliverability: a status verdict (good, risky, or bad) with domain, mailbox, catch-all, disposable, and role signals plus a confidence score. Malformed addresses are rejected by the input schema with no charge; every syntactically valid address returns a billed verdict, including undeliverable ones.
1873
1873
  *
1874
- * Price: $0 per request plus $0.00088 per result (maximum $0.00088).
1874
+ * Price: $0.0066 per request.
1875
1875
  *
1876
1876
  * @example
1877
1877
  * const res = await client.email.verify({ email: "patrick@stripe.com" });
@@ -3595,7 +3595,7 @@ var InstagramNamespace = class {
3595
3595
  *
3596
3596
  * Search Instagram for users, hashtags, or places by keyword and get matching results with names, counts, and links.
3597
3597
  *
3598
- * Price: $0.0015 per request.
3598
+ * Price: $0.0036 per request.
3599
3599
  *
3600
3600
  * @example
3601
3601
  * const res = await client.instagram.search({ query: "nasa" });
@@ -3912,7 +3912,7 @@ var LinkedinNamespace = class {
3912
3912
  *
3913
3913
  * List a LinkedIn company page's recent posts by URL: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attached media.
3914
3914
  *
3915
- * Price: $0.00116 per request plus $0.00193 per result (maximum $0.0975).
3915
+ * Price: $0.005 per request.
3916
3916
  *
3917
3917
  * @example
3918
3918
  * const res = await client.linkedin.companyPosts({ url: "https://www.linkedin.com/company/stripe", limit: 10 });
@@ -3977,7 +3977,7 @@ var LinkedinNamespace = class {
3977
3977
  *
3978
3978
  * Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
3979
3979
  *
3980
- * Price: $0.0009 per request.
3980
+ * Price: $0.00066 per request.
3981
3981
  *
3982
3982
  * @example
3983
3983
  * const res = await client.linkedin.jobsThin({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
@@ -4003,7 +4003,7 @@ var LinkedinNamespace = class {
4003
4003
  *
4004
4004
  * List comments on a LinkedIn post - full text, commenter name/URL/job title, timestamps, and engagement.
4005
4005
  *
4006
- * Price: $0 per request plus $0.00143 per result (maximum $0.143).
4006
+ * Price: $0.005 per request.
4007
4007
  *
4008
4008
  * @example
4009
4009
  * const res = await client.linkedin.postComments({ url: "https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ", limit: 10 });
@@ -4016,7 +4016,7 @@ var LinkedinNamespace = class {
4016
4016
  *
4017
4017
  * List who reacted to a LinkedIn post - reactor name, profile URL, job title, and reaction type. Lead-gen grade.
4018
4018
  *
4019
- * Price: $0 per request plus $0.0022 per result (maximum $0.22).
4019
+ * Price: $0.005 per request.
4020
4020
  *
4021
4021
  * @example
4022
4022
  * const res = await client.linkedin.postReactions({ url: "https://www.linkedin.com/posts/satyanadella_today-were-bringing-skills-to-copilot-for-activity-7475945433668694017--kvG", limit: 5 });
@@ -4042,10 +4042,10 @@ var LinkedinNamespace = class {
4042
4042
  *
4043
4043
  * Fetch a rich LinkedIn member profile by URL: name, headline, avatar, location, connections and followers, current position, and full work experience with job titles, descriptions, dates, employment/workplace type, and per-role skills, plus education, skills, certifications, honors and awards, languages, projects, publications, and verified/premium/open-to-work flags.
4044
4044
  *
4045
- * Price: $0.0044 per request plus $0 per result (maximum $0.0044).
4045
+ * Price: $0.004 per request.
4046
4046
  *
4047
4047
  * @example
4048
- * const res = await client.linkedin.profile({ url: "https://www.linkedin.com/in/williamhgates" });
4048
+ * const res = await client.linkedin.profile({ url: "https://www.linkedin.com/in/patrickcollison" });
4049
4049
  */
4050
4050
  profile(input, options) {
4051
4051
  return this._core.run("linkedin.profile", input, options);
@@ -4055,7 +4055,7 @@ var LinkedinNamespace = class {
4055
4055
  *
4056
4056
  * Fetch recent public LinkedIn profile posts with enriched author, engagement, article, newsletter, media, annotation, repost, and social activity details.
4057
4057
  *
4058
- * Price: $0.00116 per request plus $0.00193 per result (maximum $0.194).
4058
+ * Price: $0.005 per request.
4059
4059
  *
4060
4060
  * @example
4061
4061
  * const res = await client.linkedin.profilePostsFull({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
@@ -4068,7 +4068,7 @@ var LinkedinNamespace = class {
4068
4068
  *
4069
4069
  * Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
4070
4070
  *
4071
- * Price: $0 per request plus $0.00143 per result (maximum $0.143).
4071
+ * Price: $0.005 per request.
4072
4072
  *
4073
4073
  * @example
4074
4074
  * const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
@@ -4094,7 +4094,7 @@ var LinkedinNamespace = class {
4094
4094
  *
4095
4095
  * Search LinkedIn companies by keyword with optional location filtering, returning normalized company records.
4096
4096
  *
4097
- * Price: $0.0011 per request plus $0.0044 per result (maximum $0.0891).
4097
+ * Price: $0.005 per request.
4098
4098
  *
4099
4099
  * @example
4100
4100
  * const res = await client.linkedin.searchCompanies({ query: "fintech", limit: 3 });
@@ -4136,7 +4136,7 @@ var LinkedinNamespace = class {
4136
4136
  *
4137
4137
  * Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
4138
4138
  *
4139
- * Price: $0 per request plus $0.00143 per result (maximum $0.143).
4139
+ * Price: $0.005 per request.
4140
4140
  *
4141
4141
  * @example
4142
4142
  * const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
@@ -4212,7 +4212,7 @@ var MapsNamespace = class {
4212
4212
  * Price: $0.00175 per request.
4213
4213
  *
4214
4214
  * @example
4215
- * const res = await client.maps.place({ query: "Blue Bottle Coffee", location: "San Francisco, CA", website: "withWebsite" });
4215
+ * const res = await client.maps.place({ query: "Blue Bottle Coffee", location: "San Francisco, CA" });
4216
4216
  */
4217
4217
  place(input, options) {
4218
4218
  return this._core.run("maps.place", input, options);
@@ -4238,7 +4238,7 @@ var MapsNamespace = class {
4238
4238
  * Price: $0.00175 per request.
4239
4239
  *
4240
4240
  * @example
4241
- * const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3, placeMinimumStars: "four", website: "withWebsite" });
4241
+ * const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3 });
4242
4242
  */
4243
4243
  search(input, options) {
4244
4244
  return this._core.run("maps.search", input, options);
@@ -5015,7 +5015,7 @@ var RednoteNamespace = class {
5015
5015
  * Price: $0.012 per request.
5016
5016
  *
5017
5017
  * @example
5018
- * const res = await client.rednote.note({ noteId: "66f2a24f000000002c02cf57" });
5018
+ * const res = await client.rednote.note({ noteId: "6a8fe7c20000000026003bbf" });
5019
5019
  */
5020
5020
  note(input, options) {
5021
5021
  return this._core.run("rednote.note", input, options);
@@ -5866,7 +5866,7 @@ var TiktokNamespace = class {
5866
5866
  *
5867
5867
  * List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
5868
5868
  *
5869
- * Price: $0.00144 per request.
5869
+ * Price: $0.0036 per request.
5870
5870
  *
5871
5871
  * @example
5872
5872
  * const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
@@ -6463,7 +6463,7 @@ var TrustpilotNamespace = class {
6463
6463
  *
6464
6464
  * Pull Trustpilot reviews for any company by brand name: star ratings, review text, dates, and reviewer details as clean JSON.
6465
6465
  *
6466
- * Price: $0.00006 per request plus $0.00005 per result (maximum $0.00886).
6466
+ * Price: $0.00225 per request.
6467
6467
  *
6468
6468
  * @example
6469
6469
  * const res = await client.trustpilot.reviews({ company: "stripe.com", limit: 3 });
@@ -6930,7 +6930,7 @@ var WebNamespace = class {
6930
6930
  * Price: $0.0007 per request.
6931
6931
  *
6932
6932
  * @example
6933
- * const res = await client.web.scrape({ url: "https://example.com", formats: ["markdown", "rawHtml"], onlyMainContent: false });
6933
+ * const res = await client.web.scrape({ url: "https://example.com", formats: ["markdown", "html"], onlyMainContent: false });
6934
6934
  */
6935
6935
  scrape(input, options) {
6936
6936
  return this._core.run("web.scrape", input, options);