@getanyapi/sdk 0.46.2 → 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 +363 -85
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11633 -571
- package/dist/index.d.ts +11633 -571
- package/dist/index.js +359 -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,
|
|
@@ -64,6 +65,7 @@ __export(index_exports, {
|
|
|
64
65
|
LinkedinNamespace: () => LinkedinNamespace,
|
|
65
66
|
MapsNamespace: () => MapsNamespace,
|
|
66
67
|
MobilePhoneNamespace: () => MobilePhoneNamespace,
|
|
68
|
+
NOT_FOUND_REASONS: () => NOT_FOUND_REASONS,
|
|
67
69
|
NaverNamespace: () => NaverNamespace,
|
|
68
70
|
NextdoorNamespace: () => NextdoorNamespace,
|
|
69
71
|
NotFoundError: () => NotFoundError,
|
|
@@ -74,6 +76,7 @@ __export(index_exports, {
|
|
|
74
76
|
PinterestNamespace: () => PinterestNamespace,
|
|
75
77
|
PlaystoreNamespace: () => PlaystoreNamespace,
|
|
76
78
|
PolymarketNamespace: () => PolymarketNamespace,
|
|
79
|
+
PropertyRecordsNamespace: () => PropertyRecordsNamespace,
|
|
77
80
|
RateLimitedError: () => RateLimitedError,
|
|
78
81
|
RealtorNamespace: () => RealtorNamespace,
|
|
79
82
|
RedditNamespace: () => RedditNamespace,
|
|
@@ -1048,6 +1051,7 @@ function isRequestSnapshot(value) {
|
|
|
1048
1051
|
}
|
|
1049
1052
|
|
|
1050
1053
|
// src/core/types.ts
|
|
1054
|
+
var NOT_FOUND_REASONS = ["not_found", "suspended"];
|
|
1051
1055
|
var OUTPUT_NOT_RETAINED = "the run output was not retained: this response is an idempotent replay whose stored payload has expired or was too large to store, so only the run metadata came back. Re-run the request without the idempotency key (or with a fresh one) to fetch the data again.";
|
|
1052
1056
|
function unwrap(result) {
|
|
1053
1057
|
const output = result.output;
|
|
@@ -1160,7 +1164,7 @@ var AhrefsNamespace = class {
|
|
|
1160
1164
|
*
|
|
1161
1165
|
* Get the referring pages linking to a domain or URL, each with the source page, anchor text, linking domain rating, and page title.
|
|
1162
1166
|
*
|
|
1163
|
-
* Price: $0.
|
|
1167
|
+
* Price: $0.00501 per request plus $0 per result (maximum $0.00501).
|
|
1164
1168
|
*
|
|
1165
1169
|
* @example
|
|
1166
1170
|
* const res = await client.ahrefs.backlinks({ url: "ahrefs.com", mode: "exact" });
|
|
@@ -1173,7 +1177,7 @@ var AhrefsNamespace = class {
|
|
|
1173
1177
|
*
|
|
1174
1178
|
* Get related keyword suggestions for any seed term, each with an Ahrefs difficulty and search-volume bucket.
|
|
1175
1179
|
*
|
|
1176
|
-
* Price: $0.
|
|
1180
|
+
* Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
|
|
1177
1181
|
*
|
|
1178
1182
|
* @example
|
|
1179
1183
|
* const res = await client.ahrefs.keywordIdeas({ keyword: "coffee", country: "us" });
|
|
@@ -1186,7 +1190,7 @@ var AhrefsNamespace = class {
|
|
|
1186
1190
|
*
|
|
1187
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.
|
|
1188
1192
|
*
|
|
1189
|
-
* Price: $0.
|
|
1193
|
+
* Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
|
|
1190
1194
|
*
|
|
1191
1195
|
* @example
|
|
1192
1196
|
* const res = await client.ahrefs.keywords({ keyword: "seo tools", country: "us" });
|
|
@@ -1199,7 +1203,7 @@ var AhrefsNamespace = class {
|
|
|
1199
1203
|
*
|
|
1200
1204
|
* Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON.
|
|
1201
1205
|
*
|
|
1202
|
-
* Price: $0.
|
|
1206
|
+
* Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
|
|
1203
1207
|
*
|
|
1204
1208
|
* @example
|
|
1205
1209
|
* const res = await client.ahrefs.overview({ url: "ahrefs.com", mode: "subdomains" });
|
|
@@ -1669,6 +1673,27 @@ var CompanyEnrichmentNamespace = class {
|
|
|
1669
1673
|
}
|
|
1670
1674
|
};
|
|
1671
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
|
+
|
|
1672
1697
|
// src/generated/platforms/company_search.ts
|
|
1673
1698
|
var CompanySearchNamespace = class {
|
|
1674
1699
|
constructor(_core) {
|
|
@@ -1821,24 +1846,24 @@ var CongressNamespace = class {
|
|
|
1821
1846
|
}
|
|
1822
1847
|
};
|
|
1823
1848
|
|
|
1824
|
-
// src/generated/platforms/
|
|
1825
|
-
var
|
|
1849
|
+
// src/generated/platforms/contact_enrichment.ts
|
|
1850
|
+
var ContactEnrichmentNamespace = class {
|
|
1826
1851
|
constructor(_core) {
|
|
1827
1852
|
this._core = _core;
|
|
1828
1853
|
}
|
|
1829
1854
|
_core;
|
|
1830
1855
|
/**
|
|
1831
|
-
*
|
|
1856
|
+
* Contact Enrichment - Crustdata v3
|
|
1832
1857
|
*
|
|
1833
|
-
*
|
|
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.
|
|
1834
1859
|
*
|
|
1835
|
-
* Price: $0.
|
|
1860
|
+
* Price: $0.24 per request.
|
|
1836
1861
|
*
|
|
1837
1862
|
* @example
|
|
1838
|
-
* const res = await client.
|
|
1863
|
+
* const res = await client.contactEnrichment.crustdataV3({ linkedinUrl: "https://www.linkedin.com/in/satyanadella" });
|
|
1839
1864
|
*/
|
|
1840
|
-
|
|
1841
|
-
return this._core.run("
|
|
1865
|
+
crustdataV3(input, options) {
|
|
1866
|
+
return this._core.run("contact_enrichment.crustdata_v3", input, options);
|
|
1842
1867
|
}
|
|
1843
1868
|
};
|
|
1844
1869
|
|
|
@@ -2199,7 +2224,7 @@ var FacebookNamespace = class {
|
|
|
2199
2224
|
* Price: $0.0012 per request.
|
|
2200
2225
|
*
|
|
2201
2226
|
* @example
|
|
2202
|
-
* const res = await client.facebook.adDetails({ id: "
|
|
2227
|
+
* const res = await client.facebook.adDetails({ id: "962050096457659" });
|
|
2203
2228
|
*/
|
|
2204
2229
|
adDetails(input, options) {
|
|
2205
2230
|
return this._core.run("facebook.ad_details", input, options);
|
|
@@ -2212,7 +2237,7 @@ var FacebookNamespace = class {
|
|
|
2212
2237
|
* Price: $0.00462 per request plus $0 per result (maximum $0.00462).
|
|
2213
2238
|
*
|
|
2214
2239
|
* @example
|
|
2215
|
-
* const res = await client.facebook.adDetailsFull({ id: "
|
|
2240
|
+
* const res = await client.facebook.adDetailsFull({ id: "962050096457659" });
|
|
2216
2241
|
*/
|
|
2217
2242
|
adDetailsFull(input, options) {
|
|
2218
2243
|
return this._core.run("facebook.ad_details_full", input, options);
|
|
@@ -2409,7 +2434,7 @@ var FacebookNamespace = class {
|
|
|
2409
2434
|
* Price: $0.0012 per request.
|
|
2410
2435
|
*
|
|
2411
2436
|
* @example
|
|
2412
|
-
* 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/" });
|
|
2413
2438
|
*/
|
|
2414
2439
|
groupPosts(input, options) {
|
|
2415
2440
|
return this._core.run("facebook.group_posts", input, options);
|
|
@@ -3024,7 +3049,7 @@ var GoogleNamespace = class {
|
|
|
3024
3049
|
*
|
|
3025
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.
|
|
3026
3051
|
*
|
|
3027
|
-
* Price: $0.
|
|
3052
|
+
* Price: $0.0007 per request.
|
|
3028
3053
|
*
|
|
3029
3054
|
* @example
|
|
3030
3055
|
* const res = await client.google.aiMode({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -3128,7 +3153,7 @@ var GoogleNamespace = class {
|
|
|
3128
3153
|
*
|
|
3129
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.
|
|
3130
3155
|
*
|
|
3131
|
-
* Price: $0.
|
|
3156
|
+
* Price: $0.0005 per request.
|
|
3132
3157
|
*
|
|
3133
3158
|
* @example
|
|
3134
3159
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -3472,7 +3497,7 @@ var InstagramNamespace = class {
|
|
|
3472
3497
|
/**
|
|
3473
3498
|
* Instagram Followers
|
|
3474
3499
|
*
|
|
3475
|
-
* 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.
|
|
3476
3501
|
*
|
|
3477
3502
|
* Price: $0.0015 per request.
|
|
3478
3503
|
*
|
|
@@ -3501,7 +3526,7 @@ var InstagramNamespace = class {
|
|
|
3501
3526
|
/**
|
|
3502
3527
|
* Instagram Following
|
|
3503
3528
|
*
|
|
3504
|
-
* 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.
|
|
3505
3530
|
*
|
|
3506
3531
|
* Price: $0.0015 per request.
|
|
3507
3532
|
*
|
|
@@ -3726,7 +3751,7 @@ var InstagramNamespace = class {
|
|
|
3726
3751
|
*
|
|
3727
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.
|
|
3728
3753
|
*
|
|
3729
|
-
* Price: $0.
|
|
3754
|
+
* Price: $0.00257 per request plus $0 per result (maximum $0.00257).
|
|
3730
3755
|
*
|
|
3731
3756
|
* @example
|
|
3732
3757
|
* const res = await client.instagram.profileContact({ handle: "eminenceorganics" });
|
|
@@ -3737,7 +3762,7 @@ var InstagramNamespace = class {
|
|
|
3737
3762
|
/**
|
|
3738
3763
|
* Instagram Reel Transcript
|
|
3739
3764
|
*
|
|
3740
|
-
* 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.
|
|
3741
3766
|
*
|
|
3742
3767
|
* Price: $0.0015 per request plus $0.006 per audio minute (maximum $0.095).
|
|
3743
3768
|
*
|
|
@@ -3750,9 +3775,9 @@ var InstagramNamespace = class {
|
|
|
3750
3775
|
/**
|
|
3751
3776
|
* Instagram Reels Search
|
|
3752
3777
|
*
|
|
3753
|
-
* 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.
|
|
3754
3779
|
*
|
|
3755
|
-
* Price: $0.
|
|
3780
|
+
* Price: $0.0015 per request.
|
|
3756
3781
|
*
|
|
3757
3782
|
* @example
|
|
3758
3783
|
* const res = await client.instagram.reelsSearch({ query: "travel" });
|
|
@@ -3760,6 +3785,22 @@ var InstagramNamespace = class {
|
|
|
3760
3785
|
reelsSearch(input, options) {
|
|
3761
3786
|
return this._core.run("instagram.reels_search", input, options);
|
|
3762
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
|
+
}
|
|
3763
3804
|
/**
|
|
3764
3805
|
* Instagram Search
|
|
3765
3806
|
*
|
|
@@ -3776,7 +3817,7 @@ var InstagramNamespace = class {
|
|
|
3776
3817
|
/**
|
|
3777
3818
|
* Instagram Hashtag Search
|
|
3778
3819
|
*
|
|
3779
|
-
* 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.
|
|
3780
3821
|
*
|
|
3781
3822
|
* Price: $0.0012 per request.
|
|
3782
3823
|
*
|
|
@@ -3849,7 +3890,7 @@ var InstagramNamespace = class {
|
|
|
3849
3890
|
*
|
|
3850
3891
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
3851
3892
|
*
|
|
3852
|
-
* Price: $0.
|
|
3893
|
+
* Price: $0.027 per request.
|
|
3853
3894
|
*
|
|
3854
3895
|
* @example
|
|
3855
3896
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -3943,7 +3984,7 @@ var InstagramNamespace = class {
|
|
|
3943
3984
|
*
|
|
3944
3985
|
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
|
|
3945
3986
|
*
|
|
3946
|
-
* Price: $0.
|
|
3987
|
+
* Price: $0.0008 per request.
|
|
3947
3988
|
*
|
|
3948
3989
|
* @example
|
|
3949
3990
|
* const res = await client.instagram.userPosts({ handle: "nasa" });
|
|
@@ -3972,7 +4013,7 @@ var InstagramNamespace = class {
|
|
|
3972
4013
|
*
|
|
3973
4014
|
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
3974
4015
|
*
|
|
3975
|
-
* Price: $0.
|
|
4016
|
+
* Price: $0.0008 per request.
|
|
3976
4017
|
*
|
|
3977
4018
|
* @example
|
|
3978
4019
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -4025,6 +4066,19 @@ var InstagramNamespace = class {
|
|
|
4025
4066
|
options
|
|
4026
4067
|
);
|
|
4027
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
|
+
}
|
|
4028
4082
|
};
|
|
4029
4083
|
|
|
4030
4084
|
// src/generated/platforms/job_search.ts
|
|
@@ -4371,7 +4425,7 @@ var LinkedinNamespace = class {
|
|
|
4371
4425
|
*
|
|
4372
4426
|
* Search public LinkedIn posts by keyword (text, link, publish date).
|
|
4373
4427
|
*
|
|
4374
|
-
* Price: $0.
|
|
4428
|
+
* Price: $0.018 per request.
|
|
4375
4429
|
*
|
|
4376
4430
|
* @example
|
|
4377
4431
|
* const res = await client.linkedin.searchPosts({ query: "hiring", datePosted: "last-week" });
|
|
@@ -4447,6 +4501,22 @@ var LinkedinNamespace = class {
|
|
|
4447
4501
|
searchProfilesThin(input, options) {
|
|
4448
4502
|
return this._core.run("linkedin.search_profiles_thin", input, options);
|
|
4449
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
|
+
}
|
|
4450
4520
|
};
|
|
4451
4521
|
|
|
4452
4522
|
// src/generated/platforms/maps.ts
|
|
@@ -4832,6 +4902,19 @@ var PersonEnrichmentNamespace = class {
|
|
|
4832
4902
|
bettercontact(input, options) {
|
|
4833
4903
|
return this._core.run("person_enrichment.bettercontact", input, options);
|
|
4834
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
|
+
}
|
|
4835
4918
|
/**
|
|
4836
4919
|
* Bulk Person Enrichment - FullEnrich
|
|
4837
4920
|
*
|
|
@@ -4927,7 +5010,7 @@ var PinterestNamespace = class {
|
|
|
4927
5010
|
*
|
|
4928
5011
|
* Search Pinterest by keyword and get pin, video, board, or profile results with titles, images, and links.
|
|
4929
5012
|
*
|
|
4930
|
-
* Price: $0.
|
|
5013
|
+
* Price: $0.0008 per request.
|
|
4931
5014
|
*
|
|
4932
5015
|
* @example
|
|
4933
5016
|
* const res = await client.pinterest.search({ query: "home decor", limit: 3 });
|
|
@@ -4935,6 +5018,22 @@ var PinterestNamespace = class {
|
|
|
4935
5018
|
search(input, options) {
|
|
4936
5019
|
return this._core.run("pinterest.search", input, options);
|
|
4937
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
|
+
}
|
|
4938
5037
|
};
|
|
4939
5038
|
|
|
4940
5039
|
// src/generated/platforms/playstore.ts
|
|
@@ -4979,6 +5078,27 @@ var PolymarketNamespace = class {
|
|
|
4979
5078
|
}
|
|
4980
5079
|
};
|
|
4981
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
|
+
|
|
4982
5102
|
// src/generated/platforms/realtor.ts
|
|
4983
5103
|
var RealtorNamespace = class {
|
|
4984
5104
|
constructor(_core) {
|
|
@@ -5006,6 +5126,19 @@ var RedditNamespace = class {
|
|
|
5006
5126
|
this._core = _core;
|
|
5007
5127
|
}
|
|
5008
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
|
+
}
|
|
5009
5142
|
/**
|
|
5010
5143
|
* Reddit Post
|
|
5011
5144
|
*
|
|
@@ -5024,7 +5157,7 @@ var RedditNamespace = class {
|
|
|
5024
5157
|
*
|
|
5025
5158
|
* List the top-level comments on a Reddit post by URL (author, body, score, timestamp).
|
|
5026
5159
|
*
|
|
5027
|
-
* Price: $0.
|
|
5160
|
+
* Price: $0.0006 per request.
|
|
5028
5161
|
*
|
|
5029
5162
|
* @example
|
|
5030
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/" });
|
|
@@ -5066,7 +5199,7 @@ var RedditNamespace = class {
|
|
|
5066
5199
|
*
|
|
5067
5200
|
* Fetch a Reddit user's public profile (karma split, post and comment counts, bio, avatar, account age) by username.
|
|
5068
5201
|
*
|
|
5069
|
-
* Price: $0.
|
|
5202
|
+
* Price: $0.00225 per request plus $0 per result (maximum $0.00225).
|
|
5070
5203
|
*
|
|
5071
5204
|
* @example
|
|
5072
5205
|
* const res = await client.reddit.profile({ username: "spez" });
|
|
@@ -5079,7 +5212,7 @@ var RedditNamespace = class {
|
|
|
5079
5212
|
*
|
|
5080
5213
|
* Search Reddit posts across all subreddits by query.
|
|
5081
5214
|
*
|
|
5082
|
-
* Price: $0.
|
|
5215
|
+
* Price: $0.00038 per request.
|
|
5083
5216
|
*
|
|
5084
5217
|
* @example
|
|
5085
5218
|
* const res = await client.reddit.search({ query: "mechanical keyboard" });
|
|
@@ -5108,7 +5241,7 @@ var RedditNamespace = class {
|
|
|
5108
5241
|
*
|
|
5109
5242
|
* Fetch a subreddit's metadata (weekly active users, description, and category).
|
|
5110
5243
|
*
|
|
5111
|
-
* Price: $0.
|
|
5244
|
+
* Price: $0.00038 per request.
|
|
5112
5245
|
*
|
|
5113
5246
|
* @example
|
|
5114
5247
|
* const res = await client.reddit.subredditDetails({ subreddit: "programming" });
|
|
@@ -5121,7 +5254,7 @@ var RedditNamespace = class {
|
|
|
5121
5254
|
*
|
|
5122
5255
|
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
5123
5256
|
*
|
|
5124
|
-
* Price: $0.
|
|
5257
|
+
* Price: $0.00038 per request.
|
|
5125
5258
|
*
|
|
5126
5259
|
* @example
|
|
5127
5260
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
|
|
@@ -5150,7 +5283,7 @@ var RedditNamespace = class {
|
|
|
5150
5283
|
*
|
|
5151
5284
|
* Search posts within a single subreddit by query, sort, and timeframe.
|
|
5152
5285
|
*
|
|
5153
|
-
* Price: $0.
|
|
5286
|
+
* Price: $0.00038 per request.
|
|
5154
5287
|
*
|
|
5155
5288
|
* @example
|
|
5156
5289
|
* const res = await client.reddit.subredditSearch({ subreddit: "Fitness", query: "push ups" });
|
|
@@ -5192,7 +5325,7 @@ var RedditNamespace = class {
|
|
|
5192
5325
|
*
|
|
5193
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.
|
|
5194
5327
|
*
|
|
5195
|
-
* Price: $0.
|
|
5328
|
+
* Price: $0.0006 per request.
|
|
5196
5329
|
*
|
|
5197
5330
|
* @example
|
|
5198
5331
|
* const res = await client.reddit.userComments({ username: "spez" });
|
|
@@ -5221,7 +5354,7 @@ var RedditNamespace = class {
|
|
|
5221
5354
|
*
|
|
5222
5355
|
* List a Reddit user's posts by username, sorted by new, top, hot, or controversial, with cursor pagination.
|
|
5223
5356
|
*
|
|
5224
|
-
* Price: $0.
|
|
5357
|
+
* Price: $0.00038 per request.
|
|
5225
5358
|
*
|
|
5226
5359
|
* @example
|
|
5227
5360
|
* const res = await client.reddit.userPosts({ username: "spez" });
|
|
@@ -5450,7 +5583,7 @@ var SemrushNamespace = class {
|
|
|
5450
5583
|
*
|
|
5451
5584
|
* Semrush keyword research for any term: monthly search volume, CPC, competition, keyword difficulty, plus related keywords and question keywords.
|
|
5452
5585
|
*
|
|
5453
|
-
* Price: $0 per request plus $0.
|
|
5586
|
+
* Price: $0 per request plus $0.00495 per result (maximum $0.00495).
|
|
5454
5587
|
*
|
|
5455
5588
|
* @example
|
|
5456
5589
|
* const res = await client.semrush.keywords({ keyword: "best running shoes", database: "us" });
|
|
@@ -5463,7 +5596,7 @@ var SemrushNamespace = class {
|
|
|
5463
5596
|
*
|
|
5464
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.
|
|
5465
5598
|
*
|
|
5466
|
-
* Price: $0 per request plus $0.
|
|
5599
|
+
* Price: $0 per request plus $0.00495 per result (maximum $0.00495).
|
|
5467
5600
|
*
|
|
5468
5601
|
* @example
|
|
5469
5602
|
* const res = await client.semrush.overview({ domain: "ahrefs.com", database: "us" });
|
|
@@ -5973,12 +6106,12 @@ var TiktokNamespace = class {
|
|
|
5973
6106
|
/**
|
|
5974
6107
|
* TikTok Ad Library Search
|
|
5975
6108
|
*
|
|
5976
|
-
* Search TikTok's
|
|
6109
|
+
* Search TikTok's public Ads Library by keyword or advertiser (advertiser, title, audience band, run dates, library link, and video).
|
|
5977
6110
|
*
|
|
5978
|
-
* Price: $0.
|
|
6111
|
+
* Price: $0.0005 per request.
|
|
5979
6112
|
*
|
|
5980
6113
|
* @example
|
|
5981
|
-
* const res = await client.tiktok.adLibrarySearch({ query: "spotify"
|
|
6114
|
+
* const res = await client.tiktok.adLibrarySearch({ query: "spotify" });
|
|
5982
6115
|
*/
|
|
5983
6116
|
adLibrarySearch(input, options) {
|
|
5984
6117
|
return this._core.run("tiktok.ad_library_search", input, options);
|
|
@@ -6046,7 +6179,7 @@ var TiktokNamespace = class {
|
|
|
6046
6179
|
*
|
|
6047
6180
|
* List the replies to a TikTok comment with cursor pagination (text, author, likes).
|
|
6048
6181
|
*
|
|
6049
|
-
* Price: $0.
|
|
6182
|
+
* Price: $0.0009 per request.
|
|
6050
6183
|
*
|
|
6051
6184
|
* @example
|
|
6052
6185
|
* const res = await client.tiktok.commentReplies({ commentId: "7623828115408274207", url: "https://www.tiktok.com/@stoolpresidente/video/7623818255903329566" });
|
|
@@ -6167,12 +6300,41 @@ var TiktokNamespace = class {
|
|
|
6167
6300
|
photos(input, options) {
|
|
6168
6301
|
return this._core.run("tiktok.photos", input, options);
|
|
6169
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
|
+
}
|
|
6170
6332
|
/**
|
|
6171
6333
|
* TikTok Profile
|
|
6172
6334
|
*
|
|
6173
6335
|
* Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
|
|
6174
6336
|
*
|
|
6175
|
-
* Price: $0.
|
|
6337
|
+
* Price: $0.00045 per request.
|
|
6176
6338
|
*
|
|
6177
6339
|
* @example
|
|
6178
6340
|
* const res = await client.tiktok.profile({ handle: "zachking" });
|
|
@@ -6193,6 +6355,35 @@ var TiktokNamespace = class {
|
|
|
6193
6355
|
profileContact(input, options) {
|
|
6194
6356
|
return this._core.run("tiktok.profile_contact", input, options);
|
|
6195
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
|
+
}
|
|
6196
6387
|
/**
|
|
6197
6388
|
* TikTok Profile Region
|
|
6198
6389
|
*
|
|
@@ -6206,12 +6397,41 @@ var TiktokNamespace = class {
|
|
|
6206
6397
|
profileRegion(input, options) {
|
|
6207
6398
|
return this._core.run("tiktok.profile_region", input, options);
|
|
6208
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
|
+
}
|
|
6209
6429
|
/**
|
|
6210
6430
|
* TikTok Profile Videos
|
|
6211
6431
|
*
|
|
6212
6432
|
* List a TikTok creator's recent videos (views, likes, comments) by handle with cursor pagination.
|
|
6213
6433
|
*
|
|
6214
|
-
* Price: $0.
|
|
6434
|
+
* Price: $0.0007 per request.
|
|
6215
6435
|
*
|
|
6216
6436
|
* @example
|
|
6217
6437
|
* const res = await client.tiktok.profileVideos({ handle: "zachking" });
|
|
@@ -6269,7 +6489,7 @@ var TiktokNamespace = class {
|
|
|
6269
6489
|
*
|
|
6270
6490
|
* Search TikTok by keyword and get matching videos (caption, views, likes, comments, shares) as normalized JSON.
|
|
6271
6491
|
*
|
|
6272
|
-
* Price: $0.
|
|
6492
|
+
* Price: $0.0007 per request.
|
|
6273
6493
|
*
|
|
6274
6494
|
* @example
|
|
6275
6495
|
* const res = await client.tiktok.searchKeyword({ query: "cooking", datePosted: 0, sortBy: 0 });
|
|
@@ -6293,12 +6513,54 @@ var TiktokNamespace = class {
|
|
|
6293
6513
|
options
|
|
6294
6514
|
);
|
|
6295
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
|
+
}
|
|
6296
6558
|
/**
|
|
6297
6559
|
* TikTok Top Search
|
|
6298
6560
|
*
|
|
6299
6561
|
* Search TikTok's top results for a keyword (caption, views, likes, comments, shares) with cursor pagination.
|
|
6300
6562
|
*
|
|
6301
|
-
* Price: $0.
|
|
6563
|
+
* Price: $0.0009 per request.
|
|
6302
6564
|
*
|
|
6303
6565
|
* @example
|
|
6304
6566
|
* const res = await client.tiktok.searchTop({ query: "funny" });
|
|
@@ -6327,7 +6589,7 @@ var TiktokNamespace = class {
|
|
|
6327
6589
|
*
|
|
6328
6590
|
* Search TikTok accounts by keyword (handle, nickname, follower count) with cursor pagination.
|
|
6329
6591
|
*
|
|
6330
|
-
* Price: $0.
|
|
6592
|
+
* Price: $0.0007 per request.
|
|
6331
6593
|
*
|
|
6332
6594
|
* @example
|
|
6333
6595
|
* const res = await client.tiktok.searchUsers({ query: "chef" });
|
|
@@ -6356,7 +6618,7 @@ var TiktokNamespace = class {
|
|
|
6356
6618
|
*
|
|
6357
6619
|
* Fetch details for a TikTok song or sound (title, author, duration, cover art, and how many videos use it).
|
|
6358
6620
|
*
|
|
6359
|
-
* Price: $0.
|
|
6621
|
+
* Price: $0.0009 per request.
|
|
6360
6622
|
*
|
|
6361
6623
|
* @example
|
|
6362
6624
|
* const res = await client.tiktok.song({ clipId: "7439295283975702544" });
|
|
@@ -6369,7 +6631,7 @@ var TiktokNamespace = class {
|
|
|
6369
6631
|
*
|
|
6370
6632
|
* List TikTok videos that use a given song or sound (with descriptions, authors, and engagement stats).
|
|
6371
6633
|
*
|
|
6372
|
-
* Price: $0.
|
|
6634
|
+
* Price: $0.0009 per request.
|
|
6373
6635
|
*
|
|
6374
6636
|
* @example
|
|
6375
6637
|
* const res = await client.tiktok.songVideos({ clipId: "7439295283975702544" });
|
|
@@ -6396,7 +6658,7 @@ var TiktokNamespace = class {
|
|
|
6396
6658
|
/**
|
|
6397
6659
|
* TikTok Top Ads Search
|
|
6398
6660
|
*
|
|
6399
|
-
* 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.
|
|
6400
6662
|
*
|
|
6401
6663
|
* Price: $0.0012 per request.
|
|
6402
6664
|
*
|
|
@@ -6411,7 +6673,7 @@ var TiktokNamespace = class {
|
|
|
6411
6673
|
*
|
|
6412
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.
|
|
6413
6675
|
*
|
|
6414
|
-
* Price: $0.
|
|
6676
|
+
* Price: $0.0008 per request.
|
|
6415
6677
|
*
|
|
6416
6678
|
* @example
|
|
6417
6679
|
* const res = await client.tiktok.trendingFeed({ region: "US" });
|
|
@@ -6437,7 +6699,7 @@ var TiktokNamespace = class {
|
|
|
6437
6699
|
*
|
|
6438
6700
|
* Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
|
|
6439
6701
|
*
|
|
6440
|
-
* Price: $0.
|
|
6702
|
+
* Price: $0.00045 per request.
|
|
6441
6703
|
*
|
|
6442
6704
|
* @example
|
|
6443
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" });
|
|
@@ -6450,7 +6712,7 @@ var TiktokNamespace = class {
|
|
|
6450
6712
|
*
|
|
6451
6713
|
* List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count).
|
|
6452
6714
|
*
|
|
6453
|
-
* Price: $0.
|
|
6715
|
+
* Price: $0.0007 per request.
|
|
6454
6716
|
*
|
|
6455
6717
|
* @example
|
|
6456
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" });
|
|
@@ -6479,7 +6741,7 @@ var TiktokNamespace = class {
|
|
|
6479
6741
|
*
|
|
6480
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.
|
|
6481
6743
|
*
|
|
6482
|
-
* Price: $0.
|
|
6744
|
+
* Price: $0.0009 per request.
|
|
6483
6745
|
*
|
|
6484
6746
|
* @example
|
|
6485
6747
|
* const res = await client.tiktok.videoDownload({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287" });
|
|
@@ -6488,9 +6750,9 @@ var TiktokNamespace = class {
|
|
|
6488
6750
|
return this._core.run("tiktok.video_download", input, options);
|
|
6489
6751
|
}
|
|
6490
6752
|
/**
|
|
6491
|
-
* TikTok Video Transcript
|
|
6753
|
+
* TikTok Video Transcript (native captions)
|
|
6492
6754
|
*
|
|
6493
|
-
* 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.
|
|
6494
6756
|
*
|
|
6495
6757
|
* Price: $0.0012 per request.
|
|
6496
6758
|
*
|
|
@@ -6501,11 +6763,11 @@ var TiktokNamespace = class {
|
|
|
6501
6763
|
return this._core.run("tiktok.video_transcript", input, options);
|
|
6502
6764
|
}
|
|
6503
6765
|
/**
|
|
6504
|
-
* TikTok Video Transcript (
|
|
6766
|
+
* TikTok Video Transcript (AnyAPI speech to text)
|
|
6505
6767
|
*
|
|
6506
|
-
* 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.
|
|
6507
6769
|
*
|
|
6508
|
-
* Price: $0.
|
|
6770
|
+
* Price: $0.0015 per request plus $0.006 per audio minute (maximum $0.095).
|
|
6509
6771
|
*
|
|
6510
6772
|
* @example
|
|
6511
6773
|
* const res = await client.tiktok.videoTranscriptFull({ url: "https://www.tiktok.com/@thatdudecancook/video/7649086431641521421" });
|
|
@@ -6534,19 +6796,6 @@ var TiktokShopNamespace = class {
|
|
|
6534
6796
|
categories(input, options) {
|
|
6535
6797
|
return this._core.run("tiktok_shop.categories", input, options);
|
|
6536
6798
|
}
|
|
6537
|
-
/**
|
|
6538
|
-
* TikTok Shop Category Products
|
|
6539
|
-
*
|
|
6540
|
-
* Browse TikTok Shop products inside a category by category id: price, discount, rating, sales count, seller, and product URL per product.
|
|
6541
|
-
*
|
|
6542
|
-
* Price: $0.0012 per request.
|
|
6543
|
-
*
|
|
6544
|
-
* @example
|
|
6545
|
-
* const res = await client.tiktokShop.categoryProducts({ categoryId: "700645", region: "US" });
|
|
6546
|
-
*/
|
|
6547
|
-
categoryProducts(input, options) {
|
|
6548
|
-
return this._core.run("tiktok_shop.category_products", input, options);
|
|
6549
|
-
}
|
|
6550
6799
|
/**
|
|
6551
6800
|
* TikTok Shop Creator
|
|
6552
6801
|
*
|
|
@@ -6730,7 +6979,7 @@ var TrustpilotNamespace = class {
|
|
|
6730
6979
|
*
|
|
6731
6980
|
* Pull Trustpilot reviews for any company by brand name: star ratings, review text, dates, and reviewer details as clean JSON.
|
|
6732
6981
|
*
|
|
6733
|
-
* Price: $0.
|
|
6982
|
+
* Price: $0.0008 per request.
|
|
6734
6983
|
*
|
|
6735
6984
|
* @example
|
|
6736
6985
|
* const res = await client.trustpilot.reviews({ company: "stripe.com", limit: 3 });
|
|
@@ -6767,7 +7016,7 @@ var TruthsocialNamespace = class {
|
|
|
6767
7016
|
* Price: $0.0036 per request.
|
|
6768
7017
|
*
|
|
6769
7018
|
* @example
|
|
6770
|
-
* const res = await client.truthsocial.profile({ handle: "
|
|
7019
|
+
* const res = await client.truthsocial.profile({ handle: "DevinNunes" });
|
|
6771
7020
|
*/
|
|
6772
7021
|
profile(input, options) {
|
|
6773
7022
|
return this._core.run("truthsocial.profile", input, options);
|
|
@@ -6785,6 +7034,22 @@ var TruthsocialNamespace = class {
|
|
|
6785
7034
|
userPosts(input, options) {
|
|
6786
7035
|
return this._core.run("truthsocial.user_posts", input, options);
|
|
6787
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
|
+
}
|
|
6788
7053
|
};
|
|
6789
7054
|
|
|
6790
7055
|
// src/generated/platforms/twitter.ts
|
|
@@ -7008,7 +7273,7 @@ var TwitterNamespace = class {
|
|
|
7008
7273
|
*
|
|
7009
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.
|
|
7010
7275
|
*
|
|
7011
|
-
* Price: $0.
|
|
7276
|
+
* Price: $0.00375 per request.
|
|
7012
7277
|
*
|
|
7013
7278
|
* @example
|
|
7014
7279
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -7711,7 +7976,7 @@ var YoutubeNamespace = class {
|
|
|
7711
7976
|
*
|
|
7712
7977
|
* List the comments on a YouTube video or Short by URL with cursor pagination (text, author, likes, reply count).
|
|
7713
7978
|
*
|
|
7714
|
-
* Price: $0.
|
|
7979
|
+
* Price: $0.0008 per request.
|
|
7715
7980
|
*
|
|
7716
7981
|
* @example
|
|
7717
7982
|
* const res = await client.youtube.videoComments({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -7753,7 +8018,7 @@ var YoutubeNamespace = class {
|
|
|
7753
8018
|
*
|
|
7754
8019
|
* Fetch the transcript/captions of a YouTube video or Short by URL or ID.
|
|
7755
8020
|
*
|
|
7756
|
-
* Price: $0.
|
|
8021
|
+
* Price: $0.011 per request.
|
|
7757
8022
|
*
|
|
7758
8023
|
* @example
|
|
7759
8024
|
* const res = await client.youtube.videoTranscript({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -7991,6 +8256,12 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
7991
8256
|
get companyEnrichment() {
|
|
7992
8257
|
return this._namespaces["companyEnrichment"] ??= new CompanyEnrichmentNamespace(this._core);
|
|
7993
8258
|
}
|
|
8259
|
+
/**
|
|
8260
|
+
* Typed methods for the company_identify platform.
|
|
8261
|
+
*/
|
|
8262
|
+
get companyIdentify() {
|
|
8263
|
+
return this._namespaces["companyIdentify"] ??= new CompanyIdentifyNamespace(this._core);
|
|
8264
|
+
}
|
|
7994
8265
|
/**
|
|
7995
8266
|
* Typed methods for the company_search platform.
|
|
7996
8267
|
*/
|
|
@@ -8008,12 +8279,10 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
8008
8279
|
);
|
|
8009
8280
|
}
|
|
8010
8281
|
/**
|
|
8011
|
-
* Typed methods for the
|
|
8282
|
+
* Typed methods for the contact_enrichment platform.
|
|
8012
8283
|
*/
|
|
8013
|
-
get
|
|
8014
|
-
return this._namespaces["
|
|
8015
|
-
this._core
|
|
8016
|
-
);
|
|
8284
|
+
get contactEnrichment() {
|
|
8285
|
+
return this._namespaces["contactEnrichment"] ??= new ContactEnrichmentNamespace(this._core);
|
|
8017
8286
|
}
|
|
8018
8287
|
/**
|
|
8019
8288
|
* Typed methods for the douyin platform.
|
|
@@ -8259,6 +8528,12 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
8259
8528
|
this._core
|
|
8260
8529
|
);
|
|
8261
8530
|
}
|
|
8531
|
+
/**
|
|
8532
|
+
* Typed methods for the property_records platform.
|
|
8533
|
+
*/
|
|
8534
|
+
get propertyRecords() {
|
|
8535
|
+
return this._namespaces["propertyRecords"] ??= new PropertyRecordsNamespace(this._core);
|
|
8536
|
+
}
|
|
8262
8537
|
/**
|
|
8263
8538
|
* Typed methods for the realtor platform.
|
|
8264
8539
|
*/
|
|
@@ -8502,11 +8777,12 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
8502
8777
|
ChatgptNamespace,
|
|
8503
8778
|
CoinmarketcapNamespace,
|
|
8504
8779
|
CompanyEnrichmentNamespace,
|
|
8780
|
+
CompanyIdentifyNamespace,
|
|
8505
8781
|
CompanyNamespace,
|
|
8506
8782
|
CompanySearchNamespace,
|
|
8507
8783
|
CongressNamespace,
|
|
8508
8784
|
ConnectionError,
|
|
8509
|
-
|
|
8785
|
+
ContactEnrichmentNamespace,
|
|
8510
8786
|
DouyinNamespace,
|
|
8511
8787
|
EbayNamespace,
|
|
8512
8788
|
EmailFindingNamespace,
|
|
@@ -8530,6 +8806,7 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
8530
8806
|
LinkedinNamespace,
|
|
8531
8807
|
MapsNamespace,
|
|
8532
8808
|
MobilePhoneNamespace,
|
|
8809
|
+
NOT_FOUND_REASONS,
|
|
8533
8810
|
NaverNamespace,
|
|
8534
8811
|
NextdoorNamespace,
|
|
8535
8812
|
NotFoundError,
|
|
@@ -8540,6 +8817,7 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
8540
8817
|
PinterestNamespace,
|
|
8541
8818
|
PlaystoreNamespace,
|
|
8542
8819
|
PolymarketNamespace,
|
|
8820
|
+
PropertyRecordsNamespace,
|
|
8543
8821
|
RateLimitedError,
|
|
8544
8822
|
RealtorNamespace,
|
|
8545
8823
|
RedditNamespace,
|