@getanyapi/sdk 0.158.9 → 0.158.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 +20 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -20
- package/dist/index.d.ts +20 -20
- package/dist/index.js +20 -20
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1416,7 +1416,7 @@ var AmazonNamespace = class {
|
|
|
1416
1416
|
*
|
|
1417
1417
|
* Pull customer reviews for any Amazon product by ASIN or URL: rating, title, text, date, and verified-purchase badge.
|
|
1418
1418
|
*
|
|
1419
|
-
* Price: $0.
|
|
1419
|
+
* Price: $0.016 per request.
|
|
1420
1420
|
*
|
|
1421
1421
|
* @example
|
|
1422
1422
|
* const res = await client.amazon.reviews({ product: "B07PXGQC1Q", limit: 3 });
|
|
@@ -1429,7 +1429,7 @@ var AmazonNamespace = class {
|
|
|
1429
1429
|
*
|
|
1430
1430
|
* Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
|
|
1431
1431
|
*
|
|
1432
|
-
* Price: $0.
|
|
1432
|
+
* Price: $0.0013 per request.
|
|
1433
1433
|
*
|
|
1434
1434
|
* @example
|
|
1435
1435
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
|
|
@@ -2785,7 +2785,7 @@ var FacebookNamespace = class {
|
|
|
2785
2785
|
*
|
|
2786
2786
|
* Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON.
|
|
2787
2787
|
*
|
|
2788
|
-
* Price: $0.
|
|
2788
|
+
* Price: $0.0004 per request.
|
|
2789
2789
|
*
|
|
2790
2790
|
* @example
|
|
2791
2791
|
* const res = await client.facebook.eventDetails({ id: "4045709448982422" });
|
|
@@ -2869,7 +2869,7 @@ var FacebookNamespace = class {
|
|
|
2869
2869
|
*
|
|
2870
2870
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
2871
2871
|
*
|
|
2872
|
-
* Price: $0.
|
|
2872
|
+
* Price: $0.00072 per request.
|
|
2873
2873
|
*
|
|
2874
2874
|
* @example
|
|
2875
2875
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -3623,7 +3623,7 @@ var GoogleNamespace = class {
|
|
|
3623
3623
|
*
|
|
3624
3624
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
3625
3625
|
*
|
|
3626
|
-
* Price: $0.
|
|
3626
|
+
* Price: $0.0018 per request.
|
|
3627
3627
|
*
|
|
3628
3628
|
* @example
|
|
3629
3629
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -4482,7 +4482,7 @@ var InstagramNamespace = class {
|
|
|
4482
4482
|
*
|
|
4483
4483
|
* 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.
|
|
4484
4484
|
*
|
|
4485
|
-
* Price: $0.
|
|
4485
|
+
* Price: $0.0004 per request.
|
|
4486
4486
|
*
|
|
4487
4487
|
* @example
|
|
4488
4488
|
* const res = await client.instagram.post({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -4550,7 +4550,7 @@ var InstagramNamespace = class {
|
|
|
4550
4550
|
*
|
|
4551
4551
|
* 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.
|
|
4552
4552
|
*
|
|
4553
|
-
* Price: $0.
|
|
4553
|
+
* Price: $0.0004 per request.
|
|
4554
4554
|
*
|
|
4555
4555
|
* @example
|
|
4556
4556
|
* const res = await client.instagram.profileContact({ handle: "eminenceorganics" });
|
|
@@ -5202,7 +5202,7 @@ var LinkedinNamespace = class {
|
|
|
5202
5202
|
*
|
|
5203
5203
|
* Basic company: name, description, employee count, industry, logo, website, tagline. No follower count, founded year, office locations, or funding data - for those use linkedin.company.
|
|
5204
5204
|
*
|
|
5205
|
-
* Price: $0.
|
|
5205
|
+
* Price: $0.0008 per request.
|
|
5206
5206
|
*
|
|
5207
5207
|
* @example
|
|
5208
5208
|
* const res = await client.linkedin.companyThin({ url: "https://www.linkedin.com/company/stripe" });
|
|
@@ -5296,7 +5296,7 @@ var LinkedinNamespace = class {
|
|
|
5296
5296
|
*
|
|
5297
5297
|
* Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
|
|
5298
5298
|
*
|
|
5299
|
-
* Price: $0.
|
|
5299
|
+
* Price: $0.00059 per request.
|
|
5300
5300
|
*
|
|
5301
5301
|
* @example
|
|
5302
5302
|
* const res = await client.linkedin.jobsThin({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
|
|
@@ -5325,7 +5325,7 @@ var LinkedinNamespace = class {
|
|
|
5325
5325
|
*
|
|
5326
5326
|
* Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
|
|
5327
5327
|
*
|
|
5328
|
-
* Price: $0.
|
|
5328
|
+
* Price: $0.00064 per request.
|
|
5329
5329
|
*
|
|
5330
5330
|
* @example
|
|
5331
5331
|
* const res = await client.linkedin.post({ url: "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs" });
|
|
@@ -5704,7 +5704,7 @@ var MapsNamespace = class {
|
|
|
5704
5704
|
*
|
|
5705
5705
|
* Search Google Maps for places matching a query and location: up to 20 normalized place records with ratings, addresses, and contact basics per request.
|
|
5706
5706
|
*
|
|
5707
|
-
* Price: $0.
|
|
5707
|
+
* Price: $0.00148 per request.
|
|
5708
5708
|
*
|
|
5709
5709
|
* @example
|
|
5710
5710
|
* const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3 });
|
|
@@ -6474,7 +6474,7 @@ var RedditNamespace = class {
|
|
|
6474
6474
|
*
|
|
6475
6475
|
* 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.
|
|
6476
6476
|
*
|
|
6477
|
-
* Price: $0.
|
|
6477
|
+
* Price: $0.00036 per request.
|
|
6478
6478
|
*
|
|
6479
6479
|
* @example
|
|
6480
6480
|
* const res = await client.reddit.avatar({ username: "spez" });
|
|
@@ -6500,7 +6500,7 @@ var RedditNamespace = class {
|
|
|
6500
6500
|
*
|
|
6501
6501
|
* List the comments on a Reddit post by URL (author, body, score, timestamp, parent comment). Replies carry the parentId of the comment they answer.
|
|
6502
6502
|
*
|
|
6503
|
-
* Price: $0.
|
|
6503
|
+
* Price: $0.00058 per request.
|
|
6504
6504
|
*
|
|
6505
6505
|
* @example
|
|
6506
6506
|
* const res = await client.reddit.postComments({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
|
|
@@ -6555,7 +6555,7 @@ var RedditNamespace = class {
|
|
|
6555
6555
|
*
|
|
6556
6556
|
* Search Reddit posts across all subreddits by query.
|
|
6557
6557
|
*
|
|
6558
|
-
* Price: $0.
|
|
6558
|
+
* Price: $0.00034 per request.
|
|
6559
6559
|
*
|
|
6560
6560
|
* @example
|
|
6561
6561
|
* const res = await client.reddit.search({ query: "mechanical keyboard" });
|
|
@@ -6584,7 +6584,7 @@ var RedditNamespace = class {
|
|
|
6584
6584
|
*
|
|
6585
6585
|
* Fetch a subreddit's metadata (weekly active users, description, and category).
|
|
6586
6586
|
*
|
|
6587
|
-
* Price: $0.
|
|
6587
|
+
* Price: $0.00036 per request.
|
|
6588
6588
|
*
|
|
6589
6589
|
* @example
|
|
6590
6590
|
* const res = await client.reddit.subredditDetails({ subreddit: "programming" });
|
|
@@ -9005,7 +9005,7 @@ var TwitterNamespace = class {
|
|
|
9005
9005
|
*
|
|
9006
9006
|
* Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane.
|
|
9007
9007
|
*
|
|
9008
|
-
* Price: $0.
|
|
9008
|
+
* Price: $0.00048 per request.
|
|
9009
9009
|
*
|
|
9010
9010
|
* @example
|
|
9011
9011
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -9144,7 +9144,7 @@ var TwitterNamespace = class {
|
|
|
9144
9144
|
*
|
|
9145
9145
|
* Get an X (Twitter) account's profile Posts-tab timeline by handle. Results follow profile order: a pinned post may appear first, followed by otherwise reverse-chronological authored posts, reposts, quotes, and self-thread continuations.
|
|
9146
9146
|
*
|
|
9147
|
-
* Price: $0.
|
|
9147
|
+
* Price: $0.00044 per request.
|
|
9148
9148
|
*
|
|
9149
9149
|
* @example
|
|
9150
9150
|
* const res = await client.twitter.userPosts({ handle: "levelsio" });
|
|
@@ -9173,7 +9173,7 @@ var TwitterNamespace = class {
|
|
|
9173
9173
|
*
|
|
9174
9174
|
* Get up to the requested limit of tweets and replies authored by an X (Twitter) account, with engagement, views, language, and cursor pagination where available.
|
|
9175
9175
|
*
|
|
9176
|
-
* Price: $0.
|
|
9176
|
+
* Price: $0.00044 per request.
|
|
9177
9177
|
*
|
|
9178
9178
|
* @example
|
|
9179
9179
|
* const res = await client.twitter.userTweets({ handle: "levelsio", limit: 20 });
|
|
@@ -9876,7 +9876,7 @@ var YoutubeNamespace = class {
|
|
|
9876
9876
|
*
|
|
9877
9877
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
9878
9878
|
*
|
|
9879
|
-
* Price: $0.
|
|
9879
|
+
* Price: $0.00078 per request.
|
|
9880
9880
|
*
|
|
9881
9881
|
* @example
|
|
9882
9882
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -9889,7 +9889,7 @@ var YoutubeNamespace = class {
|
|
|
9889
9889
|
*
|
|
9890
9890
|
* List the comments on a YouTube video or Short by URL with cursor pagination (text, author, likes, reply count).
|
|
9891
9891
|
*
|
|
9892
|
-
* Price: $0.
|
|
9892
|
+
* Price: $0.00078 per request.
|
|
9893
9893
|
*
|
|
9894
9894
|
* @example
|
|
9895
9895
|
* const res = await client.youtube.videoComments({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|