@getanyapi/sdk 0.15.0 → 0.15.2
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 +32 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +199 -83
- package/dist/index.d.ts +199 -83
- package/dist/index.js +32 -16
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1318,7 +1318,7 @@ declare class AmazonNamespace {
|
|
|
1318
1318
|
*
|
|
1319
1319
|
* Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
|
|
1320
1320
|
*
|
|
1321
|
-
* Price: $0.
|
|
1321
|
+
* Price: $0.0018 per request.
|
|
1322
1322
|
*
|
|
1323
1323
|
* @example
|
|
1324
1324
|
* const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
|
|
@@ -3453,9 +3453,9 @@ interface DouyinSearchVideosData {
|
|
|
3453
3453
|
*/
|
|
3454
3454
|
hasMore: boolean;
|
|
3455
3455
|
/**
|
|
3456
|
-
*
|
|
3456
|
+
* Opaque cursor for the next page of videos, or null when this lane has no more. Pass it back as cursor to continue.
|
|
3457
3457
|
*/
|
|
3458
|
-
nextCursor: string;
|
|
3458
|
+
nextCursor: string | null;
|
|
3459
3459
|
/**
|
|
3460
3460
|
* Search ID required for the next page.
|
|
3461
3461
|
*/
|
|
@@ -3560,9 +3560,9 @@ interface DouyinUserPostsData {
|
|
|
3560
3560
|
*/
|
|
3561
3561
|
hasMore: boolean;
|
|
3562
3562
|
/**
|
|
3563
|
-
*
|
|
3563
|
+
* Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.
|
|
3564
3564
|
*/
|
|
3565
|
-
nextCursor: string;
|
|
3565
|
+
nextCursor: string | null;
|
|
3566
3566
|
/**
|
|
3567
3567
|
* Normalized Douyin posts. Populated whenever the provider has data for the entity.
|
|
3568
3568
|
*/
|
|
@@ -3732,9 +3732,9 @@ interface DouyinVideoCommentsData {
|
|
|
3732
3732
|
*/
|
|
3733
3733
|
hasMore: boolean;
|
|
3734
3734
|
/**
|
|
3735
|
-
*
|
|
3735
|
+
* Opaque cursor for the next page of comments, or null when this lane has no more. Pass it back as cursor to continue.
|
|
3736
3736
|
*/
|
|
3737
|
-
nextCursor: string;
|
|
3737
|
+
nextCursor: string | null;
|
|
3738
3738
|
/**
|
|
3739
3739
|
* Total comment count reported by Douyin.
|
|
3740
3740
|
*/
|
|
@@ -4359,7 +4359,10 @@ interface FacebookAdsSearchAd {
|
|
|
4359
4359
|
*/
|
|
4360
4360
|
interface FacebookAdsSearchData {
|
|
4361
4361
|
ads: FacebookAdsSearchAd[];
|
|
4362
|
-
|
|
4362
|
+
/**
|
|
4363
|
+
* Opaque cursor for the next page of ads, or null when this lane has no more. Pass it back as cursor to continue.
|
|
4364
|
+
*/
|
|
4365
|
+
nextCursor: string | null;
|
|
4363
4366
|
totalResults: number;
|
|
4364
4367
|
}
|
|
4365
4368
|
/**
|
|
@@ -4431,9 +4434,9 @@ interface FacebookCommentRepliesData {
|
|
|
4431
4434
|
*/
|
|
4432
4435
|
hasNextPage: boolean;
|
|
4433
4436
|
/**
|
|
4434
|
-
*
|
|
4437
|
+
* Opaque cursor for the next page of replies, or null when this lane has no more. Pass it back as cursor to continue.
|
|
4435
4438
|
*/
|
|
4436
|
-
nextCursor: string;
|
|
4439
|
+
nextCursor: string | null;
|
|
4437
4440
|
/**
|
|
4438
4441
|
* Replies to the comment. Populated whenever the provider has data for the entity.
|
|
4439
4442
|
*/
|
|
@@ -4533,7 +4536,10 @@ interface FacebookCompanyAdsAd {
|
|
|
4533
4536
|
*/
|
|
4534
4537
|
interface FacebookCompanyAdsData {
|
|
4535
4538
|
ads: FacebookCompanyAdsAd[];
|
|
4536
|
-
|
|
4539
|
+
/**
|
|
4540
|
+
* Opaque cursor for the next page of ads, or null when this lane has no more. Pass it back as cursor to continue.
|
|
4541
|
+
*/
|
|
4542
|
+
nextCursor: string | null;
|
|
4537
4543
|
}
|
|
4538
4544
|
/**
|
|
4539
4545
|
* Input for Facebook Event Details (facebook.event_details).
|
|
@@ -4645,7 +4651,10 @@ interface FacebookEventsEvent {
|
|
|
4645
4651
|
*/
|
|
4646
4652
|
interface FacebookEventsData {
|
|
4647
4653
|
events: FacebookEventsEvent[];
|
|
4648
|
-
|
|
4654
|
+
/**
|
|
4655
|
+
* Opaque cursor for the next page of events, or null when this lane has no more. Pass it back as cursor to continue.
|
|
4656
|
+
*/
|
|
4657
|
+
nextCursor: string | null;
|
|
4649
4658
|
}
|
|
4650
4659
|
/**
|
|
4651
4660
|
* Input for Facebook Events Search (facebook.events_search).
|
|
@@ -4701,7 +4710,10 @@ interface FacebookEventsSearchEvent {
|
|
|
4701
4710
|
*/
|
|
4702
4711
|
interface FacebookEventsSearchData {
|
|
4703
4712
|
events: FacebookEventsSearchEvent[];
|
|
4704
|
-
|
|
4713
|
+
/**
|
|
4714
|
+
* Opaque cursor for the next page of events, or null when this lane has no more. Pass it back as cursor to continue.
|
|
4715
|
+
*/
|
|
4716
|
+
nextCursor: string | null;
|
|
4705
4717
|
}
|
|
4706
4718
|
/**
|
|
4707
4719
|
* Input for Facebook Followers (facebook.followers).
|
|
@@ -4802,7 +4814,10 @@ interface FacebookGroupPostsPost {
|
|
|
4802
4814
|
* The `data` payload of Facebook Group Posts (facebook.group_posts).
|
|
4803
4815
|
*/
|
|
4804
4816
|
interface FacebookGroupPostsData {
|
|
4805
|
-
|
|
4817
|
+
/**
|
|
4818
|
+
* Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.
|
|
4819
|
+
*/
|
|
4820
|
+
nextCursor: string | null;
|
|
4806
4821
|
/**
|
|
4807
4822
|
* Populated whenever the provider has data for the entity.
|
|
4808
4823
|
*/
|
|
@@ -4902,7 +4917,10 @@ interface FacebookMarketplaceListing {
|
|
|
4902
4917
|
interface FacebookMarketplaceData {
|
|
4903
4918
|
hasNextPage: boolean;
|
|
4904
4919
|
listings: FacebookMarketplaceListing[];
|
|
4905
|
-
|
|
4920
|
+
/**
|
|
4921
|
+
* Opaque cursor for the next page of listings, or null when this lane has no more. Pass it back as cursor to continue.
|
|
4922
|
+
*/
|
|
4923
|
+
nextCursor: string | null;
|
|
4906
4924
|
}
|
|
4907
4925
|
/**
|
|
4908
4926
|
* Input for Facebook Marketplace Item (facebook.marketplace_item).
|
|
@@ -5120,7 +5138,10 @@ interface FacebookPhotosPhoto {
|
|
|
5120
5138
|
* The `data` payload of Facebook Page Photos (facebook.photos).
|
|
5121
5139
|
*/
|
|
5122
5140
|
interface FacebookPhotosData {
|
|
5123
|
-
|
|
5141
|
+
/**
|
|
5142
|
+
* Opaque cursor for the next page of photos, or null when this lane has no more. Pass it back as cursor to continue.
|
|
5143
|
+
*/
|
|
5144
|
+
nextCursor: string | null;
|
|
5124
5145
|
nextPageId: string;
|
|
5125
5146
|
/**
|
|
5126
5147
|
* Populated whenever the provider has data for the entity.
|
|
@@ -5207,9 +5228,9 @@ interface FacebookPostCommentsData {
|
|
|
5207
5228
|
*/
|
|
5208
5229
|
comments: FacebookPostCommentsComment[];
|
|
5209
5230
|
/**
|
|
5210
|
-
*
|
|
5231
|
+
* Opaque cursor for the next page of comments, or null when this lane has no more. Pass it back as cursor to continue.
|
|
5211
5232
|
*/
|
|
5212
|
-
nextCursor: string;
|
|
5233
|
+
nextCursor: string | null;
|
|
5213
5234
|
}
|
|
5214
5235
|
/**
|
|
5215
5236
|
* Input for Facebook Post Transcript (facebook.post_transcript).
|
|
@@ -5309,7 +5330,10 @@ interface FacebookProfileEventsData {
|
|
|
5309
5330
|
*/
|
|
5310
5331
|
events: FacebookProfileEventsEvent[];
|
|
5311
5332
|
hasNextPage: boolean;
|
|
5312
|
-
|
|
5333
|
+
/**
|
|
5334
|
+
* Opaque cursor for the next page of events, or null when this lane has no more. Pass it back as cursor to continue.
|
|
5335
|
+
*/
|
|
5336
|
+
nextCursor: string | null;
|
|
5313
5337
|
totalCount: number;
|
|
5314
5338
|
}
|
|
5315
5339
|
/**
|
|
@@ -6350,7 +6374,10 @@ interface GithubUserActivityData {
|
|
|
6350
6374
|
* Populated whenever the provider has data for the entity.
|
|
6351
6375
|
*/
|
|
6352
6376
|
month: string;
|
|
6353
|
-
|
|
6377
|
+
/**
|
|
6378
|
+
* Opaque cursor for the next page of activity, or null when this lane has no more. Pass it back as cursor to continue.
|
|
6379
|
+
*/
|
|
6380
|
+
nextCursor: string | null;
|
|
6354
6381
|
noActivity: boolean;
|
|
6355
6382
|
/**
|
|
6356
6383
|
* Populated whenever the provider has data for the entity.
|
|
@@ -6449,7 +6476,10 @@ interface GithubUserFollowersData {
|
|
|
6449
6476
|
* Populated whenever the provider has data for the entity.
|
|
6450
6477
|
*/
|
|
6451
6478
|
followers: GithubUserFollowersFollower[];
|
|
6452
|
-
|
|
6479
|
+
/**
|
|
6480
|
+
* Opaque cursor for the next page of followers, or null when this lane has no more. Pass it back as cursor to continue.
|
|
6481
|
+
*/
|
|
6482
|
+
nextCursor: string | null;
|
|
6453
6483
|
}
|
|
6454
6484
|
/**
|
|
6455
6485
|
* Input for GitHub User Following (github.user_following).
|
|
@@ -6493,7 +6523,10 @@ interface GithubUserFollowingData {
|
|
|
6493
6523
|
* Populated whenever the provider has data for the entity.
|
|
6494
6524
|
*/
|
|
6495
6525
|
following: GithubUserFollowingFollowing[];
|
|
6496
|
-
|
|
6526
|
+
/**
|
|
6527
|
+
* Opaque cursor for the next page of followed accounts, or null when this lane has no more. Pass it back as cursor to continue.
|
|
6528
|
+
*/
|
|
6529
|
+
nextCursor: string | null;
|
|
6497
6530
|
}
|
|
6498
6531
|
/**
|
|
6499
6532
|
* Input for GitHub User Pull Requests (github.user_pull_requests).
|
|
@@ -6548,9 +6581,9 @@ interface GithubUserPullRequestsData {
|
|
|
6548
6581
|
*/
|
|
6549
6582
|
hasMore: boolean;
|
|
6550
6583
|
/**
|
|
6551
|
-
* Opaque cursor for the next page, or
|
|
6584
|
+
* Opaque cursor for the next page of pull requests, or null when this lane has no more. Pass it back as cursor to continue.
|
|
6552
6585
|
*/
|
|
6553
|
-
nextCursor: string;
|
|
6586
|
+
nextCursor: string | null;
|
|
6554
6587
|
/**
|
|
6555
6588
|
* The user's public pull requests for this page. Populated whenever the provider has data for the entity.
|
|
6556
6589
|
*/
|
|
@@ -6561,11 +6594,9 @@ interface GithubUserPullRequestsData {
|
|
|
6561
6594
|
*/
|
|
6562
6595
|
interface GithubUserRepositoriesInput {
|
|
6563
6596
|
/**
|
|
6564
|
-
*
|
|
6565
|
-
* Range: minimum 1.
|
|
6566
|
-
* Default: 1.
|
|
6597
|
+
* Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it back to fetch the next page.
|
|
6567
6598
|
*/
|
|
6568
|
-
cursor?:
|
|
6599
|
+
cursor?: string;
|
|
6569
6600
|
/**
|
|
6570
6601
|
* Sort direction, ascending or descending, paired with sort.
|
|
6571
6602
|
* One of: asc, desc.
|
|
@@ -6615,7 +6646,10 @@ interface GithubUserRepositoriesRepo {
|
|
|
6615
6646
|
*/
|
|
6616
6647
|
interface GithubUserRepositoriesData {
|
|
6617
6648
|
hasMore: boolean;
|
|
6618
|
-
|
|
6649
|
+
/**
|
|
6650
|
+
* Opaque cursor for the next page of repositories, or null when this lane has no more. Pass it back as cursor to continue.
|
|
6651
|
+
*/
|
|
6652
|
+
nextCursor: string | null;
|
|
6619
6653
|
/**
|
|
6620
6654
|
* Populated whenever the provider has data for the entity.
|
|
6621
6655
|
*/
|
|
@@ -6766,6 +6800,13 @@ declare class GithubNamespace {
|
|
|
6766
6800
|
* const res = await client.github.userRepositories({ handle: "torvalds" });
|
|
6767
6801
|
*/
|
|
6768
6802
|
userRepositories(input: GithubUserRepositoriesInput, options?: RequestOptions): Promise<RunResult<GithubUserRepositoriesData>>;
|
|
6803
|
+
/**
|
|
6804
|
+
* Iterate every result of GitHub User Repositories across pages.
|
|
6805
|
+
*
|
|
6806
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
6807
|
+
* result pages instead (each carries its own costUsd).
|
|
6808
|
+
*/
|
|
6809
|
+
iterUserRepositories(input: GithubUserRepositoriesInput, options?: RequestOptions): Paginator<GithubUserRepositoriesRepo, RunResult<GithubUserRepositoriesData>>;
|
|
6769
6810
|
}
|
|
6770
6811
|
|
|
6771
6812
|
/**
|
|
@@ -7681,7 +7722,10 @@ interface GoogleAdsCompanyAdsData {
|
|
|
7681
7722
|
* Estimated total number of ads.
|
|
7682
7723
|
*/
|
|
7683
7724
|
adsEstimate: number;
|
|
7684
|
-
|
|
7725
|
+
/**
|
|
7726
|
+
* Opaque cursor for the next page of ads, or null when this lane has no more. Pass it back as cursor to continue.
|
|
7727
|
+
*/
|
|
7728
|
+
nextCursor: string | null;
|
|
7685
7729
|
}
|
|
7686
7730
|
/**
|
|
7687
7731
|
* Input for Google Ads Transparency (google_ads.search).
|
|
@@ -8413,7 +8457,10 @@ interface InstagramAudioReelsReel {
|
|
|
8413
8457
|
*/
|
|
8414
8458
|
interface InstagramAudioReelsData {
|
|
8415
8459
|
hasMore: boolean;
|
|
8416
|
-
|
|
8460
|
+
/**
|
|
8461
|
+
* Opaque cursor for the next page of reels, or null when this lane has no more. Pass it back as cursor to continue.
|
|
8462
|
+
*/
|
|
8463
|
+
nextCursor: string | null;
|
|
8417
8464
|
/**
|
|
8418
8465
|
* Populated whenever the provider has data for the entity.
|
|
8419
8466
|
*/
|
|
@@ -9244,7 +9291,10 @@ interface InstagramSearchProfilesProfile {
|
|
|
9244
9291
|
* The `data` payload of Instagram Profile Search (instagram.search_profiles).
|
|
9245
9292
|
*/
|
|
9246
9293
|
interface InstagramSearchProfilesData {
|
|
9247
|
-
|
|
9294
|
+
/**
|
|
9295
|
+
* Opaque cursor for the next page of profiles, or null when this lane has no more. Pass it back as cursor to continue.
|
|
9296
|
+
*/
|
|
9297
|
+
nextCursor: string | null;
|
|
9248
9298
|
/**
|
|
9249
9299
|
* Populated whenever the provider has data for the entity.
|
|
9250
9300
|
*/
|
|
@@ -9538,7 +9588,10 @@ interface InstagramUserPostsPost {
|
|
|
9538
9588
|
* The `data` payload of Instagram User Posts (instagram.user_posts).
|
|
9539
9589
|
*/
|
|
9540
9590
|
interface InstagramUserPostsData {
|
|
9541
|
-
|
|
9591
|
+
/**
|
|
9592
|
+
* Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.
|
|
9593
|
+
*/
|
|
9594
|
+
nextCursor: string | null;
|
|
9542
9595
|
/**
|
|
9543
9596
|
* Populated whenever the provider has data for the entity.
|
|
9544
9597
|
*/
|
|
@@ -9587,7 +9640,10 @@ interface InstagramUserReelsReel {
|
|
|
9587
9640
|
* The `data` payload of Instagram User Reels (instagram.user_reels).
|
|
9588
9641
|
*/
|
|
9589
9642
|
interface InstagramUserReelsData {
|
|
9590
|
-
|
|
9643
|
+
/**
|
|
9644
|
+
* Opaque cursor for the next page of reels, or null when this lane has no more. Pass it back as cursor to continue.
|
|
9645
|
+
*/
|
|
9646
|
+
nextCursor: string | null;
|
|
9591
9647
|
/**
|
|
9592
9648
|
* Populated whenever the provider has data for the entity.
|
|
9593
9649
|
*/
|
|
@@ -12148,7 +12204,7 @@ declare class LinkedinNamespace {
|
|
|
12148
12204
|
*
|
|
12149
12205
|
* Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
|
|
12150
12206
|
*
|
|
12151
|
-
* Price: $0.
|
|
12207
|
+
* Price: $0.0009 per request.
|
|
12152
12208
|
*
|
|
12153
12209
|
* @example
|
|
12154
12210
|
* const res = await client.linkedin.jobsThin({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
|
|
@@ -12159,7 +12215,7 @@ declare class LinkedinNamespace {
|
|
|
12159
12215
|
*
|
|
12160
12216
|
* Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
|
|
12161
12217
|
*
|
|
12162
|
-
* Price: $0.
|
|
12218
|
+
* Price: $0.0009 per request.
|
|
12163
12219
|
*
|
|
12164
12220
|
* @example
|
|
12165
12221
|
* const res = await client.linkedin.post({ url: "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs" });
|
|
@@ -12214,7 +12270,7 @@ declare class LinkedinNamespace {
|
|
|
12214
12270
|
*
|
|
12215
12271
|
* Lightweight profile: name, avatar, location, followers, and a basic experience/education list (company + dates only, no job titles, descriptions, or skills; past companies may be redacted). For full experience detail, skills, certifications, connections, and verified flags use linkedin.profile.
|
|
12216
12272
|
*
|
|
12217
|
-
* Price: $0.
|
|
12273
|
+
* Price: $0.00144 per request.
|
|
12218
12274
|
*
|
|
12219
12275
|
* @example
|
|
12220
12276
|
* const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
|
|
@@ -13769,9 +13825,9 @@ interface RedditPostCommentsData {
|
|
|
13769
13825
|
*/
|
|
13770
13826
|
comments: RedditPostCommentsComment[];
|
|
13771
13827
|
/**
|
|
13772
|
-
*
|
|
13828
|
+
* Opaque cursor for the next page of comments, or null when this lane has no more. Pass it back as cursor to continue.
|
|
13773
13829
|
*/
|
|
13774
|
-
nextCursor: string;
|
|
13830
|
+
nextCursor: string | null;
|
|
13775
13831
|
}
|
|
13776
13832
|
/**
|
|
13777
13833
|
* Input for Reddit Post Transcript (reddit.post_transcript).
|
|
@@ -13965,9 +14021,9 @@ interface RedditSearchPost {
|
|
|
13965
14021
|
*/
|
|
13966
14022
|
interface RedditSearchData {
|
|
13967
14023
|
/**
|
|
13968
|
-
*
|
|
14024
|
+
* Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.
|
|
13969
14025
|
*/
|
|
13970
|
-
nextCursor: string;
|
|
14026
|
+
nextCursor: string | null;
|
|
13971
14027
|
/**
|
|
13972
14028
|
* Populated whenever the provider has data for the entity.
|
|
13973
14029
|
*/
|
|
@@ -14174,7 +14230,10 @@ interface RedditSubredditSearchPost {
|
|
|
14174
14230
|
* The `data` payload of Reddit Subreddit Search (reddit.subreddit_search).
|
|
14175
14231
|
*/
|
|
14176
14232
|
interface RedditSubredditSearchData {
|
|
14177
|
-
|
|
14233
|
+
/**
|
|
14234
|
+
* Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.
|
|
14235
|
+
*/
|
|
14236
|
+
nextCursor: string | null;
|
|
14178
14237
|
/**
|
|
14179
14238
|
* Populated whenever the provider has data for the entity.
|
|
14180
14239
|
*/
|
|
@@ -14405,7 +14464,7 @@ declare class RedditNamespace {
|
|
|
14405
14464
|
*
|
|
14406
14465
|
* Fetch a single Reddit post by URL, including its full body text, score, comment count, upvote ratio, and subreddit, as normalized JSON.
|
|
14407
14466
|
*
|
|
14408
|
-
* Price: $0.
|
|
14467
|
+
* Price: $0.0009 per request.
|
|
14409
14468
|
*
|
|
14410
14469
|
* @example
|
|
14411
14470
|
* const res = await client.reddit.post({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
|
|
@@ -14456,7 +14515,7 @@ declare class RedditNamespace {
|
|
|
14456
14515
|
*
|
|
14457
14516
|
* Search Reddit posts across all subreddits by query.
|
|
14458
14517
|
*
|
|
14459
|
-
* Price: $0.
|
|
14518
|
+
* Price: $0.0009 per request.
|
|
14460
14519
|
*
|
|
14461
14520
|
* @example
|
|
14462
14521
|
* const res = await client.reddit.search({ query: "mechanical keyboard" });
|
|
@@ -14485,7 +14544,7 @@ declare class RedditNamespace {
|
|
|
14485
14544
|
*
|
|
14486
14545
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
14487
14546
|
*
|
|
14488
|
-
* Price: $0.
|
|
14547
|
+
* Price: $0.0009 per request.
|
|
14489
14548
|
*
|
|
14490
14549
|
* @example
|
|
14491
14550
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
|
|
@@ -14550,7 +14609,7 @@ declare class RedditNamespace {
|
|
|
14550
14609
|
*
|
|
14551
14610
|
* List a Reddit user's posts by username, sorted by new, top, hot, or controversial, with cursor pagination.
|
|
14552
14611
|
*
|
|
14553
|
-
* Price: $0.
|
|
14612
|
+
* Price: $0.0009 per request.
|
|
14554
14613
|
*
|
|
14555
14614
|
* @example
|
|
14556
14615
|
* const res = await client.reddit.userPosts({ username: "spez" });
|
|
@@ -14863,9 +14922,9 @@ interface RednoteNoteCommentsData {
|
|
|
14863
14922
|
*/
|
|
14864
14923
|
comments: RednoteNoteCommentsComment[];
|
|
14865
14924
|
/**
|
|
14866
|
-
*
|
|
14925
|
+
* Opaque cursor for the next page of comments, or null when this lane has no more. Pass it back as cursor to continue.
|
|
14867
14926
|
*/
|
|
14868
|
-
nextCursor: string;
|
|
14927
|
+
nextCursor: string | null;
|
|
14869
14928
|
[extra: string]: unknown;
|
|
14870
14929
|
}
|
|
14871
14930
|
/**
|
|
@@ -15021,9 +15080,9 @@ interface RednoteSearchNote {
|
|
|
15021
15080
|
*/
|
|
15022
15081
|
interface RednoteSearchData {
|
|
15023
15082
|
/**
|
|
15024
|
-
*
|
|
15083
|
+
* Opaque cursor for the next page of notes, or null when this lane has no more. Pass it back as cursor to continue.
|
|
15025
15084
|
*/
|
|
15026
|
-
nextCursor: string;
|
|
15085
|
+
nextCursor: string | null;
|
|
15027
15086
|
/**
|
|
15028
15087
|
* Notes matching the search. Populated whenever the provider has data for the entity.
|
|
15029
15088
|
*/
|
|
@@ -15086,7 +15145,10 @@ interface RednoteSearchUsersUser {
|
|
|
15086
15145
|
* The `data` payload of RedNote (Xiaohongshu) User Search (rednote.search_users).
|
|
15087
15146
|
*/
|
|
15088
15147
|
interface RednoteSearchUsersData {
|
|
15089
|
-
|
|
15148
|
+
/**
|
|
15149
|
+
* Opaque cursor for the next page of users, or null when this lane has no more. Pass it back as cursor to continue.
|
|
15150
|
+
*/
|
|
15151
|
+
nextCursor: string | null;
|
|
15090
15152
|
/**
|
|
15091
15153
|
* Populated whenever the provider has data for the entity.
|
|
15092
15154
|
*/
|
|
@@ -15173,9 +15235,9 @@ interface RednoteUserNotesNote {
|
|
|
15173
15235
|
*/
|
|
15174
15236
|
interface RednoteUserNotesData {
|
|
15175
15237
|
/**
|
|
15176
|
-
*
|
|
15238
|
+
* Opaque cursor for the next page of notes, or null when this lane has no more. Pass it back as cursor to continue.
|
|
15177
15239
|
*/
|
|
15178
|
-
nextCursor: string;
|
|
15240
|
+
nextCursor: string | null;
|
|
15179
15241
|
/**
|
|
15180
15242
|
* The user's notes. Populated whenever the provider has data for the entity.
|
|
15181
15243
|
*/
|
|
@@ -17142,7 +17204,10 @@ interface SpotifyPodcastEpisodesData {
|
|
|
17142
17204
|
* Populated whenever the provider has data for the entity.
|
|
17143
17205
|
*/
|
|
17144
17206
|
episodes: SpotifyPodcastEpisodesEpisode[];
|
|
17145
|
-
|
|
17207
|
+
/**
|
|
17208
|
+
* Opaque cursor for the next page of episodes, or null when this lane has no more. Pass it back as cursor to continue.
|
|
17209
|
+
*/
|
|
17210
|
+
nextCursor: string | null;
|
|
17146
17211
|
totalCount: number;
|
|
17147
17212
|
}
|
|
17148
17213
|
/**
|
|
@@ -17951,7 +18016,10 @@ interface TiktokAdLibrarySearchData {
|
|
|
17951
18016
|
*/
|
|
17952
18017
|
ads: TiktokAdLibrarySearchAd[];
|
|
17953
18018
|
hasMore: boolean;
|
|
17954
|
-
|
|
18019
|
+
/**
|
|
18020
|
+
* Opaque cursor for the next page of ads, or null when this lane has no more. Pass it back as cursor to continue.
|
|
18021
|
+
*/
|
|
18022
|
+
nextCursor: string | null;
|
|
17955
18023
|
total: number;
|
|
17956
18024
|
}
|
|
17957
18025
|
/**
|
|
@@ -18027,7 +18095,10 @@ interface TiktokCommentRepliesComment {
|
|
|
18027
18095
|
*/
|
|
18028
18096
|
interface TiktokCommentRepliesData {
|
|
18029
18097
|
comments: TiktokCommentRepliesComment[];
|
|
18030
|
-
|
|
18098
|
+
/**
|
|
18099
|
+
* Opaque cursor for the next page of comments, or null when this lane has no more. Pass it back as cursor to continue.
|
|
18100
|
+
*/
|
|
18101
|
+
nextCursor: string | null;
|
|
18031
18102
|
}
|
|
18032
18103
|
/**
|
|
18033
18104
|
* Input for TikTok Followers (tiktok.followers).
|
|
@@ -18069,7 +18140,10 @@ interface TiktokFollowersFollower {
|
|
|
18069
18140
|
*/
|
|
18070
18141
|
interface TiktokFollowersData {
|
|
18071
18142
|
followers: TiktokFollowersFollower[];
|
|
18072
|
-
|
|
18143
|
+
/**
|
|
18144
|
+
* Opaque cursor for the next page of followers, or null when this lane has no more. Pass it back as cursor to continue.
|
|
18145
|
+
*/
|
|
18146
|
+
nextCursor: string | null;
|
|
18073
18147
|
total: number;
|
|
18074
18148
|
}
|
|
18075
18149
|
/**
|
|
@@ -18324,7 +18398,10 @@ interface TiktokProfileVideosVideo {
|
|
|
18324
18398
|
* The `data` payload of TikTok Profile Videos (tiktok.profile_videos).
|
|
18325
18399
|
*/
|
|
18326
18400
|
interface TiktokProfileVideosData {
|
|
18327
|
-
|
|
18401
|
+
/**
|
|
18402
|
+
* Opaque cursor for the next page of videos, or null when this lane has no more. Pass it back as cursor to continue.
|
|
18403
|
+
*/
|
|
18404
|
+
nextCursor: string | null;
|
|
18328
18405
|
videos: TiktokProfileVideosVideo[];
|
|
18329
18406
|
}
|
|
18330
18407
|
/**
|
|
@@ -18475,7 +18552,10 @@ interface TiktokSearchTopData {
|
|
|
18475
18552
|
* Populated whenever the provider has data for the entity.
|
|
18476
18553
|
*/
|
|
18477
18554
|
items: TiktokSearchTopItem[];
|
|
18478
|
-
|
|
18555
|
+
/**
|
|
18556
|
+
* Opaque cursor for the next page of results, or null when this lane has no more. Pass it back as cursor to continue.
|
|
18557
|
+
*/
|
|
18558
|
+
nextCursor: string | null;
|
|
18479
18559
|
}
|
|
18480
18560
|
/**
|
|
18481
18561
|
* Input for TikTok User Search (tiktok.search_users).
|
|
@@ -18511,7 +18591,10 @@ interface TiktokSearchUsersUser {
|
|
|
18511
18591
|
* The `data` payload of TikTok User Search (tiktok.search_users).
|
|
18512
18592
|
*/
|
|
18513
18593
|
interface TiktokSearchUsersData {
|
|
18514
|
-
|
|
18594
|
+
/**
|
|
18595
|
+
* Opaque cursor for the next page of users, or null when this lane has no more. Pass it back as cursor to continue.
|
|
18596
|
+
*/
|
|
18597
|
+
nextCursor: string | null;
|
|
18515
18598
|
/**
|
|
18516
18599
|
* Populated whenever the provider has data for the entity.
|
|
18517
18600
|
*/
|
|
@@ -18601,7 +18684,10 @@ interface TiktokSongVideosVideo {
|
|
|
18601
18684
|
*/
|
|
18602
18685
|
interface TiktokSongVideosData {
|
|
18603
18686
|
hasMore: number;
|
|
18604
|
-
|
|
18687
|
+
/**
|
|
18688
|
+
* Opaque cursor for the next page of videos, or null when this lane has no more. Pass it back as cursor to continue.
|
|
18689
|
+
*/
|
|
18690
|
+
nextCursor: string | null;
|
|
18605
18691
|
/**
|
|
18606
18692
|
* Populated whenever the provider has data for the entity.
|
|
18607
18693
|
*/
|
|
@@ -18729,7 +18815,10 @@ interface TiktokVideoCommentsComment {
|
|
|
18729
18815
|
*/
|
|
18730
18816
|
interface TiktokVideoCommentsData {
|
|
18731
18817
|
comments: TiktokVideoCommentsComment[];
|
|
18732
|
-
|
|
18818
|
+
/**
|
|
18819
|
+
* Opaque cursor for the next page of comments, or null when this lane has no more. Pass it back as cursor to continue.
|
|
18820
|
+
*/
|
|
18821
|
+
nextCursor: string | null;
|
|
18733
18822
|
}
|
|
18734
18823
|
/**
|
|
18735
18824
|
* Input for TikTok Video Transcript (tiktok.video_transcript).
|
|
@@ -18850,7 +18939,7 @@ declare class TiktokNamespace {
|
|
|
18850
18939
|
*
|
|
18851
18940
|
* List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
|
|
18852
18941
|
*
|
|
18853
|
-
* Price: $0.
|
|
18942
|
+
* Price: $0.00144 per request.
|
|
18854
18943
|
*
|
|
18855
18944
|
* @example
|
|
18856
18945
|
* const res = await client.tiktok.hashtagVideos({ hashtag: "cooking", limit: 3 });
|
|
@@ -18872,7 +18961,7 @@ declare class TiktokNamespace {
|
|
|
18872
18961
|
*
|
|
18873
18962
|
* Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
|
|
18874
18963
|
*
|
|
18875
|
-
* Price: $0.
|
|
18964
|
+
* Price: $0.0009 per request.
|
|
18876
18965
|
*
|
|
18877
18966
|
* @example
|
|
18878
18967
|
* const res = await client.tiktok.profile({ handle: "zachking" });
|
|
@@ -19010,7 +19099,7 @@ declare class TiktokNamespace {
|
|
|
19010
19099
|
*
|
|
19011
19100
|
* Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
|
|
19012
19101
|
*
|
|
19013
|
-
* Price: $0.
|
|
19102
|
+
* Price: $0.0009 per request.
|
|
19014
19103
|
*
|
|
19015
19104
|
* @example
|
|
19016
19105
|
* const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });
|
|
@@ -19021,7 +19110,7 @@ declare class TiktokNamespace {
|
|
|
19021
19110
|
*
|
|
19022
19111
|
* List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count).
|
|
19023
19112
|
*
|
|
19024
|
-
* Price: $0.
|
|
19113
|
+
* Price: $0.00144 per request.
|
|
19025
19114
|
*
|
|
19026
19115
|
* @example
|
|
19027
19116
|
* const res = await client.tiktok.videoComments({ url: "https://www.tiktok.com/@zachking/video/7650468599424945422?_r=1&u_code=f0hj7d780760m9&preview_pb=0&sharer_language=en&_d=f0hj7blh067h71&share_item_id=7650468599424945422&source=h5_m" });
|
|
@@ -19287,7 +19376,10 @@ interface TiktokShopShopProductsProduct {
|
|
|
19287
19376
|
*/
|
|
19288
19377
|
interface TiktokShopShopProductsData {
|
|
19289
19378
|
hasMore: boolean;
|
|
19290
|
-
|
|
19379
|
+
/**
|
|
19380
|
+
* Opaque cursor for the next page of products, or null when this lane has no more. Pass it back as cursor to continue.
|
|
19381
|
+
*/
|
|
19382
|
+
nextCursor: string | null;
|
|
19291
19383
|
productCount: number;
|
|
19292
19384
|
/**
|
|
19293
19385
|
* Populated whenever the provider has data for the entity.
|
|
@@ -19346,7 +19438,10 @@ interface TiktokShopUserShowcaseProduct {
|
|
|
19346
19438
|
* The `data` payload of TikTok Shop User Showcase (tiktok_shop.user_showcase).
|
|
19347
19439
|
*/
|
|
19348
19440
|
interface TiktokShopUserShowcaseData {
|
|
19349
|
-
|
|
19441
|
+
/**
|
|
19442
|
+
* Opaque cursor for the next page of products, or null when this lane has no more. Pass it back as cursor to continue.
|
|
19443
|
+
*/
|
|
19444
|
+
nextCursor: string | null;
|
|
19350
19445
|
/**
|
|
19351
19446
|
* Populated whenever the provider has data for the entity.
|
|
19352
19447
|
*/
|
|
@@ -21656,9 +21751,9 @@ interface WeiboPostCommentsData {
|
|
|
21656
21751
|
*/
|
|
21657
21752
|
comments: WeiboPostCommentsComment[];
|
|
21658
21753
|
/**
|
|
21659
|
-
*
|
|
21754
|
+
* Opaque cursor for the next page of comments, or null when this lane has no more. Pass it back as cursor to continue.
|
|
21660
21755
|
*/
|
|
21661
|
-
nextCursor: string;
|
|
21756
|
+
nextCursor: string | null;
|
|
21662
21757
|
/**
|
|
21663
21758
|
* Total comments reported by Weibo.
|
|
21664
21759
|
*/
|
|
@@ -21921,9 +22016,9 @@ interface WeiboUserPostsPost {
|
|
|
21921
22016
|
*/
|
|
21922
22017
|
interface WeiboUserPostsData {
|
|
21923
22018
|
/**
|
|
21924
|
-
*
|
|
22019
|
+
* Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.
|
|
21925
22020
|
*/
|
|
21926
|
-
nextCursor: string;
|
|
22021
|
+
nextCursor: string | null;
|
|
21927
22022
|
/**
|
|
21928
22023
|
* Normalized Weibo posts. Populated whenever the provider has data for the entity.
|
|
21929
22024
|
*/
|
|
@@ -22332,7 +22427,10 @@ interface YoutubeChannelCommunityPostsPost {
|
|
|
22332
22427
|
* The `data` payload of YouTube Channel Community Posts (youtube.channel_community_posts).
|
|
22333
22428
|
*/
|
|
22334
22429
|
interface YoutubeChannelCommunityPostsData {
|
|
22335
|
-
|
|
22430
|
+
/**
|
|
22431
|
+
* Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.
|
|
22432
|
+
*/
|
|
22433
|
+
nextCursor: string | null;
|
|
22336
22434
|
/**
|
|
22337
22435
|
* Populated whenever the provider has data for the entity.
|
|
22338
22436
|
*/
|
|
@@ -22384,7 +22482,10 @@ interface YoutubeChannelLivesData {
|
|
|
22384
22482
|
* Populated whenever the provider has data for the entity.
|
|
22385
22483
|
*/
|
|
22386
22484
|
lives: YoutubeChannelLivesLive[];
|
|
22387
|
-
|
|
22485
|
+
/**
|
|
22486
|
+
* Opaque cursor for the next page of live streams, or null when this lane has no more. Pass it back as cursor to continue.
|
|
22487
|
+
*/
|
|
22488
|
+
nextCursor: string | null;
|
|
22388
22489
|
}
|
|
22389
22490
|
/**
|
|
22390
22491
|
* Input for YouTube Channel Playlists (youtube.channel_playlists).
|
|
@@ -22424,7 +22525,10 @@ interface YoutubeChannelPlaylistsPlaylist {
|
|
|
22424
22525
|
* The `data` payload of YouTube Channel Playlists (youtube.channel_playlists).
|
|
22425
22526
|
*/
|
|
22426
22527
|
interface YoutubeChannelPlaylistsData {
|
|
22427
|
-
|
|
22528
|
+
/**
|
|
22529
|
+
* Opaque cursor for the next page of playlists, or null when this lane has no more. Pass it back as cursor to continue.
|
|
22530
|
+
*/
|
|
22531
|
+
nextCursor: string | null;
|
|
22428
22532
|
/**
|
|
22429
22533
|
* Populated whenever the provider has data for the entity.
|
|
22430
22534
|
*/
|
|
@@ -22474,7 +22578,10 @@ interface YoutubeChannelShortsShort {
|
|
|
22474
22578
|
* The `data` payload of YouTube Channel Shorts (youtube.channel_shorts).
|
|
22475
22579
|
*/
|
|
22476
22580
|
interface YoutubeChannelShortsData {
|
|
22477
|
-
|
|
22581
|
+
/**
|
|
22582
|
+
* Opaque cursor for the next page of shorts, or null when this lane has no more. Pass it back as cursor to continue.
|
|
22583
|
+
*/
|
|
22584
|
+
nextCursor: string | null;
|
|
22478
22585
|
/**
|
|
22479
22586
|
* Populated whenever the provider has data for the entity.
|
|
22480
22587
|
*/
|
|
@@ -22527,7 +22634,10 @@ interface YoutubeChannelVideosVideo {
|
|
|
22527
22634
|
* The `data` payload of YouTube Channel Videos (youtube.channel_videos).
|
|
22528
22635
|
*/
|
|
22529
22636
|
interface YoutubeChannelVideosData {
|
|
22530
|
-
|
|
22637
|
+
/**
|
|
22638
|
+
* Opaque cursor for the next page of videos, or null when this lane has no more. Pass it back as cursor to continue.
|
|
22639
|
+
*/
|
|
22640
|
+
nextCursor: string | null;
|
|
22531
22641
|
/**
|
|
22532
22642
|
* Populated whenever the provider has data for the entity.
|
|
22533
22643
|
*/
|
|
@@ -22764,7 +22874,10 @@ interface YoutubeSearchHashtagVideo {
|
|
|
22764
22874
|
* The `data` payload of YouTube Hashtag Search (youtube.search_hashtag).
|
|
22765
22875
|
*/
|
|
22766
22876
|
interface YoutubeSearchHashtagData {
|
|
22767
|
-
|
|
22877
|
+
/**
|
|
22878
|
+
* Opaque cursor for the next page of videos, or null when this lane has no more. Pass it back as cursor to continue.
|
|
22879
|
+
*/
|
|
22880
|
+
nextCursor: string | null;
|
|
22768
22881
|
/**
|
|
22769
22882
|
* Populated whenever the provider has data for the entity.
|
|
22770
22883
|
*/
|
|
@@ -22906,7 +23019,10 @@ interface YoutubeVideoCommentsData {
|
|
|
22906
23019
|
* Populated whenever the provider has data for the entity.
|
|
22907
23020
|
*/
|
|
22908
23021
|
comments: YoutubeVideoCommentsComment[];
|
|
22909
|
-
|
|
23022
|
+
/**
|
|
23023
|
+
* Opaque cursor for the next page of comments, or null when this lane has no more. Pass it back as cursor to continue.
|
|
23024
|
+
*/
|
|
23025
|
+
nextCursor: string | null;
|
|
22910
23026
|
}
|
|
22911
23027
|
/**
|
|
22912
23028
|
* Input for YouTube Video Sponsors (youtube.video_sponsors).
|
|
@@ -22985,7 +23101,7 @@ declare class YoutubeNamespace {
|
|
|
22985
23101
|
*
|
|
22986
23102
|
* Fetch a YouTube channel's stats (subscribers, video count, total views, description) by handle or channel ID.
|
|
22987
23103
|
*
|
|
22988
|
-
* Price: $0.
|
|
23104
|
+
* Price: $0.0009 per request.
|
|
22989
23105
|
*
|
|
22990
23106
|
* @example
|
|
22991
23107
|
* const res = await client.youtube.channel({ handle: "@mkbhd" });
|
|
@@ -23068,7 +23184,7 @@ declare class YoutubeNamespace {
|
|
|
23068
23184
|
*
|
|
23069
23185
|
* List a YouTube channel's videos by handle or channel ID with cursor pagination (title, views, length, publish time).
|
|
23070
23186
|
*
|
|
23071
|
-
* Price: $0.
|
|
23187
|
+
* Price: $0.0009 per request.
|
|
23072
23188
|
*
|
|
23073
23189
|
* @example
|
|
23074
23190
|
* const res = await client.youtube.channelVideos({ handle: "@mkbhd" });
|
|
@@ -23119,7 +23235,7 @@ declare class YoutubeNamespace {
|
|
|
23119
23235
|
*
|
|
23120
23236
|
* Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
|
|
23121
23237
|
*
|
|
23122
|
-
* Price: $0.
|
|
23238
|
+
* Price: $0.0009 per request.
|
|
23123
23239
|
*
|
|
23124
23240
|
* @example
|
|
23125
23241
|
* const res = await client.youtube.search({ query: "how to cook rice" });
|
|
@@ -23995,7 +24111,7 @@ declare class ZillowNamespace {
|
|
|
23995
24111
|
*
|
|
23996
24112
|
* Fetch full details for a single Zillow property listing by URL (price, facts and features, photos, and price/tax history).
|
|
23997
24113
|
*
|
|
23998
|
-
* Price: $0 per request
|
|
24114
|
+
* Price: $0.0009 per request.
|
|
23999
24115
|
*
|
|
24000
24116
|
* @example
|
|
24001
24117
|
* const res = await client.zillow.property({ url: "https://www.zillow.com/homedetails/4510-Secure-Ln-Austin-TX-78725/83126034_zpid/" });
|