@getanyapi/sdk 0.9.2 → 0.9.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/README.md +21 -4
- package/dist/index.cjs +239 -108
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +105 -97
- package/dist/index.d.ts +105 -97
- package/dist/index.js +239 -108
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -65,6 +65,8 @@ interface RequestOptions {
|
|
|
65
65
|
signal?: AbortSignal;
|
|
66
66
|
/** Override the client maxRetries for this call. */
|
|
67
67
|
maxRetries?: number;
|
|
68
|
+
/** Override the generated Idempotency-Key for this billed POST. */
|
|
69
|
+
idempotencyKey?: string;
|
|
68
70
|
}
|
|
69
71
|
/**
|
|
70
72
|
* Client construction options. See SPEC 2.1.
|
|
@@ -76,10 +78,12 @@ interface ClientOptions {
|
|
|
76
78
|
baseUrl?: string;
|
|
77
79
|
/** Custom fetch implementation. Defaults to globalThis.fetch. */
|
|
78
80
|
fetch?: typeof fetch;
|
|
79
|
-
/** Max retry attempts for retryable failures (429 + network). Default 2. */
|
|
81
|
+
/** Max retry attempts for retryable failures (429 + retry-safe network). Default 2. */
|
|
80
82
|
maxRetries?: number;
|
|
81
83
|
/** Per-request timeout in milliseconds. Default 60000. */
|
|
82
84
|
timeoutMs?: number;
|
|
85
|
+
/** Send Idempotency-Key on billed POSTs. Default "auto"; use "off" as a kill switch. */
|
|
86
|
+
idempotency?: "auto" | "off";
|
|
83
87
|
}
|
|
84
88
|
/**
|
|
85
89
|
* Account profile returned by /v1/me (internal-only fields dropped). See SPEC 2.7.
|
|
@@ -209,6 +213,7 @@ declare class AnyAPI$1 implements ClientCore {
|
|
|
209
213
|
private readonly fetchImpl;
|
|
210
214
|
private readonly maxRetries;
|
|
211
215
|
private readonly timeoutMs;
|
|
216
|
+
private readonly idempotency;
|
|
212
217
|
/**
|
|
213
218
|
* The network seam the generated per-platform namespaces target. The base client IS a
|
|
214
219
|
* ClientCore (it implements `run`), so the generated subclass hands `this._core` to each
|
|
@@ -245,6 +250,7 @@ declare class AnyAPI$1 implements ClientCore {
|
|
|
245
250
|
timeoutMs: number;
|
|
246
251
|
maxRetries: number;
|
|
247
252
|
signal?: AbortSignal;
|
|
253
|
+
idempotencyKey?: string;
|
|
248
254
|
}): Promise<T>;
|
|
249
255
|
/** Internal accessor for GET helpers in account.ts (same base URL / machinery). */
|
|
250
256
|
protected get gatewayBaseUrl(): string;
|
|
@@ -290,7 +296,9 @@ declare class AnyAPIError extends Error {
|
|
|
290
296
|
readonly status: number;
|
|
291
297
|
/** The x-request-id response header when present, else undefined. */
|
|
292
298
|
readonly requestId?: string;
|
|
293
|
-
|
|
299
|
+
/** Stable gateway error code when the JSON body includes one, else undefined. */
|
|
300
|
+
readonly code?: string;
|
|
301
|
+
constructor(message: string, status: number, requestId?: string, code?: string);
|
|
294
302
|
}
|
|
295
303
|
/** HTTP 400. */
|
|
296
304
|
declare class BadRequestError extends AnyAPIError {
|
|
@@ -2658,7 +2666,7 @@ declare class BlueskyNamespace {
|
|
|
2658
2666
|
/**
|
|
2659
2667
|
* Bluesky User Posts
|
|
2660
2668
|
*
|
|
2661
|
-
* List a Bluesky account's recent posts (text, author handle, like, reply, and repost counts) by handle as clean JSON
|
|
2669
|
+
* List a Bluesky account's recent posts (text, author handle, like, reply, and repost counts) by handle as clean JSON.
|
|
2662
2670
|
*
|
|
2663
2671
|
* Price: $0.002 per request.
|
|
2664
2672
|
*
|
|
@@ -3982,7 +3990,7 @@ interface EmailFindData {
|
|
|
3982
3990
|
*/
|
|
3983
3991
|
interface EmailVerifyInput {
|
|
3984
3992
|
/**
|
|
3985
|
-
* The email address to verify (e.g. jane.doe@acme.com).
|
|
3993
|
+
* The email address to verify (e.g. jane.doe@acme.com). Exactly one @, a dotted domain, no whitespace or angle brackets. Addresses on reserved, never-deliverable TLDs (.invalid, .test, .example, .localhost, .local, .internal, .blink) and HTML/JSON escape artifacts (a u003e prefix) are rejected locally with no charge.
|
|
3986
3994
|
*/
|
|
3987
3995
|
email: string;
|
|
3988
3996
|
}
|
|
@@ -4021,7 +4029,7 @@ interface EmailVerifyItem {
|
|
|
4021
4029
|
*/
|
|
4022
4030
|
interface EmailVerifyData {
|
|
4023
4031
|
/**
|
|
4024
|
-
* Verification records: the email address with its deliverability verdict and
|
|
4032
|
+
* Verification records: the email address with its deliverability verdict and the domain, mailbox, and reputation signals behind it. A record is returned for every syntactically valid address, including ones the verdict marks undeliverable. Populated whenever the provider has data for the entity.
|
|
4025
4033
|
*/
|
|
4026
4034
|
items: EmailVerifyItem[];
|
|
4027
4035
|
}
|
|
@@ -4046,7 +4054,7 @@ declare class EmailNamespace {
|
|
|
4046
4054
|
/**
|
|
4047
4055
|
* Email Verifier
|
|
4048
4056
|
*
|
|
4049
|
-
* Verify
|
|
4057
|
+
* Verify an email address for deliverability: a status verdict (valid, risky, or invalid) with domain, mailbox, catch-all, disposable, and role signals plus a confidence score. Malformed addresses are rejected by the input schema with no charge; every syntactically valid address returns a billed verdict, including undeliverable ones.
|
|
4050
4058
|
*
|
|
4051
4059
|
* Price: $0 per request plus $0.0008 per result (maximum $0.0008).
|
|
4052
4060
|
*
|
|
@@ -4364,7 +4372,7 @@ interface FacebookCommentRepliesData {
|
|
|
4364
4372
|
*/
|
|
4365
4373
|
interface FacebookCompanyAdsInput {
|
|
4366
4374
|
/**
|
|
4367
|
-
* Company name to search (e.g. "nike").
|
|
4375
|
+
* Company name to search (e.g. "nike"). Exact-match and case-sensitive against the Meta Ad Library index; an advertiser with no indexed page returns found:false.
|
|
4368
4376
|
*/
|
|
4369
4377
|
companyName?: string;
|
|
4370
4378
|
/**
|
|
@@ -5558,7 +5566,7 @@ declare class FacebookNamespace {
|
|
|
5558
5566
|
/**
|
|
5559
5567
|
* Facebook Ad Search
|
|
5560
5568
|
*
|
|
5561
|
-
* Search the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination
|
|
5569
|
+
* Search the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination.
|
|
5562
5570
|
*
|
|
5563
5571
|
* Price: $0.002 per request.
|
|
5564
5572
|
*
|
|
@@ -5576,7 +5584,7 @@ declare class FacebookNamespace {
|
|
|
5576
5584
|
/**
|
|
5577
5585
|
* Facebook Comment Replies
|
|
5578
5586
|
*
|
|
5579
|
-
* List the replies to a Facebook post comment (text, author, reactions, and timestamps) as normalized JSON
|
|
5587
|
+
* List the replies to a Facebook post comment (text, author, reactions, and timestamps) as normalized JSON.
|
|
5580
5588
|
*
|
|
5581
5589
|
* Price: $0.002 per request.
|
|
5582
5590
|
*
|
|
@@ -5612,7 +5620,7 @@ declare class FacebookNamespace {
|
|
|
5612
5620
|
/**
|
|
5613
5621
|
* Facebook Event Details
|
|
5614
5622
|
*
|
|
5615
|
-
* Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON
|
|
5623
|
+
* Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON.
|
|
5616
5624
|
*
|
|
5617
5625
|
* Price: $0.002 per request.
|
|
5618
5626
|
*
|
|
@@ -5623,7 +5631,7 @@ declare class FacebookNamespace {
|
|
|
5623
5631
|
/**
|
|
5624
5632
|
* Facebook Events
|
|
5625
5633
|
*
|
|
5626
|
-
* List public Facebook events for a city or place by its events-page URL (event name, date, venue, and attendance) as normalized JSON
|
|
5634
|
+
* List public Facebook events for a city or place by its events-page URL (event name, date, venue, and attendance) as normalized JSON.
|
|
5627
5635
|
*
|
|
5628
5636
|
* Price: $0.002 per request.
|
|
5629
5637
|
*
|
|
@@ -5641,7 +5649,7 @@ declare class FacebookNamespace {
|
|
|
5641
5649
|
/**
|
|
5642
5650
|
* Facebook Events Search
|
|
5643
5651
|
*
|
|
5644
|
-
* Search public Facebook events by keyword and get structured event records (name, schedule, venue, pricing, and attendance) as normalized JSON
|
|
5652
|
+
* Search public Facebook events by keyword and get structured event records (name, schedule, venue, pricing, and attendance) as normalized JSON.
|
|
5645
5653
|
*
|
|
5646
5654
|
* Price: $0.002 per request.
|
|
5647
5655
|
*
|
|
@@ -5706,7 +5714,7 @@ declare class FacebookNamespace {
|
|
|
5706
5714
|
/**
|
|
5707
5715
|
* Facebook Marketplace Item
|
|
5708
5716
|
*
|
|
5709
|
-
* Fetch full details for a single Facebook Marketplace listing by ID or URL (title, price, location, photos, and attributes) as normalized JSON
|
|
5717
|
+
* Fetch full details for a single Facebook Marketplace listing by ID or URL (title, price, location, photos, and attributes) as normalized JSON.
|
|
5710
5718
|
*
|
|
5711
5719
|
* Price: $0.002 per request.
|
|
5712
5720
|
*
|
|
@@ -5717,7 +5725,7 @@ declare class FacebookNamespace {
|
|
|
5717
5725
|
/**
|
|
5718
5726
|
* Facebook Marketplace Location Search
|
|
5719
5727
|
*
|
|
5720
|
-
* Resolve a place name to Facebook Marketplace locations with coordinates and metadata as normalized JSON
|
|
5728
|
+
* Resolve a place name to Facebook Marketplace locations with coordinates and metadata as normalized JSON.
|
|
5721
5729
|
*
|
|
5722
5730
|
* Price: $0.002 per request.
|
|
5723
5731
|
*
|
|
@@ -5739,7 +5747,7 @@ declare class FacebookNamespace {
|
|
|
5739
5747
|
/**
|
|
5740
5748
|
* Facebook Page Photos
|
|
5741
5749
|
*
|
|
5742
|
-
* Fetch recent photos posted by any public Facebook page or profile (image URLs, captions, and dimensions) as normalized JSON
|
|
5750
|
+
* Fetch recent photos posted by any public Facebook page or profile (image URLs, captions, and dimensions) as normalized JSON.
|
|
5743
5751
|
*
|
|
5744
5752
|
* Price: $0.002 per request.
|
|
5745
5753
|
*
|
|
@@ -5757,7 +5765,7 @@ declare class FacebookNamespace {
|
|
|
5757
5765
|
/**
|
|
5758
5766
|
* Facebook Post
|
|
5759
5767
|
*
|
|
5760
|
-
* Fetch a single Facebook post by URL with its text and engagement counts (likes, comments, shares, views)
|
|
5768
|
+
* Fetch a single Facebook post by URL with its text and engagement counts (likes, comments, shares, views).
|
|
5761
5769
|
*
|
|
5762
5770
|
* Price: $0.002 per request.
|
|
5763
5771
|
*
|
|
@@ -5768,7 +5776,7 @@ declare class FacebookNamespace {
|
|
|
5768
5776
|
/**
|
|
5769
5777
|
* Facebook Post Comments
|
|
5770
5778
|
*
|
|
5771
|
-
* List the comments on a Facebook post by URL with cursor pagination (text, author, reactions, reply count)
|
|
5779
|
+
* List the comments on a Facebook post by URL with cursor pagination (text, author, reactions, reply count).
|
|
5772
5780
|
*
|
|
5773
5781
|
* Price: $0.002 per request.
|
|
5774
5782
|
*
|
|
@@ -5786,7 +5794,7 @@ declare class FacebookNamespace {
|
|
|
5786
5794
|
/**
|
|
5787
5795
|
* Facebook Post Transcript
|
|
5788
5796
|
*
|
|
5789
|
-
* Get the spoken-word transcript of any public Facebook video post by URL as normalized JSON
|
|
5797
|
+
* Get the spoken-word transcript of any public Facebook video post by URL as normalized JSON.
|
|
5790
5798
|
*
|
|
5791
5799
|
* Price: $0.002 per request.
|
|
5792
5800
|
*
|
|
@@ -5797,7 +5805,7 @@ declare class FacebookNamespace {
|
|
|
5797
5805
|
/**
|
|
5798
5806
|
* Facebook Profile
|
|
5799
5807
|
*
|
|
5800
|
-
* Fetch a Facebook page's public profile (likes, followers, category, about) by URL or handle
|
|
5808
|
+
* Fetch a Facebook page's public profile (likes, followers, category, about) by URL or handle.
|
|
5801
5809
|
*
|
|
5802
5810
|
* Price: $0.002 per request.
|
|
5803
5811
|
*
|
|
@@ -5808,7 +5816,7 @@ declare class FacebookNamespace {
|
|
|
5808
5816
|
/**
|
|
5809
5817
|
* Facebook Page Events
|
|
5810
5818
|
*
|
|
5811
|
-
* List upcoming and past events hosted by any public Facebook page by URL (name, schedule, venue, and host) as normalized JSON
|
|
5819
|
+
* List upcoming and past events hosted by any public Facebook page by URL (name, schedule, venue, and host) as normalized JSON.
|
|
5812
5820
|
*
|
|
5813
5821
|
* Price: $0.002 per request.
|
|
5814
5822
|
*
|
|
@@ -5826,7 +5834,7 @@ declare class FacebookNamespace {
|
|
|
5826
5834
|
/**
|
|
5827
5835
|
* Facebook Profile Posts
|
|
5828
5836
|
*
|
|
5829
|
-
* List a Facebook page's recent posts by URL or page id with cursor pagination (text, author, permalink)
|
|
5837
|
+
* List a Facebook page's recent posts by URL or page id with cursor pagination (text, author, permalink).
|
|
5830
5838
|
*
|
|
5831
5839
|
* Price: $0.002 per request.
|
|
5832
5840
|
*
|
|
@@ -5837,7 +5845,7 @@ declare class FacebookNamespace {
|
|
|
5837
5845
|
/**
|
|
5838
5846
|
* Facebook Profile Reels
|
|
5839
5847
|
*
|
|
5840
|
-
* List a Facebook page's reels by URL with cursor pagination (caption, view count, permalink, thumbnail)
|
|
5848
|
+
* List a Facebook page's reels by URL with cursor pagination (caption, view count, permalink, thumbnail).
|
|
5841
5849
|
*
|
|
5842
5850
|
* Price: $0.002 per request.
|
|
5843
5851
|
*
|
|
@@ -5859,7 +5867,7 @@ declare class FacebookNamespace {
|
|
|
5859
5867
|
/**
|
|
5860
5868
|
* Facebook Page Search
|
|
5861
5869
|
*
|
|
5862
|
-
* Search Facebook Pages by keyword, optionally narrowed to a location, and get structured page profiles (name, category, followers, contact details)
|
|
5870
|
+
* Search Facebook Pages by keyword, optionally narrowed to a location, and get structured page profiles (name, category, followers, contact details).
|
|
5863
5871
|
*
|
|
5864
5872
|
* Price: $0.001 per request plus $0.011 per result (maximum $0.111).
|
|
5865
5873
|
*
|
|
@@ -6551,7 +6559,7 @@ declare class GithubNamespace {
|
|
|
6551
6559
|
/**
|
|
6552
6560
|
* GitHub Repository
|
|
6553
6561
|
*
|
|
6554
|
-
* Fetch a GitHub repository's metadata by URL (stars, forks, language, topics, license, and timestamps)
|
|
6562
|
+
* Fetch a GitHub repository's metadata by URL (stars, forks, language, topics, license, and timestamps).
|
|
6555
6563
|
*
|
|
6556
6564
|
* Price: $0.002 per request.
|
|
6557
6565
|
*
|
|
@@ -6573,7 +6581,7 @@ declare class GithubNamespace {
|
|
|
6573
6581
|
/**
|
|
6574
6582
|
* GitHub Trending Repositories
|
|
6575
6583
|
*
|
|
6576
|
-
* List GitHub Trending repositories (rank, stars, stars gained today, language, and description), filterable by language and time window
|
|
6584
|
+
* List GitHub Trending repositories (rank, stars, stars gained today, language, and description), filterable by language and time window.
|
|
6577
6585
|
*
|
|
6578
6586
|
* Price: $0.002 per request.
|
|
6579
6587
|
*
|
|
@@ -6584,7 +6592,7 @@ declare class GithubNamespace {
|
|
|
6584
6592
|
/**
|
|
6585
6593
|
* GitHub User
|
|
6586
6594
|
*
|
|
6587
|
-
* Fetch a GitHub user's public profile by handle (name, bio, company, location, followers, and repo counts)
|
|
6595
|
+
* Fetch a GitHub user's public profile by handle (name, bio, company, location, followers, and repo counts).
|
|
6588
6596
|
*
|
|
6589
6597
|
* Price: $0.002 per request.
|
|
6590
6598
|
*
|
|
@@ -6613,7 +6621,7 @@ declare class GithubNamespace {
|
|
|
6613
6621
|
/**
|
|
6614
6622
|
* GitHub User Contributions
|
|
6615
6623
|
*
|
|
6616
|
-
* Fetch a GitHub user's contribution graph for a year (total contributions plus per-day counts and heatmap intensity)
|
|
6624
|
+
* Fetch a GitHub user's contribution graph for a year (total contributions plus per-day counts and heatmap intensity).
|
|
6617
6625
|
*
|
|
6618
6626
|
* Price: $0.002 per request.
|
|
6619
6627
|
*
|
|
@@ -6678,7 +6686,7 @@ declare class GithubNamespace {
|
|
|
6678
6686
|
/**
|
|
6679
6687
|
* GitHub User Repositories
|
|
6680
6688
|
*
|
|
6681
|
-
* List a GitHub user's public repositories (name, description, language, stars, and forks) with sorting and cursor pagination
|
|
6689
|
+
* List a GitHub user's public repositories (name, description, language, stars, and forks) with sorting and cursor pagination.
|
|
6682
6690
|
*
|
|
6683
6691
|
* Price: $0.002 per request.
|
|
6684
6692
|
*
|
|
@@ -9400,7 +9408,7 @@ declare class InstagramNamespace {
|
|
|
9400
9408
|
/**
|
|
9401
9409
|
* Instagram Reels by Audio
|
|
9402
9410
|
*
|
|
9403
|
-
* List Instagram reels that use a given audio track by audio id
|
|
9411
|
+
* List Instagram reels that use a given audio track by audio id.
|
|
9404
9412
|
*
|
|
9405
9413
|
* Price: $0.002 per request.
|
|
9406
9414
|
*
|
|
@@ -9418,7 +9426,7 @@ declare class InstagramNamespace {
|
|
|
9418
9426
|
/**
|
|
9419
9427
|
* Instagram Basic Profile
|
|
9420
9428
|
*
|
|
9421
|
-
* Fetch an Instagram account's core public profile fields (followers, posts, bio, verification) by user id
|
|
9429
|
+
* Fetch an Instagram account's core public profile fields (followers, posts, bio, verification) by user id.
|
|
9422
9430
|
*
|
|
9423
9431
|
* Price: $0.002 per request.
|
|
9424
9432
|
*
|
|
@@ -9429,7 +9437,7 @@ declare class InstagramNamespace {
|
|
|
9429
9437
|
/**
|
|
9430
9438
|
* Instagram Profile Embed
|
|
9431
9439
|
*
|
|
9432
|
-
* Fetch the public embed HTML for an Instagram profile by handle
|
|
9440
|
+
* Fetch the public embed HTML for an Instagram profile by handle.
|
|
9433
9441
|
*
|
|
9434
9442
|
* Price: $0.002 per request.
|
|
9435
9443
|
*
|
|
@@ -9476,7 +9484,7 @@ declare class InstagramNamespace {
|
|
|
9476
9484
|
/**
|
|
9477
9485
|
* Instagram Hashtag Analytics
|
|
9478
9486
|
*
|
|
9479
|
-
* Get analytics for any Instagram hashtag (total post count, related hashtags, and usage signals)
|
|
9487
|
+
* Get analytics for any Instagram hashtag (total post count, related hashtags, and usage signals).
|
|
9480
9488
|
*
|
|
9481
9489
|
* Price: $0.001 per request plus $0.0017 per result (maximum $0.035).
|
|
9482
9490
|
*
|
|
@@ -9487,7 +9495,7 @@ declare class InstagramNamespace {
|
|
|
9487
9495
|
/**
|
|
9488
9496
|
* Instagram Highlight Detail
|
|
9489
9497
|
*
|
|
9490
|
-
* Fetch the details and media items of a single Instagram story highlight by id
|
|
9498
|
+
* Fetch the details and media items of a single Instagram story highlight by id.
|
|
9491
9499
|
*
|
|
9492
9500
|
* Price: $0.002 per request.
|
|
9493
9501
|
*
|
|
@@ -9498,7 +9506,7 @@ declare class InstagramNamespace {
|
|
|
9498
9506
|
/**
|
|
9499
9507
|
* Instagram Media Transcript
|
|
9500
9508
|
*
|
|
9501
|
-
* Get the spoken-audio transcript text for an Instagram post or reel by URL
|
|
9509
|
+
* Get the spoken-audio transcript text for an Instagram post or reel by URL.
|
|
9502
9510
|
*
|
|
9503
9511
|
* Price: $0.002 per request.
|
|
9504
9512
|
*
|
|
@@ -9509,7 +9517,7 @@ declare class InstagramNamespace {
|
|
|
9509
9517
|
/**
|
|
9510
9518
|
* Instagram Post
|
|
9511
9519
|
*
|
|
9512
|
-
* Fetch a single Instagram post or reel by URL (media URLs, like count, owner, type) as normalized JSON
|
|
9520
|
+
* Fetch a single Instagram post or reel by URL (media URLs, like count, owner, type) as normalized JSON.
|
|
9513
9521
|
*
|
|
9514
9522
|
* Price: $0.002 per request.
|
|
9515
9523
|
*
|
|
@@ -9520,7 +9528,7 @@ declare class InstagramNamespace {
|
|
|
9520
9528
|
/**
|
|
9521
9529
|
* Instagram Post Comments
|
|
9522
9530
|
*
|
|
9523
|
-
* List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes)
|
|
9531
|
+
* List the comments on an Instagram post or reel by URL with cursor pagination (text, author, likes).
|
|
9524
9532
|
*
|
|
9525
9533
|
* Price: $0.002 per request.
|
|
9526
9534
|
*
|
|
@@ -9531,7 +9539,7 @@ declare class InstagramNamespace {
|
|
|
9531
9539
|
/**
|
|
9532
9540
|
* Instagram Profile
|
|
9533
9541
|
*
|
|
9534
|
-
* Fetch an Instagram account's public profile (followers, posts, bio, verification) by handle
|
|
9542
|
+
* Fetch an Instagram account's public profile (followers, posts, bio, verification) by handle.
|
|
9535
9543
|
*
|
|
9536
9544
|
* Price: $0.002 per request.
|
|
9537
9545
|
*
|
|
@@ -9553,7 +9561,7 @@ declare class InstagramNamespace {
|
|
|
9553
9561
|
/**
|
|
9554
9562
|
* Instagram Reels Search
|
|
9555
9563
|
*
|
|
9556
|
-
* Search Instagram Reels by keyword and get matching reels (caption, views, likes, creator, and duration)
|
|
9564
|
+
* Search Instagram Reels by keyword and get matching reels (caption, views, likes, creator, and duration). Paging tops out around 110 reels per query (11 pages of 10).
|
|
9557
9565
|
*
|
|
9558
9566
|
* Price: $0.002 per request.
|
|
9559
9567
|
*
|
|
@@ -9575,7 +9583,7 @@ declare class InstagramNamespace {
|
|
|
9575
9583
|
/**
|
|
9576
9584
|
* Instagram Hashtag Search
|
|
9577
9585
|
*
|
|
9578
|
-
*
|
|
9586
|
+
* Search Instagram posts under a hashtag (caption, type, media URL). Results are relevance-ranked by Instagram, not date-ordered, so a page can mix recent and older posts.
|
|
9579
9587
|
*
|
|
9580
9588
|
* Price: $0.002 per request.
|
|
9581
9589
|
*
|
|
@@ -9586,7 +9594,7 @@ declare class InstagramNamespace {
|
|
|
9586
9594
|
/**
|
|
9587
9595
|
* Instagram Profile Search
|
|
9588
9596
|
*
|
|
9589
|
-
* Search public Instagram profiles by a bio or caption keyword
|
|
9597
|
+
* Search public Instagram profiles by a bio or caption keyword.
|
|
9590
9598
|
*
|
|
9591
9599
|
* Price: $0.002 per request.
|
|
9592
9600
|
*
|
|
@@ -9626,7 +9634,7 @@ declare class InstagramNamespace {
|
|
|
9626
9634
|
/**
|
|
9627
9635
|
* Instagram Trending Reels
|
|
9628
9636
|
*
|
|
9629
|
-
* List currently trending Instagram reels
|
|
9637
|
+
* List currently trending Instagram reels.
|
|
9630
9638
|
*
|
|
9631
9639
|
* Price: $0.002 per request.
|
|
9632
9640
|
*
|
|
@@ -9637,7 +9645,7 @@ declare class InstagramNamespace {
|
|
|
9637
9645
|
/**
|
|
9638
9646
|
* Instagram User Highlights
|
|
9639
9647
|
*
|
|
9640
|
-
* List an Instagram account's story highlight reels by handle
|
|
9648
|
+
* List an Instagram account's story highlight reels by handle.
|
|
9641
9649
|
*
|
|
9642
9650
|
* Price: $0.002 per request.
|
|
9643
9651
|
*
|
|
@@ -9648,7 +9656,7 @@ declare class InstagramNamespace {
|
|
|
9648
9656
|
/**
|
|
9649
9657
|
* Instagram User Posts
|
|
9650
9658
|
*
|
|
9651
|
-
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination
|
|
9659
|
+
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
|
|
9652
9660
|
*
|
|
9653
9661
|
* Price: $0.002 per request.
|
|
9654
9662
|
*
|
|
@@ -9666,7 +9674,7 @@ declare class InstagramNamespace {
|
|
|
9666
9674
|
/**
|
|
9667
9675
|
* Instagram User Reels
|
|
9668
9676
|
*
|
|
9669
|
-
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments)
|
|
9677
|
+
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
9670
9678
|
*
|
|
9671
9679
|
* Price: $0.002 per request.
|
|
9672
9680
|
*
|
|
@@ -11928,7 +11936,7 @@ declare class LinkedinNamespace {
|
|
|
11928
11936
|
/**
|
|
11929
11937
|
* LinkedIn Post
|
|
11930
11938
|
*
|
|
11931
|
-
* Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date)
|
|
11939
|
+
* Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
|
|
11932
11940
|
*
|
|
11933
11941
|
* Price: $0.001 per request.
|
|
11934
11942
|
*
|
|
@@ -12005,7 +12013,7 @@ declare class LinkedinNamespace {
|
|
|
12005
12013
|
/**
|
|
12006
12014
|
* LinkedIn Post Search
|
|
12007
12015
|
*
|
|
12008
|
-
* Search public LinkedIn posts by keyword (text, link, publish date)
|
|
12016
|
+
* Search public LinkedIn posts by keyword (text, link, publish date).
|
|
12009
12017
|
*
|
|
12010
12018
|
* Price: $0.002 per request.
|
|
12011
12019
|
*
|
|
@@ -13789,7 +13797,7 @@ declare class RedditNamespace {
|
|
|
13789
13797
|
/**
|
|
13790
13798
|
* Reddit Post Comments
|
|
13791
13799
|
*
|
|
13792
|
-
* List the top-level comments on a Reddit post by URL (author, body, score, timestamp)
|
|
13800
|
+
* List the top-level comments on a Reddit post by URL (author, body, score, timestamp).
|
|
13793
13801
|
*
|
|
13794
13802
|
* Price: $0.002 per request.
|
|
13795
13803
|
*
|
|
@@ -13800,7 +13808,7 @@ declare class RedditNamespace {
|
|
|
13800
13808
|
/**
|
|
13801
13809
|
* Reddit Post Transcript
|
|
13802
13810
|
*
|
|
13803
|
-
* Extract the spoken transcript from a Reddit video post by URL
|
|
13811
|
+
* Extract the spoken transcript from a Reddit video post by URL.
|
|
13804
13812
|
*
|
|
13805
13813
|
* Price: $0.002 per request.
|
|
13806
13814
|
*
|
|
@@ -13811,7 +13819,7 @@ declare class RedditNamespace {
|
|
|
13811
13819
|
/**
|
|
13812
13820
|
* Reddit Search
|
|
13813
13821
|
*
|
|
13814
|
-
* Search Reddit posts across all subreddits by query
|
|
13822
|
+
* Search Reddit posts across all subreddits by query.
|
|
13815
13823
|
*
|
|
13816
13824
|
* Price: $0.001 per request.
|
|
13817
13825
|
*
|
|
@@ -13829,7 +13837,7 @@ declare class RedditNamespace {
|
|
|
13829
13837
|
/**
|
|
13830
13838
|
* Reddit Subreddit Details
|
|
13831
13839
|
*
|
|
13832
|
-
* Fetch a subreddit's metadata (weekly active users, description, and category)
|
|
13840
|
+
* Fetch a subreddit's metadata (weekly active users, description, and category).
|
|
13833
13841
|
*
|
|
13834
13842
|
* Price: $0.001 per request.
|
|
13835
13843
|
*
|
|
@@ -13840,7 +13848,7 @@ declare class RedditNamespace {
|
|
|
13840
13848
|
/**
|
|
13841
13849
|
* Reddit Subreddit Posts
|
|
13842
13850
|
*
|
|
13843
|
-
* Fetch posts from a subreddit listing (hot, new, or top)
|
|
13851
|
+
* Fetch posts from a subreddit listing (hot, new, or top).
|
|
13844
13852
|
*
|
|
13845
13853
|
* Price: $0.002 per request.
|
|
13846
13854
|
*
|
|
@@ -13851,7 +13859,7 @@ declare class RedditNamespace {
|
|
|
13851
13859
|
/**
|
|
13852
13860
|
* Reddit Subreddit Search
|
|
13853
13861
|
*
|
|
13854
|
-
* Search posts within a single subreddit by query, sort, and timeframe
|
|
13862
|
+
* Search posts within a single subreddit by query, sort, and timeframe.
|
|
13855
13863
|
*
|
|
13856
13864
|
* Price: $0.002 per request.
|
|
13857
13865
|
*
|
|
@@ -18064,7 +18072,7 @@ declare class TiktokNamespace {
|
|
|
18064
18072
|
/**
|
|
18065
18073
|
* TikTok Ad Library Ad
|
|
18066
18074
|
*
|
|
18067
|
-
* Fetch full details for a single TikTok ad (brand, title, spend, CTR, objectives, landing page, and video info)
|
|
18075
|
+
* Fetch full details for a single TikTok ad (brand, title, spend, CTR, objectives, landing page, and video info).
|
|
18068
18076
|
*
|
|
18069
18077
|
* Price: $0.002 per request.
|
|
18070
18078
|
*
|
|
@@ -18075,7 +18083,7 @@ declare class TiktokNamespace {
|
|
|
18075
18083
|
/**
|
|
18076
18084
|
* TikTok Ad Library Search
|
|
18077
18085
|
*
|
|
18078
|
-
* Search TikTok's ad library by keyword (top ads with brand, title, spend, CTR, likes, and video info)
|
|
18086
|
+
* Search TikTok's ad library by keyword (top ads with brand, title, spend, CTR, likes, and video info).
|
|
18079
18087
|
*
|
|
18080
18088
|
* Price: $0.002 per request.
|
|
18081
18089
|
*
|
|
@@ -18093,7 +18101,7 @@ declare class TiktokNamespace {
|
|
|
18093
18101
|
/**
|
|
18094
18102
|
* TikTok Audience Demographics
|
|
18095
18103
|
*
|
|
18096
|
-
* Get the audience country breakdown (follower count and share per country) for a TikTok creator by handle
|
|
18104
|
+
* Get the audience country breakdown (follower count and share per country) for a TikTok creator by handle.
|
|
18097
18105
|
*
|
|
18098
18106
|
* Price: $0.01625 per request.
|
|
18099
18107
|
*
|
|
@@ -18104,7 +18112,7 @@ declare class TiktokNamespace {
|
|
|
18104
18112
|
/**
|
|
18105
18113
|
* TikTok Comment Replies
|
|
18106
18114
|
*
|
|
18107
|
-
* List the replies to a TikTok comment with cursor pagination (text, author, likes)
|
|
18115
|
+
* List the replies to a TikTok comment with cursor pagination (text, author, likes).
|
|
18108
18116
|
*
|
|
18109
18117
|
* Price: $0.002 per request.
|
|
18110
18118
|
*
|
|
@@ -18140,7 +18148,7 @@ declare class TiktokNamespace {
|
|
|
18140
18148
|
/**
|
|
18141
18149
|
* TikTok Following
|
|
18142
18150
|
*
|
|
18143
|
-
* List the accounts a TikTok user follows (handle, display name, follower count, bio) by username
|
|
18151
|
+
* List the accounts a TikTok user follows (handle, display name, follower count, bio) by username.
|
|
18144
18152
|
*
|
|
18145
18153
|
* Price: $0.002 per request.
|
|
18146
18154
|
*
|
|
@@ -18151,7 +18159,7 @@ declare class TiktokNamespace {
|
|
|
18151
18159
|
/**
|
|
18152
18160
|
* TikTok Hashtag Videos
|
|
18153
18161
|
*
|
|
18154
|
-
* List recent TikTok videos for a hashtag (creator, caption, views, likes, shares)
|
|
18162
|
+
* List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
|
|
18155
18163
|
*
|
|
18156
18164
|
* Price: $0.00325 per request.
|
|
18157
18165
|
*
|
|
@@ -18162,7 +18170,7 @@ declare class TiktokNamespace {
|
|
|
18162
18170
|
/**
|
|
18163
18171
|
* TikTok Live
|
|
18164
18172
|
*
|
|
18165
|
-
* Check whether a TikTok creator is live and get the current live room (title, viewers, start time) by handle
|
|
18173
|
+
* Check whether a TikTok creator is live and get the current live room (title, viewers, start time) by handle.
|
|
18166
18174
|
*
|
|
18167
18175
|
* Price: $0.002 per request.
|
|
18168
18176
|
*
|
|
@@ -18173,7 +18181,7 @@ declare class TiktokNamespace {
|
|
|
18173
18181
|
/**
|
|
18174
18182
|
* TikTok Profile
|
|
18175
18183
|
*
|
|
18176
|
-
* Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle
|
|
18184
|
+
* Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
|
|
18177
18185
|
*
|
|
18178
18186
|
* Price: $0.001 per request.
|
|
18179
18187
|
*
|
|
@@ -18184,7 +18192,7 @@ declare class TiktokNamespace {
|
|
|
18184
18192
|
/**
|
|
18185
18193
|
* TikTok Profile Region
|
|
18186
18194
|
*
|
|
18187
|
-
* Resolve the home region (country) of a TikTok creator by handle
|
|
18195
|
+
* Resolve the home region (country) of a TikTok creator by handle.
|
|
18188
18196
|
*
|
|
18189
18197
|
* Price: $0.002 per request.
|
|
18190
18198
|
*
|
|
@@ -18195,7 +18203,7 @@ declare class TiktokNamespace {
|
|
|
18195
18203
|
/**
|
|
18196
18204
|
* TikTok Profile Videos
|
|
18197
18205
|
*
|
|
18198
|
-
* List a TikTok creator's recent videos (views, likes, comments) by handle with cursor pagination
|
|
18206
|
+
* List a TikTok creator's recent videos (views, likes, comments) by handle with cursor pagination.
|
|
18199
18207
|
*
|
|
18200
18208
|
* Price: $0.001 per request.
|
|
18201
18209
|
*
|
|
@@ -18213,7 +18221,7 @@ declare class TiktokNamespace {
|
|
|
18213
18221
|
/**
|
|
18214
18222
|
* TikTok Hashtag Search
|
|
18215
18223
|
*
|
|
18216
|
-
* Search TikTok by hashtag and get matching videos (caption, views, likes, comments, shares) as normalized JSON
|
|
18224
|
+
* Search TikTok by hashtag and get matching videos (caption, views, likes, comments, shares) as normalized JSON.
|
|
18217
18225
|
*
|
|
18218
18226
|
* Price: $0.002 per request.
|
|
18219
18227
|
*
|
|
@@ -18224,7 +18232,7 @@ declare class TiktokNamespace {
|
|
|
18224
18232
|
/**
|
|
18225
18233
|
* TikTok Keyword Search
|
|
18226
18234
|
*
|
|
18227
|
-
* Search TikTok by keyword and get matching videos (caption, views, likes, comments, shares) as normalized JSON
|
|
18235
|
+
* Search TikTok by keyword and get matching videos (caption, views, likes, comments, shares) as normalized JSON.
|
|
18228
18236
|
*
|
|
18229
18237
|
* Price: $0.001 per request.
|
|
18230
18238
|
*
|
|
@@ -18235,7 +18243,7 @@ declare class TiktokNamespace {
|
|
|
18235
18243
|
/**
|
|
18236
18244
|
* TikTok Top Search
|
|
18237
18245
|
*
|
|
18238
|
-
* Search TikTok's top results for a keyword (caption, views, likes, comments, shares) with cursor pagination
|
|
18246
|
+
* Search TikTok's top results for a keyword (caption, views, likes, comments, shares) with cursor pagination.
|
|
18239
18247
|
*
|
|
18240
18248
|
* Price: $0.002 per request.
|
|
18241
18249
|
*
|
|
@@ -18253,7 +18261,7 @@ declare class TiktokNamespace {
|
|
|
18253
18261
|
/**
|
|
18254
18262
|
* TikTok User Search
|
|
18255
18263
|
*
|
|
18256
|
-
* Search TikTok accounts by keyword (handle, nickname, follower count) with cursor pagination
|
|
18264
|
+
* Search TikTok accounts by keyword (handle, nickname, follower count) with cursor pagination.
|
|
18257
18265
|
*
|
|
18258
18266
|
* Price: $0.001 per request.
|
|
18259
18267
|
*
|
|
@@ -18271,7 +18279,7 @@ declare class TiktokNamespace {
|
|
|
18271
18279
|
/**
|
|
18272
18280
|
* TikTok Song
|
|
18273
18281
|
*
|
|
18274
|
-
* Fetch details for a TikTok song or sound (title, author, duration, cover art, and how many videos use it)
|
|
18282
|
+
* Fetch details for a TikTok song or sound (title, author, duration, cover art, and how many videos use it).
|
|
18275
18283
|
*
|
|
18276
18284
|
* Price: $0.002 per request.
|
|
18277
18285
|
*
|
|
@@ -18282,7 +18290,7 @@ declare class TiktokNamespace {
|
|
|
18282
18290
|
/**
|
|
18283
18291
|
* TikTok Song Videos
|
|
18284
18292
|
*
|
|
18285
|
-
* List TikTok videos that use a given song or sound (with descriptions, authors, and engagement stats)
|
|
18293
|
+
* List TikTok videos that use a given song or sound (with descriptions, authors, and engagement stats).
|
|
18286
18294
|
*
|
|
18287
18295
|
* Price: $0.002 per request.
|
|
18288
18296
|
*
|
|
@@ -18300,7 +18308,7 @@ declare class TiktokNamespace {
|
|
|
18300
18308
|
/**
|
|
18301
18309
|
* TikTok Trending Feed
|
|
18302
18310
|
*
|
|
18303
|
-
* Get TikTok's trending feed for a region (caption, views, likes, comments, author) as normalized JSON
|
|
18311
|
+
* Get TikTok's trending feed for a region (caption, views, likes, comments, author) as normalized JSON.
|
|
18304
18312
|
*
|
|
18305
18313
|
* Price: $0.002 per request.
|
|
18306
18314
|
*
|
|
@@ -18311,7 +18319,7 @@ declare class TiktokNamespace {
|
|
|
18311
18319
|
/**
|
|
18312
18320
|
* TikTok Video
|
|
18313
18321
|
*
|
|
18314
|
-
* Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves)
|
|
18322
|
+
* Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
|
|
18315
18323
|
*
|
|
18316
18324
|
* Price: $0.001 per request.
|
|
18317
18325
|
*
|
|
@@ -18322,7 +18330,7 @@ declare class TiktokNamespace {
|
|
|
18322
18330
|
/**
|
|
18323
18331
|
* TikTok Video Comments
|
|
18324
18332
|
*
|
|
18325
|
-
* List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count)
|
|
18333
|
+
* List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count).
|
|
18326
18334
|
*
|
|
18327
18335
|
* Price: $0.002 per request.
|
|
18328
18336
|
*
|
|
@@ -18340,7 +18348,7 @@ declare class TiktokNamespace {
|
|
|
18340
18348
|
/**
|
|
18341
18349
|
* TikTok Video Transcript
|
|
18342
18350
|
*
|
|
18343
|
-
* Fetch the spoken-word transcript of a TikTok video by URL
|
|
18351
|
+
* Fetch the spoken-word transcript of a TikTok video by URL.
|
|
18344
18352
|
*
|
|
18345
18353
|
* Price: $0.002 per request.
|
|
18346
18354
|
*
|
|
@@ -18676,7 +18684,7 @@ declare class TiktokShopNamespace {
|
|
|
18676
18684
|
/**
|
|
18677
18685
|
* TikTok Shop Product Reviews
|
|
18678
18686
|
*
|
|
18679
|
-
* Fetch customer reviews for a TikTok Shop product by URL (rating, text, reviewer, country, and verified-purchase flag)
|
|
18687
|
+
* Fetch customer reviews for a TikTok Shop product by URL (rating, text, reviewer, country, and verified-purchase flag).
|
|
18680
18688
|
*
|
|
18681
18689
|
* Price: $0.002 per request.
|
|
18682
18690
|
*
|
|
@@ -18698,7 +18706,7 @@ declare class TiktokShopNamespace {
|
|
|
18698
18706
|
/**
|
|
18699
18707
|
* TikTok Shop Store Products
|
|
18700
18708
|
*
|
|
18701
|
-
* List every product of a TikTok Shop store by URL (title, price, sales, and rating per product plus shop-level stats) with cursor pagination
|
|
18709
|
+
* List every product of a TikTok Shop store by URL (title, price, sales, and rating per product plus shop-level stats) with cursor pagination.
|
|
18702
18710
|
*
|
|
18703
18711
|
* Price: $0.002 per request.
|
|
18704
18712
|
*
|
|
@@ -18716,7 +18724,7 @@ declare class TiktokShopNamespace {
|
|
|
18716
18724
|
/**
|
|
18717
18725
|
* TikTok Shop User Showcase
|
|
18718
18726
|
*
|
|
18719
|
-
* List the TikTok Shop products a creator showcases (title, price, rating, and sales per product)
|
|
18727
|
+
* List the TikTok Shop products a creator showcases (title, price, rating, and sales per product).
|
|
18720
18728
|
*
|
|
18721
18729
|
* Price: $0.002 per request.
|
|
18722
18730
|
*
|
|
@@ -20126,7 +20134,7 @@ declare class TwitterNamespace {
|
|
|
20126
20134
|
/**
|
|
20127
20135
|
* Twitter Community
|
|
20128
20136
|
*
|
|
20129
|
-
* Fetch a Twitter/X community's public details (name, description, member count, join policy) by URL
|
|
20137
|
+
* Fetch a Twitter/X community's public details (name, description, member count, join policy) by URL.
|
|
20130
20138
|
*
|
|
20131
20139
|
* Price: $0.002 per request.
|
|
20132
20140
|
*
|
|
@@ -20137,7 +20145,7 @@ declare class TwitterNamespace {
|
|
|
20137
20145
|
/**
|
|
20138
20146
|
* Twitter Community Tweets
|
|
20139
20147
|
*
|
|
20140
|
-
* List recent tweets posted in a Twitter/X community by URL
|
|
20148
|
+
* List recent tweets posted in a Twitter/X community by URL.
|
|
20141
20149
|
*
|
|
20142
20150
|
* Price: $0.002 per request.
|
|
20143
20151
|
*
|
|
@@ -20184,7 +20192,7 @@ declare class TwitterNamespace {
|
|
|
20184
20192
|
/**
|
|
20185
20193
|
* Twitter Profile
|
|
20186
20194
|
*
|
|
20187
|
-
* Fetch a Twitter/X account's public profile (followers, tweets, bio, verification) by handle
|
|
20195
|
+
* Fetch a Twitter/X account's public profile (followers, tweets, bio, verification) by handle.
|
|
20188
20196
|
*
|
|
20189
20197
|
* Price: $0.00075 per request.
|
|
20190
20198
|
*
|
|
@@ -20235,7 +20243,7 @@ declare class TwitterNamespace {
|
|
|
20235
20243
|
/**
|
|
20236
20244
|
* Twitter Tweet
|
|
20237
20245
|
*
|
|
20238
|
-
* Fetch a single Twitter/X tweet by URL with its full text and engagement counts (likes, retweets, replies, quotes, bookmarks, views)
|
|
20246
|
+
* Fetch a single Twitter/X tweet by URL with its full text and engagement counts (likes, retweets, replies, quotes, bookmarks, views).
|
|
20239
20247
|
*
|
|
20240
20248
|
* Price: $0.00075 per request.
|
|
20241
20249
|
*
|
|
@@ -20246,7 +20254,7 @@ declare class TwitterNamespace {
|
|
|
20246
20254
|
/**
|
|
20247
20255
|
* Twitter Tweet Transcript
|
|
20248
20256
|
*
|
|
20249
|
-
* Extract the spoken transcript from a Twitter/X video tweet by URL
|
|
20257
|
+
* Extract the spoken transcript from a Twitter/X video tweet by URL.
|
|
20250
20258
|
*
|
|
20251
20259
|
* Price: $0.002 per request.
|
|
20252
20260
|
*
|
|
@@ -22341,7 +22349,7 @@ declare class YoutubeNamespace {
|
|
|
22341
22349
|
/**
|
|
22342
22350
|
* YouTube Channel
|
|
22343
22351
|
*
|
|
22344
|
-
* Fetch a YouTube channel's stats (subscribers, video count, total views, description) by handle or channel ID
|
|
22352
|
+
* Fetch a YouTube channel's stats (subscribers, video count, total views, description) by handle or channel ID.
|
|
22345
22353
|
*
|
|
22346
22354
|
* Price: $0.002 per request.
|
|
22347
22355
|
*
|
|
@@ -22352,7 +22360,7 @@ declare class YoutubeNamespace {
|
|
|
22352
22360
|
/**
|
|
22353
22361
|
* YouTube Channel Community Posts
|
|
22354
22362
|
*
|
|
22355
|
-
* List a YouTube channel's community posts by handle or channel ID with cursor pagination (text, likes, image, publish time)
|
|
22363
|
+
* List a YouTube channel's community posts by handle or channel ID with cursor pagination (text, likes, image, publish time).
|
|
22356
22364
|
*
|
|
22357
22365
|
* Price: $0.002 per request.
|
|
22358
22366
|
*
|
|
@@ -22370,7 +22378,7 @@ declare class YoutubeNamespace {
|
|
|
22370
22378
|
/**
|
|
22371
22379
|
* YouTube Channel Live Streams
|
|
22372
22380
|
*
|
|
22373
|
-
* List a YouTube channel's live and past-live streams by handle or channel ID with cursor pagination (title, views, length, publish time)
|
|
22381
|
+
* List a YouTube channel's live and past-live streams by handle or channel ID with cursor pagination (title, views, length, publish time).
|
|
22374
22382
|
*
|
|
22375
22383
|
* Price: $0.002 per request.
|
|
22376
22384
|
*
|
|
@@ -22388,7 +22396,7 @@ declare class YoutubeNamespace {
|
|
|
22388
22396
|
/**
|
|
22389
22397
|
* YouTube Channel Playlists
|
|
22390
22398
|
*
|
|
22391
|
-
* List a YouTube channel's playlists by handle or channel ID with cursor pagination (title, video count, thumbnail)
|
|
22399
|
+
* List a YouTube channel's playlists by handle or channel ID with cursor pagination (title, video count, thumbnail).
|
|
22392
22400
|
*
|
|
22393
22401
|
* Price: $0.002 per request.
|
|
22394
22402
|
*
|
|
@@ -22406,7 +22414,7 @@ declare class YoutubeNamespace {
|
|
|
22406
22414
|
/**
|
|
22407
22415
|
* YouTube Channel Shorts
|
|
22408
22416
|
*
|
|
22409
|
-
* List a YouTube channel's Shorts by handle or channel ID with cursor pagination (title, views, likes, duration)
|
|
22417
|
+
* List a YouTube channel's Shorts by handle or channel ID with cursor pagination (title, views, likes, duration).
|
|
22410
22418
|
*
|
|
22411
22419
|
* Price: $0.002 per request.
|
|
22412
22420
|
*
|
|
@@ -22424,7 +22432,7 @@ declare class YoutubeNamespace {
|
|
|
22424
22432
|
/**
|
|
22425
22433
|
* YouTube Channel Videos
|
|
22426
22434
|
*
|
|
22427
|
-
* List a YouTube channel's videos by handle or channel ID with cursor pagination (title, views, length, publish time)
|
|
22435
|
+
* List a YouTube channel's videos by handle or channel ID with cursor pagination (title, views, length, publish time).
|
|
22428
22436
|
*
|
|
22429
22437
|
* Price: $0.002 per request.
|
|
22430
22438
|
*
|
|
@@ -22442,7 +22450,7 @@ declare class YoutubeNamespace {
|
|
|
22442
22450
|
/**
|
|
22443
22451
|
* YouTube Comment Replies
|
|
22444
22452
|
*
|
|
22445
|
-
* List replies to a YouTube comment using a continuation token with cursor pagination (text, author, likes, publish time)
|
|
22453
|
+
* List replies to a YouTube comment using a continuation token with cursor pagination (text, author, likes, publish time).
|
|
22446
22454
|
*
|
|
22447
22455
|
* Price: $0.002 per request.
|
|
22448
22456
|
*
|
|
@@ -22453,7 +22461,7 @@ declare class YoutubeNamespace {
|
|
|
22453
22461
|
/**
|
|
22454
22462
|
* YouTube Community Post
|
|
22455
22463
|
*
|
|
22456
|
-
* Fetch a single YouTube community post by URL (text, images, channel, publish time)
|
|
22464
|
+
* Fetch a single YouTube community post by URL (text, images, channel, publish time).
|
|
22457
22465
|
*
|
|
22458
22466
|
* Price: $0.002 per request.
|
|
22459
22467
|
*
|
|
@@ -22464,7 +22472,7 @@ declare class YoutubeNamespace {
|
|
|
22464
22472
|
/**
|
|
22465
22473
|
* YouTube Playlist
|
|
22466
22474
|
*
|
|
22467
|
-
* List every video in a YouTube playlist (title, length, and channel per video plus playlist owner and totals)
|
|
22475
|
+
* List every video in a YouTube playlist (title, length, and channel per video plus playlist owner and totals).
|
|
22468
22476
|
*
|
|
22469
22477
|
* Price: $0.002 per request.
|
|
22470
22478
|
*
|
|
@@ -22475,7 +22483,7 @@ declare class YoutubeNamespace {
|
|
|
22475
22483
|
/**
|
|
22476
22484
|
* YouTube Search
|
|
22477
22485
|
*
|
|
22478
|
-
* Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON
|
|
22486
|
+
* Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
|
|
22479
22487
|
*
|
|
22480
22488
|
* Price: $0.002 per request.
|
|
22481
22489
|
*
|
|
@@ -22486,7 +22494,7 @@ declare class YoutubeNamespace {
|
|
|
22486
22494
|
/**
|
|
22487
22495
|
* YouTube Hashtag Search
|
|
22488
22496
|
*
|
|
22489
|
-
* Search YouTube videos by hashtag with cursor pagination (title, channel, views, length, publish time)
|
|
22497
|
+
* Search YouTube videos by hashtag with cursor pagination (title, channel, views, length, publish time).
|
|
22490
22498
|
*
|
|
22491
22499
|
* Price: $0.002 per request.
|
|
22492
22500
|
*
|
|
@@ -22504,7 +22512,7 @@ declare class YoutubeNamespace {
|
|
|
22504
22512
|
/**
|
|
22505
22513
|
* YouTube Trending Shorts
|
|
22506
22514
|
*
|
|
22507
|
-
* List currently trending YouTube Shorts (title, channel, views, likes, duration)
|
|
22515
|
+
* List currently trending YouTube Shorts (title, channel, views, likes, duration).
|
|
22508
22516
|
*
|
|
22509
22517
|
* Price: $0.002 per request.
|
|
22510
22518
|
*
|
|
@@ -22515,7 +22523,7 @@ declare class YoutubeNamespace {
|
|
|
22515
22523
|
/**
|
|
22516
22524
|
* YouTube Video
|
|
22517
22525
|
*
|
|
22518
|
-
* Fetch a YouTube video's metadata (title, channel, views, likes, duration, publish date) by URL or ID
|
|
22526
|
+
* Fetch a YouTube video's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
22519
22527
|
*
|
|
22520
22528
|
* Price: $0.002 per request.
|
|
22521
22529
|
*
|
|
@@ -22526,7 +22534,7 @@ declare class YoutubeNamespace {
|
|
|
22526
22534
|
/**
|
|
22527
22535
|
* YouTube Video Comments
|
|
22528
22536
|
*
|
|
22529
|
-
* List the comments on a YouTube video by URL with cursor pagination (text, author, likes, reply count)
|
|
22537
|
+
* List the comments on a YouTube video by URL with cursor pagination (text, author, likes, reply count).
|
|
22530
22538
|
*
|
|
22531
22539
|
* Price: $0.002 per request.
|
|
22532
22540
|
*
|
|
@@ -22544,7 +22552,7 @@ declare class YoutubeNamespace {
|
|
|
22544
22552
|
/**
|
|
22545
22553
|
* YouTube Video Sponsors
|
|
22546
22554
|
*
|
|
22547
|
-
* Detect suspected sponsors and paid promotions in a YouTube video by URL (sponsor names, websites, confidence)
|
|
22555
|
+
* Detect suspected sponsors and paid promotions in a YouTube video by URL (sponsor names, websites, confidence).
|
|
22548
22556
|
*
|
|
22549
22557
|
* Price: $0.002 per request.
|
|
22550
22558
|
*
|
|
@@ -22555,7 +22563,7 @@ declare class YoutubeNamespace {
|
|
|
22555
22563
|
/**
|
|
22556
22564
|
* YouTube Video Transcript
|
|
22557
22565
|
*
|
|
22558
|
-
* Fetch the transcript/captions of a YouTube video by URL or ID
|
|
22566
|
+
* Fetch the transcript/captions of a YouTube video by URL or ID.
|
|
22559
22567
|
*
|
|
22560
22568
|
* Price: $0.002 per request.
|
|
22561
22569
|
*
|
|
@@ -24764,7 +24772,7 @@ declare class AnyAPI extends AnyAPI$1 {
|
|
|
24764
24772
|
* result type from the SkuMap; any other string returns RunResult<unknown>.
|
|
24765
24773
|
*/
|
|
24766
24774
|
run<K extends keyof SkuMap>(slug: K, input: SkuMap[K]["input"], options?: RequestOptions): Promise<SkuMap[K]["result"]>;
|
|
24767
|
-
run<S extends string
|
|
24775
|
+
run<T = unknown, S extends string = string>(slug: S extends keyof SkuMap ? never : S, input: unknown, options?: RequestOptions): Promise<RunResult<T>>;
|
|
24768
24776
|
/**
|
|
24769
24777
|
* Typed methods for the ahrefs platform.
|
|
24770
24778
|
*/
|