@getanyapi/sdk 0.63.0 → 0.65.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 +59 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +422 -215
- package/dist/index.d.ts +422 -215
- package/dist/index.js +59 -33
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2703,7 +2703,7 @@ var FacebookNamespace = class {
|
|
|
2703
2703
|
*
|
|
2704
2704
|
* Search public Facebook posts by keyword, optionally filtered by location, and get structured post records (text, author, engagement).
|
|
2705
2705
|
*
|
|
2706
|
-
* Price: $0 per request plus $0.
|
|
2706
|
+
* Price: $0.00006 per request plus $0.0033 per result (maximum $0.0661).
|
|
2707
2707
|
*
|
|
2708
2708
|
* @example
|
|
2709
2709
|
* const res = await client.facebook.searchPosts({ query: "nike", limit: 3 });
|
|
@@ -3392,7 +3392,7 @@ var InstagramNamespace = class {
|
|
|
3392
3392
|
*
|
|
3393
3393
|
* List Instagram reels that use a given audio track by audio id.
|
|
3394
3394
|
*
|
|
3395
|
-
* Price: $0.
|
|
3395
|
+
* Price: $0.0011 per request.
|
|
3396
3396
|
*
|
|
3397
3397
|
* @example
|
|
3398
3398
|
* const res = await client.instagram.audioReels({ audioId: "1392969992841787" });
|
|
@@ -3434,7 +3434,7 @@ var InstagramNamespace = class {
|
|
|
3434
3434
|
*
|
|
3435
3435
|
* List the replies to an Instagram comment with cursor pagination (text, author, likes).
|
|
3436
3436
|
*
|
|
3437
|
-
* Price: $0.
|
|
3437
|
+
* Price: $0.0011 per request.
|
|
3438
3438
|
*
|
|
3439
3439
|
* @example
|
|
3440
3440
|
* const res = await client.instagram.commentReplies({ commentId: "18126632131325044", url: "https://www.instagram.com/p/C8rKmYvsrck/" });
|
|
@@ -3576,7 +3576,7 @@ var InstagramNamespace = class {
|
|
|
3576
3576
|
*
|
|
3577
3577
|
* 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.
|
|
3578
3578
|
*
|
|
3579
|
-
* Price: $0.
|
|
3579
|
+
* Price: $0.0011 per request.
|
|
3580
3580
|
*
|
|
3581
3581
|
* @example
|
|
3582
3582
|
* const res = await client.instagram.hashtagTopPosts({ hashtag: "skincare" });
|
|
@@ -3728,7 +3728,7 @@ var InstagramNamespace = class {
|
|
|
3728
3728
|
*
|
|
3729
3729
|
* 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
3730
|
*
|
|
3731
|
-
* Price: $0.
|
|
3731
|
+
* Price: $0.00175 per request.
|
|
3732
3732
|
*
|
|
3733
3733
|
* @example
|
|
3734
3734
|
* const res = await client.instagram.profileContact({ handle: "eminenceorganics" });
|
|
@@ -3754,7 +3754,7 @@ var InstagramNamespace = class {
|
|
|
3754
3754
|
*
|
|
3755
3755
|
* 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
3756
|
*
|
|
3757
|
-
* Price: $0.
|
|
3757
|
+
* Price: $0.0011 per request.
|
|
3758
3758
|
*
|
|
3759
3759
|
* @example
|
|
3760
3760
|
* const res = await client.instagram.reelsSearch({ query: "travel" });
|
|
@@ -3791,6 +3791,32 @@ var InstagramNamespace = class {
|
|
|
3791
3791
|
search(input, options) {
|
|
3792
3792
|
return this._core.run("instagram.search", input, options);
|
|
3793
3793
|
}
|
|
3794
|
+
/**
|
|
3795
|
+
* Instagram Search Followers
|
|
3796
|
+
*
|
|
3797
|
+
* 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.
|
|
3798
|
+
*
|
|
3799
|
+
* Price: $0.0022 per request.
|
|
3800
|
+
*
|
|
3801
|
+
* @example
|
|
3802
|
+
* const res = await client.instagram.searchFollowers({ query: "john", username: "milada2788" });
|
|
3803
|
+
*/
|
|
3804
|
+
searchFollowers(input, options) {
|
|
3805
|
+
return this._core.run("instagram.search_followers", input, options);
|
|
3806
|
+
}
|
|
3807
|
+
/**
|
|
3808
|
+
* Instagram Search Following
|
|
3809
|
+
*
|
|
3810
|
+
* 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.
|
|
3811
|
+
*
|
|
3812
|
+
* Price: $0.0022 per request.
|
|
3813
|
+
*
|
|
3814
|
+
* @example
|
|
3815
|
+
* const res = await client.instagram.searchFollowing({ query: "skin", username: "moogooskincare" });
|
|
3816
|
+
*/
|
|
3817
|
+
searchFollowing(input, options) {
|
|
3818
|
+
return this._core.run("instagram.search_following", input, options);
|
|
3819
|
+
}
|
|
3794
3820
|
/**
|
|
3795
3821
|
* Instagram Hashtag Search
|
|
3796
3822
|
*
|
|
@@ -3825,7 +3851,7 @@ var InstagramNamespace = class {
|
|
|
3825
3851
|
*
|
|
3826
3852
|
* Search Instagram locations by keyword and return each place's id, name, address and coordinates.
|
|
3827
3853
|
*
|
|
3828
|
-
* Price: $0.
|
|
3854
|
+
* Price: $0.0011 per request.
|
|
3829
3855
|
*
|
|
3830
3856
|
* @example
|
|
3831
3857
|
* const res = await client.instagram.searchLocations({ query: "Eiffel Tower" });
|
|
@@ -3909,7 +3935,7 @@ var InstagramNamespace = class {
|
|
|
3909
3935
|
*
|
|
3910
3936
|
* Fetch a public Instagram account's currently live stories with media, type, dimensions, posting time, and 24-hour expiry by username.
|
|
3911
3937
|
*
|
|
3912
|
-
* Price: $0.
|
|
3938
|
+
* Price: $0.0022 per request.
|
|
3913
3939
|
*
|
|
3914
3940
|
* @example
|
|
3915
3941
|
* const res = await client.instagram.storiesFull({ username: "natgeo" });
|
|
@@ -4048,7 +4074,7 @@ var InstagramNamespace = class {
|
|
|
4048
4074
|
*
|
|
4049
4075
|
* List the posts a public Instagram account has reposted to its feed, with cursor pagination.
|
|
4050
4076
|
*
|
|
4051
|
-
* Price: $0.
|
|
4077
|
+
* Price: $0.0011 per request.
|
|
4052
4078
|
*
|
|
4053
4079
|
* @example
|
|
4054
4080
|
* const res = await client.instagram.userReposts({ userId: "787132" });
|
|
@@ -4184,7 +4210,7 @@ var LinkedinNamespace = class {
|
|
|
4184
4210
|
*
|
|
4185
4211
|
* List the employees of a LinkedIn company by name or company URL, with optional job-title filtering.
|
|
4186
4212
|
*
|
|
4187
|
-
* Price: $0
|
|
4213
|
+
* Price: $0 per request plus $0.011 per result (maximum $0.11).
|
|
4188
4214
|
*
|
|
4189
4215
|
* @example
|
|
4190
4216
|
* const res = await client.linkedin.companyEmployees({ company: "stripe", limit: 3 });
|
|
@@ -4405,7 +4431,7 @@ var LinkedinNamespace = class {
|
|
|
4405
4431
|
*
|
|
4406
4432
|
* 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.
|
|
4407
4433
|
*
|
|
4408
|
-
* Price: $0.
|
|
4434
|
+
* Price: $0.0012 per request.
|
|
4409
4435
|
*
|
|
4410
4436
|
* @example
|
|
4411
4437
|
* const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
|
|
@@ -5174,7 +5200,7 @@ var RedditNamespace = class {
|
|
|
5174
5200
|
/**
|
|
5175
5201
|
* Reddit Post Comments
|
|
5176
5202
|
*
|
|
5177
|
-
* List the
|
|
5203
|
+
* List the comments on a Reddit post by URL (author, body, score, timestamp, parent comment). Replies carry the parentId of the comment they answer.
|
|
5178
5204
|
*
|
|
5179
5205
|
* Price: $0.0006 per request.
|
|
5180
5206
|
*
|
|
@@ -5405,12 +5431,25 @@ var RedfinNamespace = class {
|
|
|
5405
5431
|
this._core = _core;
|
|
5406
5432
|
}
|
|
5407
5433
|
_core;
|
|
5434
|
+
/**
|
|
5435
|
+
* Redfin Property
|
|
5436
|
+
*
|
|
5437
|
+
* 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.
|
|
5438
|
+
*
|
|
5439
|
+
* Price: $0.0005 per request.
|
|
5440
|
+
*
|
|
5441
|
+
* @example
|
|
5442
|
+
* const res = await client.redfin.property({ url: "https://www.redfin.com/TX/Austin/1819-Village-Oak-Ct-78704/home/30981993" });
|
|
5443
|
+
*/
|
|
5444
|
+
property(input, options) {
|
|
5445
|
+
return this._core.run("redfin.property", input, options);
|
|
5446
|
+
}
|
|
5408
5447
|
/**
|
|
5409
5448
|
* Redfin Search
|
|
5410
5449
|
*
|
|
5411
5450
|
* Run a Redfin map search by URL and get matching home listings (price, address, beds, baths, status) as normalized JSON.
|
|
5412
5451
|
*
|
|
5413
|
-
* Price: $0.
|
|
5452
|
+
* Price: $0.0008 per request.
|
|
5414
5453
|
*
|
|
5415
5454
|
* @example
|
|
5416
5455
|
* const res = await client.redfin.search({ url: "https://www.redfin.com/city/30818/TX/Austin", limit: 3 });
|
|
@@ -6404,7 +6443,7 @@ var TiktokNamespace = class {
|
|
|
6404
6443
|
*
|
|
6405
6444
|
* List the followers of a TikTok account by username, returning each follower's profile basics.
|
|
6406
6445
|
*
|
|
6407
|
-
* Price: $0.
|
|
6446
|
+
* Price: $0.00095 per request.
|
|
6408
6447
|
*
|
|
6409
6448
|
* @example
|
|
6410
6449
|
* const res = await client.tiktok.followers({ handle: "stoolpresidente" });
|
|
@@ -6433,7 +6472,7 @@ var TiktokNamespace = class {
|
|
|
6433
6472
|
*
|
|
6434
6473
|
* List the accounts a TikTok user follows (handle, display name, follower count, bio) by username.
|
|
6435
6474
|
*
|
|
6436
|
-
* Price: $0.
|
|
6475
|
+
* Price: $0.00095 per request.
|
|
6437
6476
|
*
|
|
6438
6477
|
* @example
|
|
6439
6478
|
* const res = await client.tiktok.following({ handle: "stoolpresidente" });
|
|
@@ -6743,7 +6782,7 @@ var TiktokNamespace = class {
|
|
|
6743
6782
|
*
|
|
6744
6783
|
* 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.
|
|
6745
6784
|
*
|
|
6746
|
-
* Price: $0.
|
|
6785
|
+
* Price: $0.00095 per request.
|
|
6747
6786
|
*
|
|
6748
6787
|
* @example
|
|
6749
6788
|
* const res = await client.tiktok.searchSuggestions({ query: "protein powder" });
|
|
@@ -7010,7 +7049,7 @@ var TiktokShopNamespace = class {
|
|
|
7010
7049
|
*
|
|
7011
7050
|
* Fetch TikTok Shop product details (title, price, sales, seller, and ratings) from a product URL.
|
|
7012
7051
|
*
|
|
7013
|
-
* Price: $0.
|
|
7052
|
+
* Price: $0.00095 per request.
|
|
7014
7053
|
*
|
|
7015
7054
|
* @example
|
|
7016
7055
|
* 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" });
|
|
@@ -7018,25 +7057,12 @@ var TiktokShopNamespace = class {
|
|
|
7018
7057
|
product(input, options) {
|
|
7019
7058
|
return this._core.run("tiktok_shop.product", input, options);
|
|
7020
7059
|
}
|
|
7021
|
-
/**
|
|
7022
|
-
* TikTok Shop Product Full
|
|
7023
|
-
*
|
|
7024
|
-
* 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.
|
|
7025
|
-
*
|
|
7026
|
-
* Price: $0.022 per request plus $0 per result (maximum $0.022).
|
|
7027
|
-
*
|
|
7028
|
-
* @example
|
|
7029
|
-
* const res = await client.tiktokShop.productFull({ url: "https://www.tiktok.com/shop/pdp/1729527313880355335" });
|
|
7030
|
-
*/
|
|
7031
|
-
productFull(input, options) {
|
|
7032
|
-
return this._core.run("tiktok_shop.product_full", input, options);
|
|
7033
|
-
}
|
|
7034
7060
|
/**
|
|
7035
7061
|
* TikTok Shop Product Reviews
|
|
7036
7062
|
*
|
|
7037
7063
|
* Fetch customer reviews for a TikTok Shop product by URL (rating, text, reviewer, country, and verified-purchase flag).
|
|
7038
7064
|
*
|
|
7039
|
-
* Price: $0.
|
|
7065
|
+
* Price: $0.00095 per request.
|
|
7040
7066
|
*
|
|
7041
7067
|
* @example
|
|
7042
7068
|
* 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" });
|
|
@@ -7049,7 +7075,7 @@ var TiktokShopNamespace = class {
|
|
|
7049
7075
|
*
|
|
7050
7076
|
* Search TikTok Shop products by keyword across 15 countries: price, sales, rating, and seller info per product, in one normalized response.
|
|
7051
7077
|
*
|
|
7052
|
-
* Price: $0.
|
|
7078
|
+
* Price: $0.00095 per request.
|
|
7053
7079
|
*
|
|
7054
7080
|
* @example
|
|
7055
7081
|
* const res = await client.tiktokShop.search({ query: "phone case", limit: 3 });
|
|
@@ -7062,7 +7088,7 @@ var TiktokShopNamespace = class {
|
|
|
7062
7088
|
*
|
|
7063
7089
|
* Get TikTok Shop search autocomplete terms for a keyword: the long-tail queries shoppers actually type, for keyword and demand research.
|
|
7064
7090
|
*
|
|
7065
|
-
* Price: $0.
|
|
7091
|
+
* Price: $0.00095 per request.
|
|
7066
7092
|
*
|
|
7067
7093
|
* @example
|
|
7068
7094
|
* const res = await client.tiktokShop.searchSuggestions({ query: "ashwagandha gummies", country: "US" });
|