@getanyapi/sdk 0.63.0 → 0.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +57 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +416 -213
- package/dist/index.d.ts +416 -213
- package/dist/index.js +57 -31
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2822,7 +2822,7 @@ var FacebookNamespace = class {
|
|
|
2822
2822
|
*
|
|
2823
2823
|
* Search public Facebook posts by keyword, optionally filtered by location, and get structured post records (text, author, engagement).
|
|
2824
2824
|
*
|
|
2825
|
-
* Price: $0 per request plus $0.
|
|
2825
|
+
* Price: $0.00006 per request plus $0.0033 per result (maximum $0.0661).
|
|
2826
2826
|
*
|
|
2827
2827
|
* @example
|
|
2828
2828
|
* const res = await client.facebook.searchPosts({ query: "nike", limit: 3 });
|
|
@@ -3511,7 +3511,7 @@ var InstagramNamespace = class {
|
|
|
3511
3511
|
*
|
|
3512
3512
|
* List Instagram reels that use a given audio track by audio id.
|
|
3513
3513
|
*
|
|
3514
|
-
* Price: $0.
|
|
3514
|
+
* Price: $0.0011 per request.
|
|
3515
3515
|
*
|
|
3516
3516
|
* @example
|
|
3517
3517
|
* const res = await client.instagram.audioReels({ audioId: "1392969992841787" });
|
|
@@ -3553,7 +3553,7 @@ var InstagramNamespace = class {
|
|
|
3553
3553
|
*
|
|
3554
3554
|
* List the replies to an Instagram comment with cursor pagination (text, author, likes).
|
|
3555
3555
|
*
|
|
3556
|
-
* Price: $0.
|
|
3556
|
+
* Price: $0.0011 per request.
|
|
3557
3557
|
*
|
|
3558
3558
|
* @example
|
|
3559
3559
|
* const res = await client.instagram.commentReplies({ commentId: "18126632131325044", url: "https://www.instagram.com/p/C8rKmYvsrck/" });
|
|
@@ -3695,7 +3695,7 @@ var InstagramNamespace = class {
|
|
|
3695
3695
|
*
|
|
3696
3696
|
* Instagram's own top-ranked posts for a hashtag, read from its live hashtag feed rather than a web search index, with view, like, and comment counts. Reels-heavy and engagement-ranked, so it answers what is performing on a tag right now. For older relevance-ranked results with date and media-type filters use instagram.search_hashtag; for the chronological feed use instagram.hashtag_recent_posts.
|
|
3697
3697
|
*
|
|
3698
|
-
* Price: $0.
|
|
3698
|
+
* Price: $0.0011 per request.
|
|
3699
3699
|
*
|
|
3700
3700
|
* @example
|
|
3701
3701
|
* const res = await client.instagram.hashtagTopPosts({ hashtag: "skincare" });
|
|
@@ -3847,7 +3847,7 @@ var InstagramNamespace = class {
|
|
|
3847
3847
|
*
|
|
3848
3848
|
* 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.
|
|
3849
3849
|
*
|
|
3850
|
-
* Price: $0.
|
|
3850
|
+
* Price: $0.00175 per request.
|
|
3851
3851
|
*
|
|
3852
3852
|
* @example
|
|
3853
3853
|
* const res = await client.instagram.profileContact({ handle: "eminenceorganics" });
|
|
@@ -3873,7 +3873,7 @@ var InstagramNamespace = class {
|
|
|
3873
3873
|
*
|
|
3874
3874
|
* 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.
|
|
3875
3875
|
*
|
|
3876
|
-
* Price: $0.
|
|
3876
|
+
* Price: $0.0011 per request.
|
|
3877
3877
|
*
|
|
3878
3878
|
* @example
|
|
3879
3879
|
* const res = await client.instagram.reelsSearch({ query: "travel" });
|
|
@@ -3910,6 +3910,32 @@ var InstagramNamespace = class {
|
|
|
3910
3910
|
search(input, options) {
|
|
3911
3911
|
return this._core.run("instagram.search", input, options);
|
|
3912
3912
|
}
|
|
3913
|
+
/**
|
|
3914
|
+
* Instagram Search Followers
|
|
3915
|
+
*
|
|
3916
|
+
* Search the followers of a public Instagram account by name or username, using Instagram's own follower search. On smaller accounts it searches the whole follower list and returns close matches ranked by Instagram. On large accounts Instagram does not support searching followers, so the result is the account's most recent followers instead, whatever the query. Returns usernames, names, and profile details.
|
|
3917
|
+
*
|
|
3918
|
+
* Price: $0.0022 per request.
|
|
3919
|
+
*
|
|
3920
|
+
* @example
|
|
3921
|
+
* const res = await client.instagram.searchFollowers({ query: "john", username: "milada2788" });
|
|
3922
|
+
*/
|
|
3923
|
+
searchFollowers(input, options) {
|
|
3924
|
+
return this._core.run("instagram.search_followers", input, options);
|
|
3925
|
+
}
|
|
3926
|
+
/**
|
|
3927
|
+
* Instagram Search Following
|
|
3928
|
+
*
|
|
3929
|
+
* Search the accounts a public Instagram user follows by name or username. Matching is Instagram's own loose search, so results are close matches ranked by Instagram and some may not contain your exact word. Returns usernames, names, and profile details.
|
|
3930
|
+
*
|
|
3931
|
+
* Price: $0.0022 per request.
|
|
3932
|
+
*
|
|
3933
|
+
* @example
|
|
3934
|
+
* const res = await client.instagram.searchFollowing({ query: "skin", username: "moogooskincare" });
|
|
3935
|
+
*/
|
|
3936
|
+
searchFollowing(input, options) {
|
|
3937
|
+
return this._core.run("instagram.search_following", input, options);
|
|
3938
|
+
}
|
|
3913
3939
|
/**
|
|
3914
3940
|
* Instagram Hashtag Search
|
|
3915
3941
|
*
|
|
@@ -3944,7 +3970,7 @@ var InstagramNamespace = class {
|
|
|
3944
3970
|
*
|
|
3945
3971
|
* Search Instagram locations by keyword and return each place's id, name, address and coordinates.
|
|
3946
3972
|
*
|
|
3947
|
-
* Price: $0.
|
|
3973
|
+
* Price: $0.0011 per request.
|
|
3948
3974
|
*
|
|
3949
3975
|
* @example
|
|
3950
3976
|
* const res = await client.instagram.searchLocations({ query: "Eiffel Tower" });
|
|
@@ -4028,7 +4054,7 @@ var InstagramNamespace = class {
|
|
|
4028
4054
|
*
|
|
4029
4055
|
* Fetch a public Instagram account's currently live stories with media, type, dimensions, posting time, and 24-hour expiry by username.
|
|
4030
4056
|
*
|
|
4031
|
-
* Price: $0.
|
|
4057
|
+
* Price: $0.0022 per request.
|
|
4032
4058
|
*
|
|
4033
4059
|
* @example
|
|
4034
4060
|
* const res = await client.instagram.storiesFull({ username: "natgeo" });
|
|
@@ -4167,7 +4193,7 @@ var InstagramNamespace = class {
|
|
|
4167
4193
|
*
|
|
4168
4194
|
* List the posts a public Instagram account has reposted to its feed, with cursor pagination.
|
|
4169
4195
|
*
|
|
4170
|
-
* Price: $0.
|
|
4196
|
+
* Price: $0.0011 per request.
|
|
4171
4197
|
*
|
|
4172
4198
|
* @example
|
|
4173
4199
|
* const res = await client.instagram.userReposts({ userId: "787132" });
|
|
@@ -4524,7 +4550,7 @@ var LinkedinNamespace = class {
|
|
|
4524
4550
|
*
|
|
4525
4551
|
* Lightweight profile: name, avatar, location, followers, and a basic experience/education list (company + dates only, no job titles, descriptions, or skills; past companies may be redacted). For full experience detail, skills, certifications, connections, and verified flags use linkedin.profile.
|
|
4526
4552
|
*
|
|
4527
|
-
* Price: $0.
|
|
4553
|
+
* Price: $0.0012 per request.
|
|
4528
4554
|
*
|
|
4529
4555
|
* @example
|
|
4530
4556
|
* const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
|
|
@@ -5524,12 +5550,25 @@ var RedfinNamespace = class {
|
|
|
5524
5550
|
this._core = _core;
|
|
5525
5551
|
}
|
|
5526
5552
|
_core;
|
|
5553
|
+
/**
|
|
5554
|
+
* Redfin Property
|
|
5555
|
+
*
|
|
5556
|
+
* Fetch full details for a single Redfin home by its listing URL (price, beds, baths, square feet, address, listing agent, description and photos) as normalized JSON.
|
|
5557
|
+
*
|
|
5558
|
+
* Price: $0.0005 per request.
|
|
5559
|
+
*
|
|
5560
|
+
* @example
|
|
5561
|
+
* const res = await client.redfin.property({ url: "https://www.redfin.com/TX/Austin/1819-Village-Oak-Ct-78704/home/30981993" });
|
|
5562
|
+
*/
|
|
5563
|
+
property(input, options) {
|
|
5564
|
+
return this._core.run("redfin.property", input, options);
|
|
5565
|
+
}
|
|
5527
5566
|
/**
|
|
5528
5567
|
* Redfin Search
|
|
5529
5568
|
*
|
|
5530
5569
|
* Run a Redfin map search by URL and get matching home listings (price, address, beds, baths, status) as normalized JSON.
|
|
5531
5570
|
*
|
|
5532
|
-
* Price: $0.
|
|
5571
|
+
* Price: $0.0008 per request.
|
|
5533
5572
|
*
|
|
5534
5573
|
* @example
|
|
5535
5574
|
* const res = await client.redfin.search({ url: "https://www.redfin.com/city/30818/TX/Austin", limit: 3 });
|
|
@@ -6523,7 +6562,7 @@ var TiktokNamespace = class {
|
|
|
6523
6562
|
*
|
|
6524
6563
|
* List the followers of a TikTok account by username, returning each follower's profile basics.
|
|
6525
6564
|
*
|
|
6526
|
-
* Price: $0.
|
|
6565
|
+
* Price: $0.00095 per request.
|
|
6527
6566
|
*
|
|
6528
6567
|
* @example
|
|
6529
6568
|
* const res = await client.tiktok.followers({ handle: "stoolpresidente" });
|
|
@@ -6552,7 +6591,7 @@ var TiktokNamespace = class {
|
|
|
6552
6591
|
*
|
|
6553
6592
|
* List the accounts a TikTok user follows (handle, display name, follower count, bio) by username.
|
|
6554
6593
|
*
|
|
6555
|
-
* Price: $0.
|
|
6594
|
+
* Price: $0.00095 per request.
|
|
6556
6595
|
*
|
|
6557
6596
|
* @example
|
|
6558
6597
|
* const res = await client.tiktok.following({ handle: "stoolpresidente" });
|
|
@@ -6862,7 +6901,7 @@ var TiktokNamespace = class {
|
|
|
6862
6901
|
*
|
|
6863
6902
|
* 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.
|
|
6864
6903
|
*
|
|
6865
|
-
* Price: $0.
|
|
6904
|
+
* Price: $0.00095 per request.
|
|
6866
6905
|
*
|
|
6867
6906
|
* @example
|
|
6868
6907
|
* const res = await client.tiktok.searchSuggestions({ query: "protein powder" });
|
|
@@ -7129,7 +7168,7 @@ var TiktokShopNamespace = class {
|
|
|
7129
7168
|
*
|
|
7130
7169
|
* Fetch TikTok Shop product details (title, price, sales, seller, and ratings) from a product URL.
|
|
7131
7170
|
*
|
|
7132
|
-
* Price: $0.
|
|
7171
|
+
* Price: $0.00095 per request.
|
|
7133
7172
|
*
|
|
7134
7173
|
* @example
|
|
7135
7174
|
* const res = await client.tiktokShop.product({ url: "https://www.tiktok.com/shop/pdp/goli-ashwagandha-gummies-with-vitamin-d-ksm-66-vegan-non-gmo/1729587769570529799" });
|
|
@@ -7137,25 +7176,12 @@ var TiktokShopNamespace = class {
|
|
|
7137
7176
|
product(input, options) {
|
|
7138
7177
|
return this._core.run("tiktok_shop.product", input, options);
|
|
7139
7178
|
}
|
|
7140
|
-
/**
|
|
7141
|
-
* TikTok Shop Product Full
|
|
7142
|
-
*
|
|
7143
|
-
* Deep TikTok Shop product record from a product URL: affiliate commission rate, units sold and GMV over the last 30 days and lifetime, stock, rating, review count, category tree, listing date, and the seller's own sales totals.
|
|
7144
|
-
*
|
|
7145
|
-
* Price: $0.022 per request plus $0 per result (maximum $0.022).
|
|
7146
|
-
*
|
|
7147
|
-
* @example
|
|
7148
|
-
* const res = await client.tiktokShop.productFull({ url: "https://www.tiktok.com/shop/pdp/1729527313880355335" });
|
|
7149
|
-
*/
|
|
7150
|
-
productFull(input, options) {
|
|
7151
|
-
return this._core.run("tiktok_shop.product_full", input, options);
|
|
7152
|
-
}
|
|
7153
7179
|
/**
|
|
7154
7180
|
* TikTok Shop Product Reviews
|
|
7155
7181
|
*
|
|
7156
7182
|
* Fetch customer reviews for a TikTok Shop product by URL (rating, text, reviewer, country, and verified-purchase flag).
|
|
7157
7183
|
*
|
|
7158
|
-
* Price: $0.
|
|
7184
|
+
* Price: $0.00095 per request.
|
|
7159
7185
|
*
|
|
7160
7186
|
* @example
|
|
7161
7187
|
* const res = await client.tiktokShop.productReviews({ url: "https://www.tiktok.com/shop/pdp/cat-nail-clipper-by-potaroma-adjustable-sizes-built-in-file-safe-for-kittens-cats/1731578642912612516" });
|
|
@@ -7168,7 +7194,7 @@ var TiktokShopNamespace = class {
|
|
|
7168
7194
|
*
|
|
7169
7195
|
* Search TikTok Shop products by keyword across 15 countries: price, sales, rating, and seller info per product, in one normalized response.
|
|
7170
7196
|
*
|
|
7171
|
-
* Price: $0.
|
|
7197
|
+
* Price: $0.00095 per request.
|
|
7172
7198
|
*
|
|
7173
7199
|
* @example
|
|
7174
7200
|
* const res = await client.tiktokShop.search({ query: "phone case", limit: 3 });
|
|
@@ -7181,7 +7207,7 @@ var TiktokShopNamespace = class {
|
|
|
7181
7207
|
*
|
|
7182
7208
|
* Get TikTok Shop search autocomplete terms for a keyword: the long-tail queries shoppers actually type, for keyword and demand research.
|
|
7183
7209
|
*
|
|
7184
|
-
* Price: $0.
|
|
7210
|
+
* Price: $0.00095 per request.
|
|
7185
7211
|
*
|
|
7186
7212
|
* @example
|
|
7187
7213
|
* const res = await client.tiktokShop.searchSuggestions({ query: "ashwagandha gummies", country: "US" });
|