@scrapecreators/cli 1.0.7 → 1.0.9
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/api-config/apis.js +1 -1
- package/api-config/instagram-apis.js +64 -0
- package/package.json +1 -1
package/api-config/apis.js
CHANGED
|
@@ -4177,7 +4177,7 @@ export const apis = [
|
|
|
4177
4177
|
method: "GET",
|
|
4178
4178
|
description: "Get the replies to a comment.",
|
|
4179
4179
|
fullDescription: "Get the replies to a comment.",
|
|
4180
|
-
path: "/v1/facebook/
|
|
4180
|
+
path: "/v1/facebook/post/comment/replies",
|
|
4181
4181
|
params: [
|
|
4182
4182
|
{
|
|
4183
4183
|
name: "feedback_id",
|
|
@@ -491,6 +491,70 @@ export const instagramBaseApis = {
|
|
|
491
491
|
},
|
|
492
492
|
],
|
|
493
493
|
},
|
|
494
|
+
{
|
|
495
|
+
name: "Trending Reels",
|
|
496
|
+
method: "GET",
|
|
497
|
+
description:
|
|
498
|
+
"Get trending reels from Instagram. Call this endpoint again to get new-ish results. There can be duplicates because this uses Instagram's public instagram.com/reels page, and that is how the page behaves too.",
|
|
499
|
+
fullDescription:
|
|
500
|
+
"Fetches trending reels from Instagram's public instagram.com/reels page. Instagram only gives a small batch at a time and the results can overlap, so call this endpoint over and over when you want more. Each call should return new-ish results, but expect some duplicates because that is how Instagram's reels page behaves too. Returns `reels`, an array of reel objects with shortcode, URL, caption, media URLs, engagement counts when Instagram exposes them, and user info.",
|
|
501
|
+
path: "/v1/instagram/reels/trending",
|
|
502
|
+
params: [],
|
|
503
|
+
sampleResponse: {
|
|
504
|
+
success: true,
|
|
505
|
+
credits_remaining: 100,
|
|
506
|
+
data: {
|
|
507
|
+
reels: [
|
|
508
|
+
{
|
|
509
|
+
id: "3659267353687104516",
|
|
510
|
+
pk: "3659267353687104516",
|
|
511
|
+
shortcode: "DYt13O8gLoE",
|
|
512
|
+
url: "https://www.instagram.com/reel/DYt13O8gLoE/",
|
|
513
|
+
caption: "Funny clip from today",
|
|
514
|
+
taken_at: "2026-01-02T18:32:11.000Z",
|
|
515
|
+
media_type: 2,
|
|
516
|
+
product_type: "clips",
|
|
517
|
+
video_url: "https://scontent.cdninstagram.com/o1/v/t16/f2/m86/example.mp4",
|
|
518
|
+
video_versions: [
|
|
519
|
+
{
|
|
520
|
+
type: 101,
|
|
521
|
+
width: 720,
|
|
522
|
+
height: 1280,
|
|
523
|
+
url: "https://scontent.cdninstagram.com/o1/v/t16/f2/m86/example.mp4",
|
|
524
|
+
},
|
|
525
|
+
],
|
|
526
|
+
image_url: "https://scontent.cdninstagram.com/v/t51.2885-15/example.jpg",
|
|
527
|
+
image_versions2: {
|
|
528
|
+
candidates: [
|
|
529
|
+
{
|
|
530
|
+
width: 720,
|
|
531
|
+
height: 1280,
|
|
532
|
+
url: "https://scontent.cdninstagram.com/v/t51.2885-15/example.jpg",
|
|
533
|
+
},
|
|
534
|
+
],
|
|
535
|
+
},
|
|
536
|
+
original_width: 720,
|
|
537
|
+
original_height: 1280,
|
|
538
|
+
has_audio: true,
|
|
539
|
+
like_count: 12345,
|
|
540
|
+
comment_count: 123,
|
|
541
|
+
play_count: 456789,
|
|
542
|
+
ig_play_count: 456789,
|
|
543
|
+
clips_metadata: {},
|
|
544
|
+
user: {
|
|
545
|
+
id: "123456789",
|
|
546
|
+
pk: "123456789",
|
|
547
|
+
username: "creator",
|
|
548
|
+
full_name: "Creator",
|
|
549
|
+
profile_pic_url: "https://scontent.cdninstagram.com/v/t51.2885-19/example.jpg",
|
|
550
|
+
is_verified: true,
|
|
551
|
+
is_private: false,
|
|
552
|
+
},
|
|
553
|
+
},
|
|
554
|
+
],
|
|
555
|
+
},
|
|
556
|
+
},
|
|
557
|
+
},
|
|
494
558
|
{
|
|
495
559
|
name: "Basic Profile",
|
|
496
560
|
method: "GET",
|