@getanyapi/sdk 0.151.4 → 0.151.6
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 +21 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -21
- package/dist/index.d.ts +21 -21
- package/dist/index.js +21 -21
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5274,7 +5274,7 @@ declare class BookingNamespace {
|
|
|
5274
5274
|
* Price: $0.0008 per request.
|
|
5275
5275
|
*
|
|
5276
5276
|
* @example
|
|
5277
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
5277
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-15", checkOut: "2026-12-17", limit: 3 });
|
|
5278
5278
|
*/
|
|
5279
5279
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5280
5280
|
}
|
|
@@ -19851,7 +19851,7 @@ declare class FacebookNamespace {
|
|
|
19851
19851
|
*
|
|
19852
19852
|
* Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON.
|
|
19853
19853
|
*
|
|
19854
|
-
* Price: $0.
|
|
19854
|
+
* Price: $0.0004 per request.
|
|
19855
19855
|
*
|
|
19856
19856
|
* @example
|
|
19857
19857
|
* const res = await client.facebook.eventDetails({ id: "4045709448982422" });
|
|
@@ -19909,7 +19909,7 @@ declare class FacebookNamespace {
|
|
|
19909
19909
|
*
|
|
19910
19910
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
19911
19911
|
*
|
|
19912
|
-
* Price: $0.
|
|
19912
|
+
* Price: $0.00072 per request.
|
|
19913
19913
|
*
|
|
19914
19914
|
* @example
|
|
19915
19915
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -20007,7 +20007,7 @@ declare class FacebookNamespace {
|
|
|
20007
20007
|
*
|
|
20008
20008
|
* Fetch a single Facebook post by URL with its text and engagement counts (likes, comments, shares, views).
|
|
20009
20009
|
*
|
|
20010
|
-
* Price: $0.
|
|
20010
|
+
* Price: $0.00072 per request.
|
|
20011
20011
|
*
|
|
20012
20012
|
* @example
|
|
20013
20013
|
* const res = await client.facebook.post({ url: "https://www.facebook.com/reel/2166091230582141/" });
|
|
@@ -25122,7 +25122,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25122
25122
|
* Price: $0.00085 per request.
|
|
25123
25123
|
*
|
|
25124
25124
|
* @example
|
|
25125
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
25125
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-15", departureDateTo: "2027-01-13", destination: "LHR", origin: "JFK" });
|
|
25126
25126
|
*/
|
|
25127
25127
|
calendar(input: GoogleFlightsCalendarInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsCalendarData>>;
|
|
25128
25128
|
/**
|
|
@@ -25133,7 +25133,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25133
25133
|
* Price: $0.00085 per request.
|
|
25134
25134
|
*
|
|
25135
25135
|
* @example
|
|
25136
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
25136
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-15", destination: "LHR", origin: "JFK" });
|
|
25137
25137
|
*/
|
|
25138
25138
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
25139
25139
|
}
|
|
@@ -25468,7 +25468,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25468
25468
|
* Price: $0.0015 per request.
|
|
25469
25469
|
*
|
|
25470
25470
|
* @example
|
|
25471
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
25471
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-15", checkOut: "2026-12-17", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
25472
25472
|
*/
|
|
25473
25473
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
25474
25474
|
/**
|
|
@@ -25479,7 +25479,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25479
25479
|
* Price: $0.0048 per request.
|
|
25480
25480
|
*
|
|
25481
25481
|
* @example
|
|
25482
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
25482
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-15", checkOut: "2026-12-17", country: "us", query: "hotels near times square new york" });
|
|
25483
25483
|
*/
|
|
25484
25484
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
25485
25485
|
}
|
|
@@ -31748,7 +31748,7 @@ declare class InstagramNamespace {
|
|
|
31748
31748
|
*
|
|
31749
31749
|
* 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.
|
|
31750
31750
|
*
|
|
31751
|
-
* Price: $0.
|
|
31751
|
+
* Price: $0.0004 per request.
|
|
31752
31752
|
*
|
|
31753
31753
|
* @example
|
|
31754
31754
|
* const res = await client.instagram.post({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -31799,7 +31799,7 @@ declare class InstagramNamespace {
|
|
|
31799
31799
|
*
|
|
31800
31800
|
* 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.
|
|
31801
31801
|
*
|
|
31802
|
-
* Price: $0.
|
|
31802
|
+
* Price: $0.0004 per request.
|
|
31803
31803
|
*
|
|
31804
31804
|
* @example
|
|
31805
31805
|
* const res = await client.instagram.profileContact({ handle: "eminenceorganics" });
|
|
@@ -39465,7 +39465,7 @@ declare class LinkedinNamespace {
|
|
|
39465
39465
|
*
|
|
39466
39466
|
* Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
|
|
39467
39467
|
*
|
|
39468
|
-
* Price: $0.
|
|
39468
|
+
* Price: $0.00064 per request.
|
|
39469
39469
|
*
|
|
39470
39470
|
* @example
|
|
39471
39471
|
* const res = await client.linkedin.post({ url: "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs" });
|
|
@@ -72584,7 +72584,7 @@ declare class TwitterNamespace {
|
|
|
72584
72584
|
*
|
|
72585
72585
|
* Get a public X long-form article from its wrapper post URL, including its author, engagement, cover image, and structured content blocks.
|
|
72586
72586
|
*
|
|
72587
|
-
* Price: $0.
|
|
72587
|
+
* Price: $0.00049 per request.
|
|
72588
72588
|
*
|
|
72589
72589
|
* @example
|
|
72590
72590
|
* const res = await client.twitter.article({ url: "https://x.com/Decentralisedco/status/1905545699552375179" });
|
|
@@ -72617,7 +72617,7 @@ declare class TwitterNamespace {
|
|
|
72617
72617
|
*
|
|
72618
72618
|
* Fetch the follower list of any public X (Twitter) account by username with cursor pagination. Limit is a per-page maximum and a native page holds up to 200 accounts; follow the response's nextCursor for more.
|
|
72619
72619
|
*
|
|
72620
|
-
* Price: $0.
|
|
72620
|
+
* Price: $0.00045 per request.
|
|
72621
72621
|
*
|
|
72622
72622
|
* @example
|
|
72623
72623
|
* const res = await client.twitter.followers({ username: "nasa", limit: 200 });
|
|
@@ -72664,7 +72664,7 @@ declare class TwitterNamespace {
|
|
|
72664
72664
|
*
|
|
72665
72665
|
* Fetch the replies to any X (Twitter) post URL as structured records: author, text, and engagement. An empty result is valid and does not assert whether the target post exists.
|
|
72666
72666
|
*
|
|
72667
|
-
* Price: $0.
|
|
72667
|
+
* Price: $0.00045 per request.
|
|
72668
72668
|
*
|
|
72669
72669
|
* @example
|
|
72670
72670
|
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20" });
|
|
@@ -72682,7 +72682,7 @@ declare class TwitterNamespace {
|
|
|
72682
72682
|
*
|
|
72683
72683
|
* 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.
|
|
72684
72684
|
*
|
|
72685
|
-
* Price: $0.
|
|
72685
|
+
* Price: $0.00049 per request.
|
|
72686
72686
|
*
|
|
72687
72687
|
* @example
|
|
72688
72688
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -72718,7 +72718,7 @@ declare class TwitterNamespace {
|
|
|
72718
72718
|
*
|
|
72719
72719
|
* 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.
|
|
72720
72720
|
*
|
|
72721
|
-
* Price: $0.
|
|
72721
|
+
* Price: $0.00049 per request.
|
|
72722
72722
|
*
|
|
72723
72723
|
* @example
|
|
72724
72724
|
* const res = await client.twitter.searchUsers({ query: "ai agents" });
|
|
@@ -72736,7 +72736,7 @@ declare class TwitterNamespace {
|
|
|
72736
72736
|
*
|
|
72737
72737
|
* 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.
|
|
72738
72738
|
*
|
|
72739
|
-
* Price: $0.
|
|
72739
|
+
* Price: $0.00242 per request.
|
|
72740
72740
|
*
|
|
72741
72741
|
* @example
|
|
72742
72742
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -72780,7 +72780,7 @@ declare class TwitterNamespace {
|
|
|
72780
72780
|
*
|
|
72781
72781
|
* 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.
|
|
72782
72782
|
*
|
|
72783
|
-
* Price: $0.
|
|
72783
|
+
* Price: $0.00045 per request.
|
|
72784
72784
|
*
|
|
72785
72785
|
* @example
|
|
72786
72786
|
* const res = await client.twitter.userPosts({ handle: "levelsio" });
|
|
@@ -72798,7 +72798,7 @@ declare class TwitterNamespace {
|
|
|
72798
72798
|
*
|
|
72799
72799
|
* 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.
|
|
72800
72800
|
*
|
|
72801
|
-
* Price: $0.
|
|
72801
|
+
* Price: $0.00045 per request.
|
|
72802
72802
|
*
|
|
72803
72803
|
* @example
|
|
72804
72804
|
* const res = await client.twitter.userTweets({ handle: "levelsio", limit: 20 });
|
|
@@ -73772,7 +73772,7 @@ declare class VrboNamespace {
|
|
|
73772
73772
|
* Price: $0.00085 per request.
|
|
73773
73773
|
*
|
|
73774
73774
|
* @example
|
|
73775
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
73775
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-15", checkOut: "2026-12-18" });
|
|
73776
73776
|
*/
|
|
73777
73777
|
listing(input: VrboListingInput, options?: RequestOptions): Promise<RunResult<VrboListingData>>;
|
|
73778
73778
|
/**
|
|
@@ -73783,7 +73783,7 @@ declare class VrboNamespace {
|
|
|
73783
73783
|
* Price: $0.00085 per request.
|
|
73784
73784
|
*
|
|
73785
73785
|
* @example
|
|
73786
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
73786
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-15", checkOut: "2026-12-18", location: "Lake Tahoe", adults: 2 });
|
|
73787
73787
|
*/
|
|
73788
73788
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
73789
73789
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -5274,7 +5274,7 @@ declare class BookingNamespace {
|
|
|
5274
5274
|
* Price: $0.0008 per request.
|
|
5275
5275
|
*
|
|
5276
5276
|
* @example
|
|
5277
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
5277
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-15", checkOut: "2026-12-17", limit: 3 });
|
|
5278
5278
|
*/
|
|
5279
5279
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5280
5280
|
}
|
|
@@ -19851,7 +19851,7 @@ declare class FacebookNamespace {
|
|
|
19851
19851
|
*
|
|
19852
19852
|
* Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON.
|
|
19853
19853
|
*
|
|
19854
|
-
* Price: $0.
|
|
19854
|
+
* Price: $0.0004 per request.
|
|
19855
19855
|
*
|
|
19856
19856
|
* @example
|
|
19857
19857
|
* const res = await client.facebook.eventDetails({ id: "4045709448982422" });
|
|
@@ -19909,7 +19909,7 @@ declare class FacebookNamespace {
|
|
|
19909
19909
|
*
|
|
19910
19910
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
19911
19911
|
*
|
|
19912
|
-
* Price: $0.
|
|
19912
|
+
* Price: $0.00072 per request.
|
|
19913
19913
|
*
|
|
19914
19914
|
* @example
|
|
19915
19915
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -20007,7 +20007,7 @@ declare class FacebookNamespace {
|
|
|
20007
20007
|
*
|
|
20008
20008
|
* Fetch a single Facebook post by URL with its text and engagement counts (likes, comments, shares, views).
|
|
20009
20009
|
*
|
|
20010
|
-
* Price: $0.
|
|
20010
|
+
* Price: $0.00072 per request.
|
|
20011
20011
|
*
|
|
20012
20012
|
* @example
|
|
20013
20013
|
* const res = await client.facebook.post({ url: "https://www.facebook.com/reel/2166091230582141/" });
|
|
@@ -25122,7 +25122,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25122
25122
|
* Price: $0.00085 per request.
|
|
25123
25123
|
*
|
|
25124
25124
|
* @example
|
|
25125
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
25125
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-15", departureDateTo: "2027-01-13", destination: "LHR", origin: "JFK" });
|
|
25126
25126
|
*/
|
|
25127
25127
|
calendar(input: GoogleFlightsCalendarInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsCalendarData>>;
|
|
25128
25128
|
/**
|
|
@@ -25133,7 +25133,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25133
25133
|
* Price: $0.00085 per request.
|
|
25134
25134
|
*
|
|
25135
25135
|
* @example
|
|
25136
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
25136
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-15", destination: "LHR", origin: "JFK" });
|
|
25137
25137
|
*/
|
|
25138
25138
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
25139
25139
|
}
|
|
@@ -25468,7 +25468,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25468
25468
|
* Price: $0.0015 per request.
|
|
25469
25469
|
*
|
|
25470
25470
|
* @example
|
|
25471
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
25471
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-15", checkOut: "2026-12-17", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
25472
25472
|
*/
|
|
25473
25473
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
25474
25474
|
/**
|
|
@@ -25479,7 +25479,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25479
25479
|
* Price: $0.0048 per request.
|
|
25480
25480
|
*
|
|
25481
25481
|
* @example
|
|
25482
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
25482
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-15", checkOut: "2026-12-17", country: "us", query: "hotels near times square new york" });
|
|
25483
25483
|
*/
|
|
25484
25484
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
25485
25485
|
}
|
|
@@ -31748,7 +31748,7 @@ declare class InstagramNamespace {
|
|
|
31748
31748
|
*
|
|
31749
31749
|
* 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.
|
|
31750
31750
|
*
|
|
31751
|
-
* Price: $0.
|
|
31751
|
+
* Price: $0.0004 per request.
|
|
31752
31752
|
*
|
|
31753
31753
|
* @example
|
|
31754
31754
|
* const res = await client.instagram.post({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -31799,7 +31799,7 @@ declare class InstagramNamespace {
|
|
|
31799
31799
|
*
|
|
31800
31800
|
* 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.
|
|
31801
31801
|
*
|
|
31802
|
-
* Price: $0.
|
|
31802
|
+
* Price: $0.0004 per request.
|
|
31803
31803
|
*
|
|
31804
31804
|
* @example
|
|
31805
31805
|
* const res = await client.instagram.profileContact({ handle: "eminenceorganics" });
|
|
@@ -39465,7 +39465,7 @@ declare class LinkedinNamespace {
|
|
|
39465
39465
|
*
|
|
39466
39466
|
* Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
|
|
39467
39467
|
*
|
|
39468
|
-
* Price: $0.
|
|
39468
|
+
* Price: $0.00064 per request.
|
|
39469
39469
|
*
|
|
39470
39470
|
* @example
|
|
39471
39471
|
* const res = await client.linkedin.post({ url: "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs" });
|
|
@@ -72584,7 +72584,7 @@ declare class TwitterNamespace {
|
|
|
72584
72584
|
*
|
|
72585
72585
|
* Get a public X long-form article from its wrapper post URL, including its author, engagement, cover image, and structured content blocks.
|
|
72586
72586
|
*
|
|
72587
|
-
* Price: $0.
|
|
72587
|
+
* Price: $0.00049 per request.
|
|
72588
72588
|
*
|
|
72589
72589
|
* @example
|
|
72590
72590
|
* const res = await client.twitter.article({ url: "https://x.com/Decentralisedco/status/1905545699552375179" });
|
|
@@ -72617,7 +72617,7 @@ declare class TwitterNamespace {
|
|
|
72617
72617
|
*
|
|
72618
72618
|
* Fetch the follower list of any public X (Twitter) account by username with cursor pagination. Limit is a per-page maximum and a native page holds up to 200 accounts; follow the response's nextCursor for more.
|
|
72619
72619
|
*
|
|
72620
|
-
* Price: $0.
|
|
72620
|
+
* Price: $0.00045 per request.
|
|
72621
72621
|
*
|
|
72622
72622
|
* @example
|
|
72623
72623
|
* const res = await client.twitter.followers({ username: "nasa", limit: 200 });
|
|
@@ -72664,7 +72664,7 @@ declare class TwitterNamespace {
|
|
|
72664
72664
|
*
|
|
72665
72665
|
* Fetch the replies to any X (Twitter) post URL as structured records: author, text, and engagement. An empty result is valid and does not assert whether the target post exists.
|
|
72666
72666
|
*
|
|
72667
|
-
* Price: $0.
|
|
72667
|
+
* Price: $0.00045 per request.
|
|
72668
72668
|
*
|
|
72669
72669
|
* @example
|
|
72670
72670
|
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20" });
|
|
@@ -72682,7 +72682,7 @@ declare class TwitterNamespace {
|
|
|
72682
72682
|
*
|
|
72683
72683
|
* 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.
|
|
72684
72684
|
*
|
|
72685
|
-
* Price: $0.
|
|
72685
|
+
* Price: $0.00049 per request.
|
|
72686
72686
|
*
|
|
72687
72687
|
* @example
|
|
72688
72688
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -72718,7 +72718,7 @@ declare class TwitterNamespace {
|
|
|
72718
72718
|
*
|
|
72719
72719
|
* 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.
|
|
72720
72720
|
*
|
|
72721
|
-
* Price: $0.
|
|
72721
|
+
* Price: $0.00049 per request.
|
|
72722
72722
|
*
|
|
72723
72723
|
* @example
|
|
72724
72724
|
* const res = await client.twitter.searchUsers({ query: "ai agents" });
|
|
@@ -72736,7 +72736,7 @@ declare class TwitterNamespace {
|
|
|
72736
72736
|
*
|
|
72737
72737
|
* 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.
|
|
72738
72738
|
*
|
|
72739
|
-
* Price: $0.
|
|
72739
|
+
* Price: $0.00242 per request.
|
|
72740
72740
|
*
|
|
72741
72741
|
* @example
|
|
72742
72742
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -72780,7 +72780,7 @@ declare class TwitterNamespace {
|
|
|
72780
72780
|
*
|
|
72781
72781
|
* 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.
|
|
72782
72782
|
*
|
|
72783
|
-
* Price: $0.
|
|
72783
|
+
* Price: $0.00045 per request.
|
|
72784
72784
|
*
|
|
72785
72785
|
* @example
|
|
72786
72786
|
* const res = await client.twitter.userPosts({ handle: "levelsio" });
|
|
@@ -72798,7 +72798,7 @@ declare class TwitterNamespace {
|
|
|
72798
72798
|
*
|
|
72799
72799
|
* 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.
|
|
72800
72800
|
*
|
|
72801
|
-
* Price: $0.
|
|
72801
|
+
* Price: $0.00045 per request.
|
|
72802
72802
|
*
|
|
72803
72803
|
* @example
|
|
72804
72804
|
* const res = await client.twitter.userTweets({ handle: "levelsio", limit: 20 });
|
|
@@ -73772,7 +73772,7 @@ declare class VrboNamespace {
|
|
|
73772
73772
|
* Price: $0.00085 per request.
|
|
73773
73773
|
*
|
|
73774
73774
|
* @example
|
|
73775
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
73775
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-15", checkOut: "2026-12-18" });
|
|
73776
73776
|
*/
|
|
73777
73777
|
listing(input: VrboListingInput, options?: RequestOptions): Promise<RunResult<VrboListingData>>;
|
|
73778
73778
|
/**
|
|
@@ -73783,7 +73783,7 @@ declare class VrboNamespace {
|
|
|
73783
73783
|
* Price: $0.00085 per request.
|
|
73784
73784
|
*
|
|
73785
73785
|
* @example
|
|
73786
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
73786
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-15", checkOut: "2026-12-18", location: "Lake Tahoe", adults: 2 });
|
|
73787
73787
|
*/
|
|
73788
73788
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
73789
73789
|
}
|
package/dist/index.js
CHANGED
|
@@ -1566,7 +1566,7 @@ var BookingNamespace = class {
|
|
|
1566
1566
|
* Price: $0.0008 per request.
|
|
1567
1567
|
*
|
|
1568
1568
|
* @example
|
|
1569
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
1569
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-15", checkOut: "2026-12-17", limit: 3 });
|
|
1570
1570
|
*/
|
|
1571
1571
|
search(input, options) {
|
|
1572
1572
|
return this._core.run("booking.search", input, options);
|
|
@@ -2647,7 +2647,7 @@ var FacebookNamespace = class {
|
|
|
2647
2647
|
*
|
|
2648
2648
|
* Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON.
|
|
2649
2649
|
*
|
|
2650
|
-
* Price: $0.
|
|
2650
|
+
* Price: $0.0004 per request.
|
|
2651
2651
|
*
|
|
2652
2652
|
* @example
|
|
2653
2653
|
* const res = await client.facebook.eventDetails({ id: "4045709448982422" });
|
|
@@ -2731,7 +2731,7 @@ var FacebookNamespace = class {
|
|
|
2731
2731
|
*
|
|
2732
2732
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
2733
2733
|
*
|
|
2734
|
-
* Price: $0.
|
|
2734
|
+
* Price: $0.00072 per request.
|
|
2735
2735
|
*
|
|
2736
2736
|
* @example
|
|
2737
2737
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -2874,7 +2874,7 @@ var FacebookNamespace = class {
|
|
|
2874
2874
|
*
|
|
2875
2875
|
* Fetch a single Facebook post by URL with its text and engagement counts (likes, comments, shares, views).
|
|
2876
2876
|
*
|
|
2877
|
-
* Price: $0.
|
|
2877
|
+
* Price: $0.00072 per request.
|
|
2878
2878
|
*
|
|
2879
2879
|
* @example
|
|
2880
2880
|
* const res = await client.facebook.post({ url: "https://www.facebook.com/reel/2166091230582141/" });
|
|
@@ -3833,7 +3833,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3833
3833
|
* Price: $0.00085 per request.
|
|
3834
3834
|
*
|
|
3835
3835
|
* @example
|
|
3836
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
3836
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-15", departureDateTo: "2027-01-13", destination: "LHR", origin: "JFK" });
|
|
3837
3837
|
*/
|
|
3838
3838
|
calendar(input, options) {
|
|
3839
3839
|
return this._core.run("google_flights.calendar", input, options);
|
|
@@ -3846,7 +3846,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3846
3846
|
* Price: $0.00085 per request.
|
|
3847
3847
|
*
|
|
3848
3848
|
* @example
|
|
3849
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
3849
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-15", destination: "LHR", origin: "JFK" });
|
|
3850
3850
|
*/
|
|
3851
3851
|
search(input, options) {
|
|
3852
3852
|
return this._core.run("google_flights.search", input, options);
|
|
@@ -3867,7 +3867,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3867
3867
|
* Price: $0.0015 per request.
|
|
3868
3868
|
*
|
|
3869
3869
|
* @example
|
|
3870
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
3870
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-15", checkOut: "2026-12-17", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3871
3871
|
*/
|
|
3872
3872
|
details(input, options) {
|
|
3873
3873
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3880,7 +3880,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3880
3880
|
* Price: $0.0048 per request.
|
|
3881
3881
|
*
|
|
3882
3882
|
* @example
|
|
3883
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
3883
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-15", checkOut: "2026-12-17", country: "us", query: "hotels near times square new york" });
|
|
3884
3884
|
*/
|
|
3885
3885
|
search(input, options) {
|
|
3886
3886
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4344,7 +4344,7 @@ var InstagramNamespace = class {
|
|
|
4344
4344
|
*
|
|
4345
4345
|
* 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.
|
|
4346
4346
|
*
|
|
4347
|
-
* Price: $0.
|
|
4347
|
+
* Price: $0.0004 per request.
|
|
4348
4348
|
*
|
|
4349
4349
|
* @example
|
|
4350
4350
|
* const res = await client.instagram.post({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -4412,7 +4412,7 @@ var InstagramNamespace = class {
|
|
|
4412
4412
|
*
|
|
4413
4413
|
* 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.
|
|
4414
4414
|
*
|
|
4415
|
-
* Price: $0.
|
|
4415
|
+
* Price: $0.0004 per request.
|
|
4416
4416
|
*
|
|
4417
4417
|
* @example
|
|
4418
4418
|
* const res = await client.instagram.profileContact({ handle: "eminenceorganics" });
|
|
@@ -5187,7 +5187,7 @@ var LinkedinNamespace = class {
|
|
|
5187
5187
|
*
|
|
5188
5188
|
* Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
|
|
5189
5189
|
*
|
|
5190
|
-
* Price: $0.
|
|
5190
|
+
* Price: $0.00064 per request.
|
|
5191
5191
|
*
|
|
5192
5192
|
* @example
|
|
5193
5193
|
* const res = await client.linkedin.post({ url: "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs" });
|
|
@@ -8728,7 +8728,7 @@ var TwitterNamespace = class {
|
|
|
8728
8728
|
*
|
|
8729
8729
|
* Get a public X long-form article from its wrapper post URL, including its author, engagement, cover image, and structured content blocks.
|
|
8730
8730
|
*
|
|
8731
|
-
* Price: $0.
|
|
8731
|
+
* Price: $0.00049 per request.
|
|
8732
8732
|
*
|
|
8733
8733
|
* @example
|
|
8734
8734
|
* const res = await client.twitter.article({ url: "https://x.com/Decentralisedco/status/1905545699552375179" });
|
|
@@ -8767,7 +8767,7 @@ var TwitterNamespace = class {
|
|
|
8767
8767
|
*
|
|
8768
8768
|
* Fetch the follower list of any public X (Twitter) account by username with cursor pagination. Limit is a per-page maximum and a native page holds up to 200 accounts; follow the response's nextCursor for more.
|
|
8769
8769
|
*
|
|
8770
|
-
* Price: $0.
|
|
8770
|
+
* Price: $0.00045 per request.
|
|
8771
8771
|
*
|
|
8772
8772
|
* @example
|
|
8773
8773
|
* const res = await client.twitter.followers({ username: "nasa", limit: 200 });
|
|
@@ -8838,7 +8838,7 @@ var TwitterNamespace = class {
|
|
|
8838
8838
|
*
|
|
8839
8839
|
* Fetch the replies to any X (Twitter) post URL as structured records: author, text, and engagement. An empty result is valid and does not assert whether the target post exists.
|
|
8840
8840
|
*
|
|
8841
|
-
* Price: $0.
|
|
8841
|
+
* Price: $0.00045 per request.
|
|
8842
8842
|
*
|
|
8843
8843
|
* @example
|
|
8844
8844
|
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20" });
|
|
@@ -8867,7 +8867,7 @@ var TwitterNamespace = class {
|
|
|
8867
8867
|
*
|
|
8868
8868
|
* 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.
|
|
8869
8869
|
*
|
|
8870
|
-
* Price: $0.
|
|
8870
|
+
* Price: $0.00049 per request.
|
|
8871
8871
|
*
|
|
8872
8872
|
* @example
|
|
8873
8873
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -8925,7 +8925,7 @@ var TwitterNamespace = class {
|
|
|
8925
8925
|
*
|
|
8926
8926
|
* 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.
|
|
8927
8927
|
*
|
|
8928
|
-
* Price: $0.
|
|
8928
|
+
* Price: $0.00049 per request.
|
|
8929
8929
|
*
|
|
8930
8930
|
* @example
|
|
8931
8931
|
* const res = await client.twitter.searchUsers({ query: "ai agents" });
|
|
@@ -8954,7 +8954,7 @@ var TwitterNamespace = class {
|
|
|
8954
8954
|
*
|
|
8955
8955
|
* 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.
|
|
8956
8956
|
*
|
|
8957
|
-
* Price: $0.
|
|
8957
|
+
* Price: $0.00242 per request.
|
|
8958
8958
|
*
|
|
8959
8959
|
* @example
|
|
8960
8960
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -9006,7 +9006,7 @@ var TwitterNamespace = class {
|
|
|
9006
9006
|
*
|
|
9007
9007
|
* 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.
|
|
9008
9008
|
*
|
|
9009
|
-
* Price: $0.
|
|
9009
|
+
* Price: $0.00045 per request.
|
|
9010
9010
|
*
|
|
9011
9011
|
* @example
|
|
9012
9012
|
* const res = await client.twitter.userPosts({ handle: "levelsio" });
|
|
@@ -9035,7 +9035,7 @@ var TwitterNamespace = class {
|
|
|
9035
9035
|
*
|
|
9036
9036
|
* 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.
|
|
9037
9037
|
*
|
|
9038
|
-
* Price: $0.
|
|
9038
|
+
* Price: $0.00045 per request.
|
|
9039
9039
|
*
|
|
9040
9040
|
* @example
|
|
9041
9041
|
* const res = await client.twitter.userTweets({ handle: "levelsio", limit: 20 });
|
|
@@ -9117,7 +9117,7 @@ var VrboNamespace = class {
|
|
|
9117
9117
|
* Price: $0.00085 per request.
|
|
9118
9118
|
*
|
|
9119
9119
|
* @example
|
|
9120
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
9120
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-15", checkOut: "2026-12-18" });
|
|
9121
9121
|
*/
|
|
9122
9122
|
listing(input, options) {
|
|
9123
9123
|
return this._core.run("vrbo.listing", input, options);
|
|
@@ -9130,7 +9130,7 @@ var VrboNamespace = class {
|
|
|
9130
9130
|
* Price: $0.00085 per request.
|
|
9131
9131
|
*
|
|
9132
9132
|
* @example
|
|
9133
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
9133
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-15", checkOut: "2026-12-18", location: "Lake Tahoe", adults: 2 });
|
|
9134
9134
|
*/
|
|
9135
9135
|
search(input, options) {
|
|
9136
9136
|
return this._core.run("vrbo.search", input, options);
|