@getanyapi/sdk 0.90.9 → 0.90.11
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 +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3281,7 +3281,7 @@ var GoogleNamespace = class {
|
|
|
3281
3281
|
*
|
|
3282
3282
|
* 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. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
|
|
3283
3283
|
*
|
|
3284
|
-
* Price: $0.
|
|
3284
|
+
* Price: $0.0004 per request.
|
|
3285
3285
|
*
|
|
3286
3286
|
* @example
|
|
3287
3287
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -3845,7 +3845,7 @@ var InstagramNamespace = class {
|
|
|
3845
3845
|
*
|
|
3846
3846
|
* Fetch a single Instagram post or reel by URL (media URLs, like count, owner, type) as normalized JSON. Turn on hostVideo to also get the post's video on a hosted MP4 link that plays without an Instagram session, charged as an extra on top of the price. If you want the spoken words as well, instagram.reel_transcript transcribes the same reel.
|
|
3847
3847
|
*
|
|
3848
|
-
* Price: $0.
|
|
3848
|
+
* Price: $0.0008 per request.
|
|
3849
3849
|
*
|
|
3850
3850
|
* @example
|
|
3851
3851
|
* const res = await client.instagram.post({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -4107,7 +4107,7 @@ var InstagramNamespace = class {
|
|
|
4107
4107
|
*
|
|
4108
4108
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
4109
4109
|
*
|
|
4110
|
-
* Price: $0.
|
|
4110
|
+
* Price: $0.0024 per request.
|
|
4111
4111
|
*
|
|
4112
4112
|
* @example
|
|
4113
4113
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -4684,7 +4684,7 @@ var LinkedinNamespace = class {
|
|
|
4684
4684
|
*
|
|
4685
4685
|
* Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
|
|
4686
4686
|
*
|
|
4687
|
-
* Price: $0.
|
|
4687
|
+
* Price: $0.004 per request.
|
|
4688
4688
|
*
|
|
4689
4689
|
* @example
|
|
4690
4690
|
* const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
|
|
@@ -7143,7 +7143,7 @@ var TiktokNamespace = class {
|
|
|
7143
7143
|
*
|
|
7144
7144
|
* 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.
|
|
7145
7145
|
*
|
|
7146
|
-
* Price: $0.
|
|
7146
|
+
* Price: $0.0008 per request.
|
|
7147
7147
|
*
|
|
7148
7148
|
* @example
|
|
7149
7149
|
* const res = await client.tiktok.trendingFeed({ region: "US" });
|
|
@@ -7717,7 +7717,7 @@ var TwitterNamespace = class {
|
|
|
7717
7717
|
*
|
|
7718
7718
|
* Search X (Twitter) accounts by keyword - the People tab of X search. Matches handles, display names, and profile bios, and returns normalized profile records with follower, following, and post counts plus cursor pagination. Use twitter.search for posts.
|
|
7719
7719
|
*
|
|
7720
|
-
* Price: $0.
|
|
7720
|
+
* Price: $0.00075 per request.
|
|
7721
7721
|
*
|
|
7722
7722
|
* @example
|
|
7723
7723
|
* const res = await client.twitter.searchUsers({ query: "ai agents" });
|
|
@@ -8470,7 +8470,7 @@ var YoutubeNamespace = class {
|
|
|
8470
8470
|
*
|
|
8471
8471
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
8472
8472
|
*
|
|
8473
|
-
* Price: $0.
|
|
8473
|
+
* Price: $0.0012 per request.
|
|
8474
8474
|
*
|
|
8475
8475
|
* @example
|
|
8476
8476
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|