@scrapecreators/cli 1.0.6 → 1.0.8
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.
|
@@ -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",
|
|
@@ -186,7 +186,7 @@ export const tiktokShopApis = {
|
|
|
186
186
|
method: "GET",
|
|
187
187
|
description:
|
|
188
188
|
"Get the products from a TikTok Shop. This endpoint costs 1 credit per request. Use the cursor from the response to paginate through results.",
|
|
189
|
-
fullDescription: "Lists all products from a specific TikTok Shop store by its URL. Returns an array of product objects each with `title`, `cover` images, `url`, `price` info, `sold_count`, `review_count`, and `rating`. Paginate with `cursor` from the previous response; filter by region.",
|
|
189
|
+
fullDescription: "Lists all products from a specific TikTok Shop store by its URL. Returns an array of product objects each with `title`, `cover` images, `url`, `price` info, `sold_count`, `review_count`, and `rating`. Paginate with `cursor` from the previous response; filter by region; use `sort_by=top` for best-selling products or `sort_by=new_releases` for newest products.",
|
|
190
190
|
path: "/v1/tiktok/shop/products",
|
|
191
191
|
params: [
|
|
192
192
|
{
|
|
@@ -205,6 +205,15 @@ export const tiktokShopApis = {
|
|
|
205
205
|
"Cursor parameter from the previous response to retrieve the next page of products. Omit for the first page.",
|
|
206
206
|
placeholder: "",
|
|
207
207
|
},
|
|
208
|
+
{
|
|
209
|
+
name: "sort_by",
|
|
210
|
+
type: "select",
|
|
211
|
+
required: false,
|
|
212
|
+
options: ["top", "new_releases"],
|
|
213
|
+
placeholder: "top",
|
|
214
|
+
description:
|
|
215
|
+
"Sort products by best-selling items (`top`) or newest products (`new_releases`). Defaults to `top`.",
|
|
216
|
+
},
|
|
208
217
|
{
|
|
209
218
|
name: "region",
|
|
210
219
|
type: "select",
|