@getanyapi/sdk 0.47.0 → 0.48.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.cjs +360 -85
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11621 -570
- package/dist/index.d.ts +11621 -570
- package/dist/index.js +357 -84
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -36,11 +36,12 @@ __export(index_exports, {
|
|
|
36
36
|
ChatgptNamespace: () => ChatgptNamespace,
|
|
37
37
|
CoinmarketcapNamespace: () => CoinmarketcapNamespace,
|
|
38
38
|
CompanyEnrichmentNamespace: () => CompanyEnrichmentNamespace,
|
|
39
|
+
CompanyIdentifyNamespace: () => CompanyIdentifyNamespace,
|
|
39
40
|
CompanyNamespace: () => CompanyNamespace,
|
|
40
41
|
CompanySearchNamespace: () => CompanySearchNamespace,
|
|
41
42
|
CongressNamespace: () => CongressNamespace,
|
|
42
43
|
ConnectionError: () => ConnectionError,
|
|
43
|
-
|
|
44
|
+
ContactEnrichmentNamespace: () => ContactEnrichmentNamespace,
|
|
44
45
|
DouyinNamespace: () => DouyinNamespace,
|
|
45
46
|
EbayNamespace: () => EbayNamespace,
|
|
46
47
|
EmailFindingNamespace: () => EmailFindingNamespace,
|
|
@@ -75,6 +76,7 @@ __export(index_exports, {
|
|
|
75
76
|
PinterestNamespace: () => PinterestNamespace,
|
|
76
77
|
PlaystoreNamespace: () => PlaystoreNamespace,
|
|
77
78
|
PolymarketNamespace: () => PolymarketNamespace,
|
|
79
|
+
PropertyRecordsNamespace: () => PropertyRecordsNamespace,
|
|
78
80
|
RateLimitedError: () => RateLimitedError,
|
|
79
81
|
RealtorNamespace: () => RealtorNamespace,
|
|
80
82
|
RedditNamespace: () => RedditNamespace,
|
|
@@ -1162,7 +1164,7 @@ var AhrefsNamespace = class {
|
|
|
1162
1164
|
*
|
|
1163
1165
|
* Get the referring pages linking to a domain or URL, each with the source page, anchor text, linking domain rating, and page title.
|
|
1164
1166
|
*
|
|
1165
|
-
* Price: $0.
|
|
1167
|
+
* Price: $0.00501 per request plus $0 per result (maximum $0.00501).
|
|
1166
1168
|
*
|
|
1167
1169
|
* @example
|
|
1168
1170
|
* const res = await client.ahrefs.backlinks({ url: "ahrefs.com", mode: "exact" });
|
|
@@ -1175,7 +1177,7 @@ var AhrefsNamespace = class {
|
|
|
1175
1177
|
*
|
|
1176
1178
|
* Get related keyword suggestions for any seed term, each with an Ahrefs difficulty and search-volume bucket.
|
|
1177
1179
|
*
|
|
1178
|
-
* Price: $0.
|
|
1180
|
+
* Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
|
|
1179
1181
|
*
|
|
1180
1182
|
* @example
|
|
1181
1183
|
* const res = await client.ahrefs.keywordIdeas({ keyword: "coffee", country: "us" });
|
|
@@ -1188,7 +1190,7 @@ var AhrefsNamespace = class {
|
|
|
1188
1190
|
*
|
|
1189
1191
|
* Get the Ahrefs keyword-difficulty metrics for any search term: the difficulty score (0-100) and the number of referring domains a page needs to rank in the top 10 - as normalized JSON.
|
|
1190
1192
|
*
|
|
1191
|
-
* Price: $0.
|
|
1193
|
+
* Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
|
|
1192
1194
|
*
|
|
1193
1195
|
* @example
|
|
1194
1196
|
* const res = await client.ahrefs.keywords({ keyword: "seo tools", country: "us" });
|
|
@@ -1201,7 +1203,7 @@ var AhrefsNamespace = class {
|
|
|
1201
1203
|
*
|
|
1202
1204
|
* Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON.
|
|
1203
1205
|
*
|
|
1204
|
-
* Price: $0.
|
|
1206
|
+
* Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
|
|
1205
1207
|
*
|
|
1206
1208
|
* @example
|
|
1207
1209
|
* const res = await client.ahrefs.overview({ url: "ahrefs.com", mode: "subdomains" });
|
|
@@ -1671,6 +1673,27 @@ var CompanyEnrichmentNamespace = class {
|
|
|
1671
1673
|
}
|
|
1672
1674
|
};
|
|
1673
1675
|
|
|
1676
|
+
// src/generated/platforms/company_identify.ts
|
|
1677
|
+
var CompanyIdentifyNamespace = class {
|
|
1678
|
+
constructor(_core) {
|
|
1679
|
+
this._core = _core;
|
|
1680
|
+
}
|
|
1681
|
+
_core;
|
|
1682
|
+
/**
|
|
1683
|
+
* Company Identify - Crustdata v3
|
|
1684
|
+
*
|
|
1685
|
+
* Resolve one company from its domain, LinkedIn company page, Crustdata company id, or name to its Crustdata id, primary domain, LinkedIn page, and basic profile. Identify a company for $1 per 1,000 requests before paying to enrich it.
|
|
1686
|
+
*
|
|
1687
|
+
* Price: $0.001 per request.
|
|
1688
|
+
*
|
|
1689
|
+
* @example
|
|
1690
|
+
* const res = await client.companyIdentify.crustdataV3({ companyDomain: "stripe.com" });
|
|
1691
|
+
*/
|
|
1692
|
+
crustdataV3(input, options) {
|
|
1693
|
+
return this._core.run("company_identify.crustdata_v3", input, options);
|
|
1694
|
+
}
|
|
1695
|
+
};
|
|
1696
|
+
|
|
1674
1697
|
// src/generated/platforms/company_search.ts
|
|
1675
1698
|
var CompanySearchNamespace = class {
|
|
1676
1699
|
constructor(_core) {
|
|
@@ -1823,24 +1846,24 @@ var CongressNamespace = class {
|
|
|
1823
1846
|
}
|
|
1824
1847
|
};
|
|
1825
1848
|
|
|
1826
|
-
// src/generated/platforms/
|
|
1827
|
-
var
|
|
1849
|
+
// src/generated/platforms/contact_enrichment.ts
|
|
1850
|
+
var ContactEnrichmentNamespace = class {
|
|
1828
1851
|
constructor(_core) {
|
|
1829
1852
|
this._core = _core;
|
|
1830
1853
|
}
|
|
1831
1854
|
_core;
|
|
1832
1855
|
/**
|
|
1833
|
-
*
|
|
1856
|
+
* Contact Enrichment - Crustdata v3
|
|
1834
1857
|
*
|
|
1835
|
-
*
|
|
1858
|
+
* Find one person's business emails, personal emails, and phone numbers from a LinkedIn profile URL or a business email, with a deliverability status on every email. Billed only when the person is found.
|
|
1836
1859
|
*
|
|
1837
|
-
* Price: $0.
|
|
1860
|
+
* Price: $0.24 per request.
|
|
1838
1861
|
*
|
|
1839
1862
|
* @example
|
|
1840
|
-
* const res = await client.
|
|
1863
|
+
* const res = await client.contactEnrichment.crustdataV3({ linkedinUrl: "https://www.linkedin.com/in/satyanadella" });
|
|
1841
1864
|
*/
|
|
1842
|
-
|
|
1843
|
-
return this._core.run("
|
|
1865
|
+
crustdataV3(input, options) {
|
|
1866
|
+
return this._core.run("contact_enrichment.crustdata_v3", input, options);
|
|
1844
1867
|
}
|
|
1845
1868
|
};
|
|
1846
1869
|
|
|
@@ -2201,7 +2224,7 @@ var FacebookNamespace = class {
|
|
|
2201
2224
|
* Price: $0.0012 per request.
|
|
2202
2225
|
*
|
|
2203
2226
|
* @example
|
|
2204
|
-
* const res = await client.facebook.adDetails({ id: "
|
|
2227
|
+
* const res = await client.facebook.adDetails({ id: "962050096457659" });
|
|
2205
2228
|
*/
|
|
2206
2229
|
adDetails(input, options) {
|
|
2207
2230
|
return this._core.run("facebook.ad_details", input, options);
|
|
@@ -2214,7 +2237,7 @@ var FacebookNamespace = class {
|
|
|
2214
2237
|
* Price: $0.00462 per request plus $0 per result (maximum $0.00462).
|
|
2215
2238
|
*
|
|
2216
2239
|
* @example
|
|
2217
|
-
* const res = await client.facebook.adDetailsFull({ id: "
|
|
2240
|
+
* const res = await client.facebook.adDetailsFull({ id: "962050096457659" });
|
|
2218
2241
|
*/
|
|
2219
2242
|
adDetailsFull(input, options) {
|
|
2220
2243
|
return this._core.run("facebook.ad_details_full", input, options);
|
|
@@ -2411,7 +2434,7 @@ var FacebookNamespace = class {
|
|
|
2411
2434
|
* Price: $0.0012 per request.
|
|
2412
2435
|
*
|
|
2413
2436
|
* @example
|
|
2414
|
-
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/
|
|
2437
|
+
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
2415
2438
|
*/
|
|
2416
2439
|
groupPosts(input, options) {
|
|
2417
2440
|
return this._core.run("facebook.group_posts", input, options);
|
|
@@ -3026,7 +3049,7 @@ var GoogleNamespace = class {
|
|
|
3026
3049
|
*
|
|
3027
3050
|
* Ask Google AI Mode a prompt and receive the cited answer it generates. AI Mode composes the answer at search time, so repeat calls on one prompt can differ in wording and in which sources are cited.
|
|
3028
3051
|
*
|
|
3029
|
-
* Price: $0.
|
|
3052
|
+
* Price: $0.0007 per request.
|
|
3030
3053
|
*
|
|
3031
3054
|
* @example
|
|
3032
3055
|
* const res = await client.google.aiMode({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -3130,7 +3153,7 @@ var GoogleNamespace = class {
|
|
|
3130
3153
|
*
|
|
3131
3154
|
* 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. Pass the returned nextCursor back as cursor to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
|
|
3132
3155
|
*
|
|
3133
|
-
* Price: $0.
|
|
3156
|
+
* Price: $0.0005 per request.
|
|
3134
3157
|
*
|
|
3135
3158
|
* @example
|
|
3136
3159
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -3474,7 +3497,7 @@ var InstagramNamespace = class {
|
|
|
3474
3497
|
/**
|
|
3475
3498
|
* Instagram Followers
|
|
3476
3499
|
*
|
|
3477
|
-
* List the followers of any public Instagram account by username: follower usernames, names, and profile details.
|
|
3500
|
+
* List about the first 50 followers of any public Instagram account by username: follower usernames, names, and profile details. Instagram caps follower lists, so this returns one page, not the whole list.
|
|
3478
3501
|
*
|
|
3479
3502
|
* Price: $0.0015 per request.
|
|
3480
3503
|
*
|
|
@@ -3503,7 +3526,7 @@ var InstagramNamespace = class {
|
|
|
3503
3526
|
/**
|
|
3504
3527
|
* Instagram Following
|
|
3505
3528
|
*
|
|
3506
|
-
* List the accounts a public Instagram user follows: usernames, names, and profile details.
|
|
3529
|
+
* List about the first 50 accounts a public Instagram user follows: usernames, names, and profile details. Instagram caps these lists, so this returns one page, not the whole list.
|
|
3507
3530
|
*
|
|
3508
3531
|
* Price: $0.0015 per request.
|
|
3509
3532
|
*
|
|
@@ -3728,7 +3751,7 @@ var InstagramNamespace = class {
|
|
|
3728
3751
|
*
|
|
3729
3752
|
* Look up the contact email and phone number an Instagram creator or business publishes on its profile, including the address behind the profile's Email button that public profile lookups do not return.
|
|
3730
3753
|
*
|
|
3731
|
-
* Price: $0.
|
|
3754
|
+
* Price: $0.00257 per request plus $0 per result (maximum $0.00257).
|
|
3732
3755
|
*
|
|
3733
3756
|
* @example
|
|
3734
3757
|
* const res = await client.instagram.profileContact({ handle: "eminenceorganics" });
|
|
@@ -3739,7 +3762,7 @@ var InstagramNamespace = class {
|
|
|
3739
3762
|
/**
|
|
3740
3763
|
* Instagram Reel Transcript
|
|
3741
3764
|
*
|
|
3742
|
-
* Transcribe any public Instagram reel or video post: the full speech transcript, speaker labels, and word-level timestamps, from a reel URL or an Instagram CDN media URL you already hold. Transcription runs on MAI-Transcribe-2, chosen for its accuracy and its speaker labels. Turn on hostVideo to also get the MP4 on a hosted link that plays without an Instagram session. If you only want the text, instagram.media_transcript is the cheaper transcript-only option; if you only want the file, instagram.post is where you go.
|
|
3765
|
+
* Transcribe any public Instagram reel or video post: the full speech transcript, speaker labels, and word-level timestamps, from a reel, /p/, or /tv/ URL or an Instagram CDN media URL you already hold. A video post is transcribed exactly like a reel. A photo post comes back found with its record and an empty transcript, charged the request price only. Transcription runs on MAI-Transcribe-2, chosen for its accuracy and its speaker labels. Turn on hostVideo to also get the MP4 on a hosted link that plays without an Instagram session. If you only want the text, instagram.media_transcript is the cheaper transcript-only option; if you only want the file, instagram.post is where you go.
|
|
3743
3766
|
*
|
|
3744
3767
|
* Price: $0.0015 per request plus $0.006 per audio minute (maximum $0.095).
|
|
3745
3768
|
*
|
|
@@ -3752,9 +3775,9 @@ var InstagramNamespace = class {
|
|
|
3752
3775
|
/**
|
|
3753
3776
|
* Instagram Reels Search
|
|
3754
3777
|
*
|
|
3755
|
-
* Search Instagram Reels by keyword and get matching reels
|
|
3778
|
+
* Search Instagram Reels by keyword against Instagram's own reels search and get matching reels with view, like and comment counts, caption, creator and duration. Results are relevance-ranked, not chronological, and a page can repeat reels from the page before it. For a web-search-index view of the same keyword, with a recency filter and numbered pages, use instagram.web_reels_search.
|
|
3756
3779
|
*
|
|
3757
|
-
* Price: $0.
|
|
3780
|
+
* Price: $0.0015 per request.
|
|
3758
3781
|
*
|
|
3759
3782
|
* @example
|
|
3760
3783
|
* const res = await client.instagram.reelsSearch({ query: "travel" });
|
|
@@ -3762,6 +3785,22 @@ var InstagramNamespace = class {
|
|
|
3762
3785
|
reelsSearch(input, options) {
|
|
3763
3786
|
return this._core.run("instagram.reels_search", input, options);
|
|
3764
3787
|
}
|
|
3788
|
+
/**
|
|
3789
|
+
* Iterate every result of Instagram Reels Search across pages.
|
|
3790
|
+
*
|
|
3791
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
3792
|
+
* result pages instead (each carries its own costUsd).
|
|
3793
|
+
*/
|
|
3794
|
+
iterReelsSearch(input, options) {
|
|
3795
|
+
return paginate(
|
|
3796
|
+
this._core,
|
|
3797
|
+
"instagram.reels_search",
|
|
3798
|
+
input,
|
|
3799
|
+
"reels",
|
|
3800
|
+
false,
|
|
3801
|
+
options
|
|
3802
|
+
);
|
|
3803
|
+
}
|
|
3765
3804
|
/**
|
|
3766
3805
|
* Instagram Search
|
|
3767
3806
|
*
|
|
@@ -3778,7 +3817,7 @@ var InstagramNamespace = class {
|
|
|
3778
3817
|
/**
|
|
3779
3818
|
* Instagram Hashtag Search
|
|
3780
3819
|
*
|
|
3781
|
-
* Search posts under an Instagram hashtag through a web search index rather than Instagram's own hashtag feed. That is what lets it filter by date and media type and return reels whose like counts have settled, and it is also why results skew older (median around three months) and stop at roughly 110 per hashtag.
|
|
3820
|
+
* Search posts under an Instagram hashtag through a web search index rather than Instagram's own hashtag feed. That is what lets it filter by date and media type and return reels whose like counts have settled, and it is also why results skew older (median around three months) and stop at roughly 110 per hashtag. For Instagram's own live ranking of a tag use instagram.hashtag_top_posts, and for the chronological feed use instagram.hashtag_recent_posts.
|
|
3782
3821
|
*
|
|
3783
3822
|
* Price: $0.0012 per request.
|
|
3784
3823
|
*
|
|
@@ -3851,7 +3890,7 @@ var InstagramNamespace = class {
|
|
|
3851
3890
|
*
|
|
3852
3891
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
3853
3892
|
*
|
|
3854
|
-
* Price: $0.
|
|
3893
|
+
* Price: $0.027 per request.
|
|
3855
3894
|
*
|
|
3856
3895
|
* @example
|
|
3857
3896
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -3945,7 +3984,7 @@ var InstagramNamespace = class {
|
|
|
3945
3984
|
*
|
|
3946
3985
|
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
|
|
3947
3986
|
*
|
|
3948
|
-
* Price: $0.
|
|
3987
|
+
* Price: $0.0008 per request.
|
|
3949
3988
|
*
|
|
3950
3989
|
* @example
|
|
3951
3990
|
* const res = await client.instagram.userPosts({ handle: "nasa" });
|
|
@@ -3974,7 +4013,7 @@ var InstagramNamespace = class {
|
|
|
3974
4013
|
*
|
|
3975
4014
|
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
3976
4015
|
*
|
|
3977
|
-
* Price: $0.
|
|
4016
|
+
* Price: $0.0008 per request.
|
|
3978
4017
|
*
|
|
3979
4018
|
* @example
|
|
3980
4019
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -4027,6 +4066,19 @@ var InstagramNamespace = class {
|
|
|
4027
4066
|
options
|
|
4028
4067
|
);
|
|
4029
4068
|
}
|
|
4069
|
+
/**
|
|
4070
|
+
* Instagram Reels Web Search
|
|
4071
|
+
*
|
|
4072
|
+
* Search Instagram Reels through a web search index rather than Instagram's own search, and get matching reels (caption, likes, comments, creator, and duration). That is what lets it filter by a recency window and page by number, and it is also why the results are whatever the index has crawled rather than what Instagram ranks right now, and why paging tops out around 110 reels per query (11 pages of 10). Instagram does not return view or play counts here. For Instagram's own live reels search, with view counts, use instagram.reels_search.
|
|
4073
|
+
*
|
|
4074
|
+
* Price: $0.0012 per request.
|
|
4075
|
+
*
|
|
4076
|
+
* @example
|
|
4077
|
+
* const res = await client.instagram.webReelsSearch({ query: "travel" });
|
|
4078
|
+
*/
|
|
4079
|
+
webReelsSearch(input, options) {
|
|
4080
|
+
return this._core.run("instagram.web_reels_search", input, options);
|
|
4081
|
+
}
|
|
4030
4082
|
};
|
|
4031
4083
|
|
|
4032
4084
|
// src/generated/platforms/job_search.ts
|
|
@@ -4373,7 +4425,7 @@ var LinkedinNamespace = class {
|
|
|
4373
4425
|
*
|
|
4374
4426
|
* Search public LinkedIn posts by keyword (text, link, publish date).
|
|
4375
4427
|
*
|
|
4376
|
-
* Price: $0.
|
|
4428
|
+
* Price: $0.018 per request.
|
|
4377
4429
|
*
|
|
4378
4430
|
* @example
|
|
4379
4431
|
* const res = await client.linkedin.searchPosts({ query: "hiring", datePosted: "last-week" });
|
|
@@ -4449,6 +4501,22 @@ var LinkedinNamespace = class {
|
|
|
4449
4501
|
searchProfilesThin(input, options) {
|
|
4450
4502
|
return this._core.run("linkedin.search_profiles_thin", input, options);
|
|
4451
4503
|
}
|
|
4504
|
+
/**
|
|
4505
|
+
* Iterate every result of LinkedIn Profile Search (basic) across pages.
|
|
4506
|
+
*
|
|
4507
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
4508
|
+
* result pages instead (each carries its own costUsd).
|
|
4509
|
+
*/
|
|
4510
|
+
iterSearchProfilesThin(input, options) {
|
|
4511
|
+
return paginate(
|
|
4512
|
+
this._core,
|
|
4513
|
+
"linkedin.search_profiles_thin",
|
|
4514
|
+
input,
|
|
4515
|
+
"items",
|
|
4516
|
+
false,
|
|
4517
|
+
options
|
|
4518
|
+
);
|
|
4519
|
+
}
|
|
4452
4520
|
};
|
|
4453
4521
|
|
|
4454
4522
|
// src/generated/platforms/maps.ts
|
|
@@ -4834,6 +4902,19 @@ var PersonEnrichmentNamespace = class {
|
|
|
4834
4902
|
bettercontact(input, options) {
|
|
4835
4903
|
return this._core.run("person_enrichment.bettercontact", input, options);
|
|
4836
4904
|
}
|
|
4905
|
+
/**
|
|
4906
|
+
* Person Enrichment - Crustdata v3
|
|
4907
|
+
*
|
|
4908
|
+
* Enrich one person from a LinkedIn profile URL or a business email: profile, headline, location, skills, current and past roles with the employer's domain, education, social handles, and GitHub profiles. Contact details are sold separately by Contact Enrichment - Crustdata v3.
|
|
4909
|
+
*
|
|
4910
|
+
* Price: $0.096 per request.
|
|
4911
|
+
*
|
|
4912
|
+
* @example
|
|
4913
|
+
* const res = await client.personEnrichment.crustdataV3({ linkedinUrl: "https://www.linkedin.com/in/satyanadella" });
|
|
4914
|
+
*/
|
|
4915
|
+
crustdataV3(input, options) {
|
|
4916
|
+
return this._core.run("person_enrichment.crustdata_v3", input, options);
|
|
4917
|
+
}
|
|
4837
4918
|
/**
|
|
4838
4919
|
* Bulk Person Enrichment - FullEnrich
|
|
4839
4920
|
*
|
|
@@ -4929,7 +5010,7 @@ var PinterestNamespace = class {
|
|
|
4929
5010
|
*
|
|
4930
5011
|
* Search Pinterest by keyword and get pin, video, board, or profile results with titles, images, and links.
|
|
4931
5012
|
*
|
|
4932
|
-
* Price: $0.
|
|
5013
|
+
* Price: $0.0008 per request.
|
|
4933
5014
|
*
|
|
4934
5015
|
* @example
|
|
4935
5016
|
* const res = await client.pinterest.search({ query: "home decor", limit: 3 });
|
|
@@ -4937,6 +5018,22 @@ var PinterestNamespace = class {
|
|
|
4937
5018
|
search(input, options) {
|
|
4938
5019
|
return this._core.run("pinterest.search", input, options);
|
|
4939
5020
|
}
|
|
5021
|
+
/**
|
|
5022
|
+
* Iterate every result of Pinterest Search across pages.
|
|
5023
|
+
*
|
|
5024
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
5025
|
+
* result pages instead (each carries its own costUsd).
|
|
5026
|
+
*/
|
|
5027
|
+
iterSearch(input, options) {
|
|
5028
|
+
return paginate(
|
|
5029
|
+
this._core,
|
|
5030
|
+
"pinterest.search",
|
|
5031
|
+
input,
|
|
5032
|
+
"items",
|
|
5033
|
+
false,
|
|
5034
|
+
options
|
|
5035
|
+
);
|
|
5036
|
+
}
|
|
4940
5037
|
};
|
|
4941
5038
|
|
|
4942
5039
|
// src/generated/platforms/playstore.ts
|
|
@@ -4981,6 +5078,27 @@ var PolymarketNamespace = class {
|
|
|
4981
5078
|
}
|
|
4982
5079
|
};
|
|
4983
5080
|
|
|
5081
|
+
// src/generated/platforms/property_records.ts
|
|
5082
|
+
var PropertyRecordsNamespace = class {
|
|
5083
|
+
constructor(_core) {
|
|
5084
|
+
this._core = _core;
|
|
5085
|
+
}
|
|
5086
|
+
_core;
|
|
5087
|
+
/**
|
|
5088
|
+
* Property Records - Enformion
|
|
5089
|
+
*
|
|
5090
|
+
* Look up the public property records for one US address: current and previous owners, parcel number (APN), last sale, assessed and market values, property tax, beds, baths, living area, lot size, year built, land use, and zoning. One address can match several parcels, and every match is returned. Billed only when a record is found.
|
|
5091
|
+
*
|
|
5092
|
+
* Price: $0.1536 per request.
|
|
5093
|
+
*
|
|
5094
|
+
* @example
|
|
5095
|
+
* const res = await client.propertyRecords.enformion({ city: "Austin", state: "TX", street: "4510 Secure Ln", zip: "78725" });
|
|
5096
|
+
*/
|
|
5097
|
+
enformion(input, options) {
|
|
5098
|
+
return this._core.run("property_records.enformion", input, options);
|
|
5099
|
+
}
|
|
5100
|
+
};
|
|
5101
|
+
|
|
4984
5102
|
// src/generated/platforms/realtor.ts
|
|
4985
5103
|
var RealtorNamespace = class {
|
|
4986
5104
|
constructor(_core) {
|
|
@@ -5008,6 +5126,19 @@ var RedditNamespace = class {
|
|
|
5008
5126
|
this._core = _core;
|
|
5009
5127
|
}
|
|
5010
5128
|
_core;
|
|
5129
|
+
/**
|
|
5130
|
+
* Reddit Avatar
|
|
5131
|
+
*
|
|
5132
|
+
* Get a Reddit user's profile picture URL, karma, and account age by username. The cheapest Reddit user lookup; use reddit.profile for bio, trophies, and post and comment counts.
|
|
5133
|
+
*
|
|
5134
|
+
* Price: $0.00038 per request.
|
|
5135
|
+
*
|
|
5136
|
+
* @example
|
|
5137
|
+
* const res = await client.reddit.avatar({ username: "spez" });
|
|
5138
|
+
*/
|
|
5139
|
+
avatar(input, options) {
|
|
5140
|
+
return this._core.run("reddit.avatar", input, options);
|
|
5141
|
+
}
|
|
5011
5142
|
/**
|
|
5012
5143
|
* Reddit Post
|
|
5013
5144
|
*
|
|
@@ -5026,7 +5157,7 @@ var RedditNamespace = class {
|
|
|
5026
5157
|
*
|
|
5027
5158
|
* List the top-level comments on a Reddit post by URL (author, body, score, timestamp).
|
|
5028
5159
|
*
|
|
5029
|
-
* Price: $0.
|
|
5160
|
+
* Price: $0.0006 per request.
|
|
5030
5161
|
*
|
|
5031
5162
|
* @example
|
|
5032
5163
|
* const res = await client.reddit.postComments({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
|
|
@@ -5068,7 +5199,7 @@ var RedditNamespace = class {
|
|
|
5068
5199
|
*
|
|
5069
5200
|
* Fetch a Reddit user's public profile (karma split, post and comment counts, bio, avatar, account age) by username.
|
|
5070
5201
|
*
|
|
5071
|
-
* Price: $0.
|
|
5202
|
+
* Price: $0.00225 per request plus $0 per result (maximum $0.00225).
|
|
5072
5203
|
*
|
|
5073
5204
|
* @example
|
|
5074
5205
|
* const res = await client.reddit.profile({ username: "spez" });
|
|
@@ -5081,7 +5212,7 @@ var RedditNamespace = class {
|
|
|
5081
5212
|
*
|
|
5082
5213
|
* Search Reddit posts across all subreddits by query.
|
|
5083
5214
|
*
|
|
5084
|
-
* Price: $0.
|
|
5215
|
+
* Price: $0.00038 per request.
|
|
5085
5216
|
*
|
|
5086
5217
|
* @example
|
|
5087
5218
|
* const res = await client.reddit.search({ query: "mechanical keyboard" });
|
|
@@ -5110,7 +5241,7 @@ var RedditNamespace = class {
|
|
|
5110
5241
|
*
|
|
5111
5242
|
* Fetch a subreddit's metadata (weekly active users, description, and category).
|
|
5112
5243
|
*
|
|
5113
|
-
* Price: $0.
|
|
5244
|
+
* Price: $0.00038 per request.
|
|
5114
5245
|
*
|
|
5115
5246
|
* @example
|
|
5116
5247
|
* const res = await client.reddit.subredditDetails({ subreddit: "programming" });
|
|
@@ -5123,7 +5254,7 @@ var RedditNamespace = class {
|
|
|
5123
5254
|
*
|
|
5124
5255
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
5125
5256
|
*
|
|
5126
|
-
* Price: $0.
|
|
5257
|
+
* Price: $0.00038 per request.
|
|
5127
5258
|
*
|
|
5128
5259
|
* @example
|
|
5129
5260
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
|
|
@@ -5152,7 +5283,7 @@ var RedditNamespace = class {
|
|
|
5152
5283
|
*
|
|
5153
5284
|
* Search posts within a single subreddit by query, sort, and timeframe.
|
|
5154
5285
|
*
|
|
5155
|
-
* Price: $0.
|
|
5286
|
+
* Price: $0.00038 per request.
|
|
5156
5287
|
*
|
|
5157
5288
|
* @example
|
|
5158
5289
|
* const res = await client.reddit.subredditSearch({ subreddit: "Fitness", query: "push ups" });
|
|
@@ -5194,7 +5325,7 @@ var RedditNamespace = class {
|
|
|
5194
5325
|
*
|
|
5195
5326
|
* List a Reddit user's comments by username, sorted by new, top, hot, or controversial, with the parent post title and subreddit on every item and cursor pagination. Comment text comes back as a roughly 300-character preview rather than the full body, and this endpoint carries no per-comment permalink; use reddit.post_comments for full comment bodies and comment URLs on a given post.
|
|
5196
5327
|
*
|
|
5197
|
-
* Price: $0.
|
|
5328
|
+
* Price: $0.0006 per request.
|
|
5198
5329
|
*
|
|
5199
5330
|
* @example
|
|
5200
5331
|
* const res = await client.reddit.userComments({ username: "spez" });
|
|
@@ -5223,7 +5354,7 @@ var RedditNamespace = class {
|
|
|
5223
5354
|
*
|
|
5224
5355
|
* List a Reddit user's posts by username, sorted by new, top, hot, or controversial, with cursor pagination.
|
|
5225
5356
|
*
|
|
5226
|
-
* Price: $0.
|
|
5357
|
+
* Price: $0.00038 per request.
|
|
5227
5358
|
*
|
|
5228
5359
|
* @example
|
|
5229
5360
|
* const res = await client.reddit.userPosts({ username: "spez" });
|
|
@@ -5452,7 +5583,7 @@ var SemrushNamespace = class {
|
|
|
5452
5583
|
*
|
|
5453
5584
|
* Semrush keyword research for any term: monthly search volume, CPC, competition, keyword difficulty, plus related keywords and question keywords.
|
|
5454
5585
|
*
|
|
5455
|
-
* Price: $0 per request plus $0.
|
|
5586
|
+
* Price: $0 per request plus $0.00495 per result (maximum $0.00495).
|
|
5456
5587
|
*
|
|
5457
5588
|
* @example
|
|
5458
5589
|
* const res = await client.semrush.keywords({ keyword: "best running shoes", database: "us" });
|
|
@@ -5465,7 +5596,7 @@ var SemrushNamespace = class {
|
|
|
5465
5596
|
*
|
|
5466
5597
|
* a Semrush SEO overview for any domain: Authority Score, organic and paid traffic, keyword and backlink counts, top country, and the domain's top organic keywords.
|
|
5467
5598
|
*
|
|
5468
|
-
* Price: $0 per request plus $0.
|
|
5599
|
+
* Price: $0 per request plus $0.00495 per result (maximum $0.00495).
|
|
5469
5600
|
*
|
|
5470
5601
|
* @example
|
|
5471
5602
|
* const res = await client.semrush.overview({ domain: "ahrefs.com", database: "us" });
|
|
@@ -5975,12 +6106,12 @@ var TiktokNamespace = class {
|
|
|
5975
6106
|
/**
|
|
5976
6107
|
* TikTok Ad Library Search
|
|
5977
6108
|
*
|
|
5978
|
-
* Search TikTok's
|
|
6109
|
+
* Search TikTok's public Ads Library by keyword or advertiser (advertiser, title, audience band, run dates, library link, and video).
|
|
5979
6110
|
*
|
|
5980
|
-
* Price: $0.
|
|
6111
|
+
* Price: $0.0005 per request.
|
|
5981
6112
|
*
|
|
5982
6113
|
* @example
|
|
5983
|
-
* const res = await client.tiktok.adLibrarySearch({ query: "spotify"
|
|
6114
|
+
* const res = await client.tiktok.adLibrarySearch({ query: "spotify" });
|
|
5984
6115
|
*/
|
|
5985
6116
|
adLibrarySearch(input, options) {
|
|
5986
6117
|
return this._core.run("tiktok.ad_library_search", input, options);
|
|
@@ -6048,7 +6179,7 @@ var TiktokNamespace = class {
|
|
|
6048
6179
|
*
|
|
6049
6180
|
* List the replies to a TikTok comment with cursor pagination (text, author, likes).
|
|
6050
6181
|
*
|
|
6051
|
-
* Price: $0.
|
|
6182
|
+
* Price: $0.0009 per request.
|
|
6052
6183
|
*
|
|
6053
6184
|
* @example
|
|
6054
6185
|
* const res = await client.tiktok.commentReplies({ commentId: "7623828115408274207", url: "https://www.tiktok.com/@stoolpresidente/video/7623818255903329566" });
|
|
@@ -6169,12 +6300,41 @@ var TiktokNamespace = class {
|
|
|
6169
6300
|
photos(input, options) {
|
|
6170
6301
|
return this._core.run("tiktok.photos", input, options);
|
|
6171
6302
|
}
|
|
6303
|
+
/**
|
|
6304
|
+
* TikTok Playlist Videos
|
|
6305
|
+
*
|
|
6306
|
+
* List the videos inside one TikTok playlist by playlist URL or id, in playlist order, with view, like and comment counts.
|
|
6307
|
+
*
|
|
6308
|
+
* Price: $0.0012 per request.
|
|
6309
|
+
*
|
|
6310
|
+
* @example
|
|
6311
|
+
* const res = await client.tiktok.playlistVideos({ url: "https://www.tiktok.com/@mrbeast/playlist/Beast%20Games-7596415294902389534" });
|
|
6312
|
+
*/
|
|
6313
|
+
playlistVideos(input, options) {
|
|
6314
|
+
return this._core.run("tiktok.playlist_videos", input, options);
|
|
6315
|
+
}
|
|
6316
|
+
/**
|
|
6317
|
+
* Iterate every result of TikTok Playlist Videos across pages.
|
|
6318
|
+
*
|
|
6319
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
6320
|
+
* result pages instead (each carries its own costUsd).
|
|
6321
|
+
*/
|
|
6322
|
+
iterPlaylistVideos(input, options) {
|
|
6323
|
+
return paginate(
|
|
6324
|
+
this._core,
|
|
6325
|
+
"tiktok.playlist_videos",
|
|
6326
|
+
input,
|
|
6327
|
+
"videos",
|
|
6328
|
+
false,
|
|
6329
|
+
options
|
|
6330
|
+
);
|
|
6331
|
+
}
|
|
6172
6332
|
/**
|
|
6173
6333
|
* TikTok Profile
|
|
6174
6334
|
*
|
|
6175
6335
|
* Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
|
|
6176
6336
|
*
|
|
6177
|
-
* Price: $0.
|
|
6337
|
+
* Price: $0.00045 per request.
|
|
6178
6338
|
*
|
|
6179
6339
|
* @example
|
|
6180
6340
|
* const res = await client.tiktok.profile({ handle: "zachking" });
|
|
@@ -6195,6 +6355,35 @@ var TiktokNamespace = class {
|
|
|
6195
6355
|
profileContact(input, options) {
|
|
6196
6356
|
return this._core.run("tiktok.profile_contact", input, options);
|
|
6197
6357
|
}
|
|
6358
|
+
/**
|
|
6359
|
+
* TikTok Profile Playlists
|
|
6360
|
+
*
|
|
6361
|
+
* List the playlists a TikTok creator has published on their profile, with each playlist's name, video count and cover image.
|
|
6362
|
+
*
|
|
6363
|
+
* Price: $0.0012 per request.
|
|
6364
|
+
*
|
|
6365
|
+
* @example
|
|
6366
|
+
* const res = await client.tiktok.profilePlaylists({ secUid: "MS4wLjABAAAABKjQkOz_IIzXXzEAl_9LGsWhvK-gBnlczwRPXK8EmxAp6K3X0qiaP5_OEqmm0XwG" });
|
|
6367
|
+
*/
|
|
6368
|
+
profilePlaylists(input, options) {
|
|
6369
|
+
return this._core.run("tiktok.profile_playlists", input, options);
|
|
6370
|
+
}
|
|
6371
|
+
/**
|
|
6372
|
+
* Iterate every result of TikTok Profile Playlists across pages.
|
|
6373
|
+
*
|
|
6374
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
6375
|
+
* result pages instead (each carries its own costUsd).
|
|
6376
|
+
*/
|
|
6377
|
+
iterProfilePlaylists(input, options) {
|
|
6378
|
+
return paginate(
|
|
6379
|
+
this._core,
|
|
6380
|
+
"tiktok.profile_playlists",
|
|
6381
|
+
input,
|
|
6382
|
+
"playlists",
|
|
6383
|
+
false,
|
|
6384
|
+
options
|
|
6385
|
+
);
|
|
6386
|
+
}
|
|
6198
6387
|
/**
|
|
6199
6388
|
* TikTok Profile Region
|
|
6200
6389
|
*
|
|
@@ -6208,12 +6397,41 @@ var TiktokNamespace = class {
|
|
|
6208
6397
|
profileRegion(input, options) {
|
|
6209
6398
|
return this._core.run("tiktok.profile_region", input, options);
|
|
6210
6399
|
}
|
|
6400
|
+
/**
|
|
6401
|
+
* TikTok Profile Reposts
|
|
6402
|
+
*
|
|
6403
|
+
* List the videos a TikTok creator has reposted to their profile, with view, like and comment counts and cursor pagination.
|
|
6404
|
+
*
|
|
6405
|
+
* Price: $0.0012 per request.
|
|
6406
|
+
*
|
|
6407
|
+
* @example
|
|
6408
|
+
* const res = await client.tiktok.profileReposts({ secUid: "MS4wLjABAAAABKjQkOz_IIzXXzEAl_9LGsWhvK-gBnlczwRPXK8EmxAp6K3X0qiaP5_OEqmm0XwG" });
|
|
6409
|
+
*/
|
|
6410
|
+
profileReposts(input, options) {
|
|
6411
|
+
return this._core.run("tiktok.profile_reposts", input, options);
|
|
6412
|
+
}
|
|
6413
|
+
/**
|
|
6414
|
+
* Iterate every result of TikTok Profile Reposts across pages.
|
|
6415
|
+
*
|
|
6416
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
6417
|
+
* result pages instead (each carries its own costUsd).
|
|
6418
|
+
*/
|
|
6419
|
+
iterProfileReposts(input, options) {
|
|
6420
|
+
return paginate(
|
|
6421
|
+
this._core,
|
|
6422
|
+
"tiktok.profile_reposts",
|
|
6423
|
+
input,
|
|
6424
|
+
"videos",
|
|
6425
|
+
false,
|
|
6426
|
+
options
|
|
6427
|
+
);
|
|
6428
|
+
}
|
|
6211
6429
|
/**
|
|
6212
6430
|
* TikTok Profile Videos
|
|
6213
6431
|
*
|
|
6214
6432
|
* List a TikTok creator's recent videos (views, likes, comments) by handle with cursor pagination.
|
|
6215
6433
|
*
|
|
6216
|
-
* Price: $0.
|
|
6434
|
+
* Price: $0.0007 per request.
|
|
6217
6435
|
*
|
|
6218
6436
|
* @example
|
|
6219
6437
|
* const res = await client.tiktok.profileVideos({ handle: "zachking" });
|
|
@@ -6271,7 +6489,7 @@ var TiktokNamespace = class {
|
|
|
6271
6489
|
*
|
|
6272
6490
|
* Search TikTok by keyword and get matching videos (caption, views, likes, comments, shares) as normalized JSON.
|
|
6273
6491
|
*
|
|
6274
|
-
* Price: $0.
|
|
6492
|
+
* Price: $0.0007 per request.
|
|
6275
6493
|
*
|
|
6276
6494
|
* @example
|
|
6277
6495
|
* const res = await client.tiktok.searchKeyword({ query: "cooking", datePosted: 0, sortBy: 0 });
|
|
@@ -6295,12 +6513,54 @@ var TiktokNamespace = class {
|
|
|
6295
6513
|
options
|
|
6296
6514
|
);
|
|
6297
6515
|
}
|
|
6516
|
+
/**
|
|
6517
|
+
* TikTok Photo Search
|
|
6518
|
+
*
|
|
6519
|
+
* Search TikTok for photo-mode (slideshow) posts by keyword, with every image in each post plus view, like and comment counts. tiktok.search_keyword returns videos and drops these.
|
|
6520
|
+
*
|
|
6521
|
+
* Price: $0.0012 per request.
|
|
6522
|
+
*
|
|
6523
|
+
* @example
|
|
6524
|
+
* const res = await client.tiktok.searchPhotos({ query: "latte art" });
|
|
6525
|
+
*/
|
|
6526
|
+
searchPhotos(input, options) {
|
|
6527
|
+
return this._core.run("tiktok.search_photos", input, options);
|
|
6528
|
+
}
|
|
6529
|
+
/**
|
|
6530
|
+
* Iterate every result of TikTok Photo Search across pages.
|
|
6531
|
+
*
|
|
6532
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
6533
|
+
* result pages instead (each carries its own costUsd).
|
|
6534
|
+
*/
|
|
6535
|
+
iterSearchPhotos(input, options) {
|
|
6536
|
+
return paginate(
|
|
6537
|
+
this._core,
|
|
6538
|
+
"tiktok.search_photos",
|
|
6539
|
+
input,
|
|
6540
|
+
"posts",
|
|
6541
|
+
false,
|
|
6542
|
+
options
|
|
6543
|
+
);
|
|
6544
|
+
}
|
|
6545
|
+
/**
|
|
6546
|
+
* TikTok Search Suggestions
|
|
6547
|
+
*
|
|
6548
|
+
* Get the search terms TikTok suggests for a keyword, each with its language and relative weight - the queries real TikTok users type around your topic.
|
|
6549
|
+
*
|
|
6550
|
+
* Price: $0.0012 per request.
|
|
6551
|
+
*
|
|
6552
|
+
* @example
|
|
6553
|
+
* const res = await client.tiktok.searchSuggestions({ query: "protein powder" });
|
|
6554
|
+
*/
|
|
6555
|
+
searchSuggestions(input, options) {
|
|
6556
|
+
return this._core.run("tiktok.search_suggestions", input, options);
|
|
6557
|
+
}
|
|
6298
6558
|
/**
|
|
6299
6559
|
* TikTok Top Search
|
|
6300
6560
|
*
|
|
6301
6561
|
* Search TikTok's top results for a keyword (caption, views, likes, comments, shares) with cursor pagination.
|
|
6302
6562
|
*
|
|
6303
|
-
* Price: $0.
|
|
6563
|
+
* Price: $0.0009 per request.
|
|
6304
6564
|
*
|
|
6305
6565
|
* @example
|
|
6306
6566
|
* const res = await client.tiktok.searchTop({ query: "funny" });
|
|
@@ -6329,7 +6589,7 @@ var TiktokNamespace = class {
|
|
|
6329
6589
|
*
|
|
6330
6590
|
* Search TikTok accounts by keyword (handle, nickname, follower count) with cursor pagination.
|
|
6331
6591
|
*
|
|
6332
|
-
* Price: $0.
|
|
6592
|
+
* Price: $0.0007 per request.
|
|
6333
6593
|
*
|
|
6334
6594
|
* @example
|
|
6335
6595
|
* const res = await client.tiktok.searchUsers({ query: "chef" });
|
|
@@ -6358,7 +6618,7 @@ var TiktokNamespace = class {
|
|
|
6358
6618
|
*
|
|
6359
6619
|
* Fetch details for a TikTok song or sound (title, author, duration, cover art, and how many videos use it).
|
|
6360
6620
|
*
|
|
6361
|
-
* Price: $0.
|
|
6621
|
+
* Price: $0.0009 per request.
|
|
6362
6622
|
*
|
|
6363
6623
|
* @example
|
|
6364
6624
|
* const res = await client.tiktok.song({ clipId: "7439295283975702544" });
|
|
@@ -6371,7 +6631,7 @@ var TiktokNamespace = class {
|
|
|
6371
6631
|
*
|
|
6372
6632
|
* List TikTok videos that use a given song or sound (with descriptions, authors, and engagement stats).
|
|
6373
6633
|
*
|
|
6374
|
-
* Price: $0.
|
|
6634
|
+
* Price: $0.0009 per request.
|
|
6375
6635
|
*
|
|
6376
6636
|
* @example
|
|
6377
6637
|
* const res = await client.tiktok.songVideos({ clipId: "7439295283975702544" });
|
|
@@ -6398,7 +6658,7 @@ var TiktokNamespace = class {
|
|
|
6398
6658
|
/**
|
|
6399
6659
|
* TikTok Top Ads Search
|
|
6400
6660
|
*
|
|
6401
|
-
* Search TikTok Creative Center top video ads by keyword with
|
|
6661
|
+
* Search TikTok Creative Center top video ads by keyword, with campaign objective, performance percentile, and time-window filters.
|
|
6402
6662
|
*
|
|
6403
6663
|
* Price: $0.0012 per request.
|
|
6404
6664
|
*
|
|
@@ -6413,7 +6673,7 @@ var TiktokNamespace = class {
|
|
|
6413
6673
|
*
|
|
6414
6674
|
* Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
|
|
6415
6675
|
*
|
|
6416
|
-
* Price: $0.
|
|
6676
|
+
* Price: $0.0008 per request.
|
|
6417
6677
|
*
|
|
6418
6678
|
* @example
|
|
6419
6679
|
* const res = await client.tiktok.trendingFeed({ region: "US" });
|
|
@@ -6439,7 +6699,7 @@ var TiktokNamespace = class {
|
|
|
6439
6699
|
*
|
|
6440
6700
|
* Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
|
|
6441
6701
|
*
|
|
6442
|
-
* Price: $0.
|
|
6702
|
+
* Price: $0.00045 per request.
|
|
6443
6703
|
*
|
|
6444
6704
|
* @example
|
|
6445
6705
|
* 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" });
|
|
@@ -6452,7 +6712,7 @@ var TiktokNamespace = class {
|
|
|
6452
6712
|
*
|
|
6453
6713
|
* List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count).
|
|
6454
6714
|
*
|
|
6455
|
-
* Price: $0.
|
|
6715
|
+
* Price: $0.0007 per request.
|
|
6456
6716
|
*
|
|
6457
6717
|
* @example
|
|
6458
6718
|
* 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" });
|
|
@@ -6481,7 +6741,7 @@ var TiktokNamespace = class {
|
|
|
6481
6741
|
*
|
|
6482
6742
|
* Get the playable media files behind a TikTok video URL: the clean no-watermark MP4, the watermarked one TikTok's own save button produces, and the cover image, with duration and pixel dimensions. Photo-mode posts carry no video file - use tiktok.photos for those.
|
|
6483
6743
|
*
|
|
6484
|
-
* Price: $0.
|
|
6744
|
+
* Price: $0.0009 per request.
|
|
6485
6745
|
*
|
|
6486
6746
|
* @example
|
|
6487
6747
|
* const res = await client.tiktok.videoDownload({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287" });
|
|
@@ -6490,9 +6750,9 @@ var TiktokNamespace = class {
|
|
|
6490
6750
|
return this._core.run("tiktok.video_download", input, options);
|
|
6491
6751
|
}
|
|
6492
6752
|
/**
|
|
6493
|
-
* TikTok Video Transcript
|
|
6753
|
+
* TikTok Video Transcript (native captions)
|
|
6494
6754
|
*
|
|
6495
|
-
* Fetch the
|
|
6755
|
+
* Fetch the caption track TikTok itself published for a video, as TikTok wrote it. It is the cheapest way to get the words, and it is only as good as TikTok's own transcription: it mishears names and uncommon words, and many videos - especially non-English ones - have no caption track at all, which comes back as not found. When you need the words to be right, or there is no track to read, tiktok.video_transcript_full transcribes the audio with AnyAPI's own speech-to-text instead.
|
|
6496
6756
|
*
|
|
6497
6757
|
* Price: $0.0012 per request.
|
|
6498
6758
|
*
|
|
@@ -6503,11 +6763,11 @@ var TiktokNamespace = class {
|
|
|
6503
6763
|
return this._core.run("tiktok.video_transcript", input, options);
|
|
6504
6764
|
}
|
|
6505
6765
|
/**
|
|
6506
|
-
* TikTok Video Transcript (
|
|
6766
|
+
* TikTok Video Transcript (AnyAPI speech to text)
|
|
6507
6767
|
*
|
|
6508
|
-
* Transcribe the spoken audio of a TikTok video with timed segments, speaker labels, and per-word
|
|
6768
|
+
* Transcribe the spoken audio of a TikTok video with AnyAPI's own speech-to-text: timed sentence-level segments, speaker labels, detected language, and optional per-word timings, for videos TikTok publishes no caption track for and for videos whose caption track gets the words wrong. AnyAPI downloads the video and runs the audio through MAI-Transcribe-2 rather than reading anything TikTok wrote, which is why it handles non-English speech and hears words the native captions mishear. The answer also carries the video's id, URL, creator handle, and cover image. Turn on hostVideo to also get the MP4 on a hosted link that plays without TikTok's signed, short-lived CDN URL expiring on you. If you only want whatever TikTok itself published and you want it for a tenth of the price, tiktok.video_transcript is that.
|
|
6509
6769
|
*
|
|
6510
|
-
* Price: $0.
|
|
6770
|
+
* Price: $0.0015 per request plus $0.006 per audio minute (maximum $0.095).
|
|
6511
6771
|
*
|
|
6512
6772
|
* @example
|
|
6513
6773
|
* const res = await client.tiktok.videoTranscriptFull({ url: "https://www.tiktok.com/@thatdudecancook/video/7649086431641521421" });
|
|
@@ -6536,19 +6796,6 @@ var TiktokShopNamespace = class {
|
|
|
6536
6796
|
categories(input, options) {
|
|
6537
6797
|
return this._core.run("tiktok_shop.categories", input, options);
|
|
6538
6798
|
}
|
|
6539
|
-
/**
|
|
6540
|
-
* TikTok Shop Category Products
|
|
6541
|
-
*
|
|
6542
|
-
* Browse TikTok Shop products inside a category by category id: price, discount, rating, sales count, seller, and product URL per product.
|
|
6543
|
-
*
|
|
6544
|
-
* Price: $0.0012 per request.
|
|
6545
|
-
*
|
|
6546
|
-
* @example
|
|
6547
|
-
* const res = await client.tiktokShop.categoryProducts({ categoryId: "700645", region: "US" });
|
|
6548
|
-
*/
|
|
6549
|
-
categoryProducts(input, options) {
|
|
6550
|
-
return this._core.run("tiktok_shop.category_products", input, options);
|
|
6551
|
-
}
|
|
6552
6799
|
/**
|
|
6553
6800
|
* TikTok Shop Creator
|
|
6554
6801
|
*
|
|
@@ -6732,7 +6979,7 @@ var TrustpilotNamespace = class {
|
|
|
6732
6979
|
*
|
|
6733
6980
|
* Pull Trustpilot reviews for any company by brand name: star ratings, review text, dates, and reviewer details as clean JSON.
|
|
6734
6981
|
*
|
|
6735
|
-
* Price: $0.
|
|
6982
|
+
* Price: $0.0008 per request.
|
|
6736
6983
|
*
|
|
6737
6984
|
* @example
|
|
6738
6985
|
* const res = await client.trustpilot.reviews({ company: "stripe.com", limit: 3 });
|
|
@@ -6769,7 +7016,7 @@ var TruthsocialNamespace = class {
|
|
|
6769
7016
|
* Price: $0.0036 per request.
|
|
6770
7017
|
*
|
|
6771
7018
|
* @example
|
|
6772
|
-
* const res = await client.truthsocial.profile({ handle: "
|
|
7019
|
+
* const res = await client.truthsocial.profile({ handle: "DevinNunes" });
|
|
6773
7020
|
*/
|
|
6774
7021
|
profile(input, options) {
|
|
6775
7022
|
return this._core.run("truthsocial.profile", input, options);
|
|
@@ -6787,6 +7034,22 @@ var TruthsocialNamespace = class {
|
|
|
6787
7034
|
userPosts(input, options) {
|
|
6788
7035
|
return this._core.run("truthsocial.user_posts", input, options);
|
|
6789
7036
|
}
|
|
7037
|
+
/**
|
|
7038
|
+
* Iterate every result of Truth Social User Posts across pages.
|
|
7039
|
+
*
|
|
7040
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
7041
|
+
* result pages instead (each carries its own costUsd).
|
|
7042
|
+
*/
|
|
7043
|
+
iterUserPosts(input, options) {
|
|
7044
|
+
return paginate(
|
|
7045
|
+
this._core,
|
|
7046
|
+
"truthsocial.user_posts",
|
|
7047
|
+
input,
|
|
7048
|
+
"posts",
|
|
7049
|
+
false,
|
|
7050
|
+
options
|
|
7051
|
+
);
|
|
7052
|
+
}
|
|
6790
7053
|
};
|
|
6791
7054
|
|
|
6792
7055
|
// src/generated/platforms/twitter.ts
|
|
@@ -7010,7 +7273,7 @@ var TwitterNamespace = class {
|
|
|
7010
7273
|
*
|
|
7011
7274
|
* Resolve the linear self-thread containing an X (Twitter) post, from its root through the author's linked continuations. This excludes replies from other users.
|
|
7012
7275
|
*
|
|
7013
|
-
* Price: $0.
|
|
7276
|
+
* Price: $0.00375 per request.
|
|
7014
7277
|
*
|
|
7015
7278
|
* @example
|
|
7016
7279
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -7713,7 +7976,7 @@ var YoutubeNamespace = class {
|
|
|
7713
7976
|
*
|
|
7714
7977
|
* List the comments on a YouTube video or Short by URL with cursor pagination (text, author, likes, reply count).
|
|
7715
7978
|
*
|
|
7716
|
-
* Price: $0.
|
|
7979
|
+
* Price: $0.0008 per request.
|
|
7717
7980
|
*
|
|
7718
7981
|
* @example
|
|
7719
7982
|
* const res = await client.youtube.videoComments({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -7755,7 +8018,7 @@ var YoutubeNamespace = class {
|
|
|
7755
8018
|
*
|
|
7756
8019
|
* Fetch the transcript/captions of a YouTube video or Short by URL or ID.
|
|
7757
8020
|
*
|
|
7758
|
-
* Price: $0.
|
|
8021
|
+
* Price: $0.011 per request.
|
|
7759
8022
|
*
|
|
7760
8023
|
* @example
|
|
7761
8024
|
* const res = await client.youtube.videoTranscript({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -7993,6 +8256,12 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
7993
8256
|
get companyEnrichment() {
|
|
7994
8257
|
return this._namespaces["companyEnrichment"] ??= new CompanyEnrichmentNamespace(this._core);
|
|
7995
8258
|
}
|
|
8259
|
+
/**
|
|
8260
|
+
* Typed methods for the company_identify platform.
|
|
8261
|
+
*/
|
|
8262
|
+
get companyIdentify() {
|
|
8263
|
+
return this._namespaces["companyIdentify"] ??= new CompanyIdentifyNamespace(this._core);
|
|
8264
|
+
}
|
|
7996
8265
|
/**
|
|
7997
8266
|
* Typed methods for the company_search platform.
|
|
7998
8267
|
*/
|
|
@@ -8010,12 +8279,10 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
8010
8279
|
);
|
|
8011
8280
|
}
|
|
8012
8281
|
/**
|
|
8013
|
-
* Typed methods for the
|
|
8282
|
+
* Typed methods for the contact_enrichment platform.
|
|
8014
8283
|
*/
|
|
8015
|
-
get
|
|
8016
|
-
return this._namespaces["
|
|
8017
|
-
this._core
|
|
8018
|
-
);
|
|
8284
|
+
get contactEnrichment() {
|
|
8285
|
+
return this._namespaces["contactEnrichment"] ??= new ContactEnrichmentNamespace(this._core);
|
|
8019
8286
|
}
|
|
8020
8287
|
/**
|
|
8021
8288
|
* Typed methods for the douyin platform.
|
|
@@ -8261,6 +8528,12 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
8261
8528
|
this._core
|
|
8262
8529
|
);
|
|
8263
8530
|
}
|
|
8531
|
+
/**
|
|
8532
|
+
* Typed methods for the property_records platform.
|
|
8533
|
+
*/
|
|
8534
|
+
get propertyRecords() {
|
|
8535
|
+
return this._namespaces["propertyRecords"] ??= new PropertyRecordsNamespace(this._core);
|
|
8536
|
+
}
|
|
8264
8537
|
/**
|
|
8265
8538
|
* Typed methods for the realtor platform.
|
|
8266
8539
|
*/
|
|
@@ -8504,11 +8777,12 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
8504
8777
|
ChatgptNamespace,
|
|
8505
8778
|
CoinmarketcapNamespace,
|
|
8506
8779
|
CompanyEnrichmentNamespace,
|
|
8780
|
+
CompanyIdentifyNamespace,
|
|
8507
8781
|
CompanyNamespace,
|
|
8508
8782
|
CompanySearchNamespace,
|
|
8509
8783
|
CongressNamespace,
|
|
8510
8784
|
ConnectionError,
|
|
8511
|
-
|
|
8785
|
+
ContactEnrichmentNamespace,
|
|
8512
8786
|
DouyinNamespace,
|
|
8513
8787
|
EbayNamespace,
|
|
8514
8788
|
EmailFindingNamespace,
|
|
@@ -8543,6 +8817,7 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
8543
8817
|
PinterestNamespace,
|
|
8544
8818
|
PlaystoreNamespace,
|
|
8545
8819
|
PolymarketNamespace,
|
|
8820
|
+
PropertyRecordsNamespace,
|
|
8546
8821
|
RateLimitedError,
|
|
8547
8822
|
RealtorNamespace,
|
|
8548
8823
|
RedditNamespace,
|