# TikTok slideshow and Instagram carousel API: find, read and score photo posts

> The lulubanana slideshow and carousel API finds the photo posts that work in a niche (TikTok slideshows made in photo mode, Instagram carousels and single-image posts), scores each one against its own kind, returns its slides as small image copies with the slide count and frame, and reads the slides on request: the text on every slide, the hook slide, the structure (listicle, steps, before and after, story) and the call to action. Instagram carousels and photos have no public view count, so they are scored on likes and never ranked by views.

lulubanana is a content research platform and API for short-form video (TikTok, YouTube Shorts and Instagram Reels). Base address: https://lulubanana.com/api/v3. Authentication: `Authorization: Bearer lb_...`. Reads are free; collection is priced like the app.

## 9 things you can do with the TikTok slideshow API

1. List an agent's TikTok slideshows, Instagram carousels and single-image posts, best first or "top for its kind"
2. Filter any list by content kind: video, slideshow, image, or photo (both) with kind=
3. Get the slide count, the frame (3:4, 4:5, 1:1) and the first slides as our own small images on every photo post
4. Read every slide in one pass: on-slide text, the role of each slide, the hook slide, the structure and the call-to-action slide
5. See which slide formats win (Listicle, Step by step, Before and after, Photo dump...) with median slide counts
6. Find the strongest photo posts of the last 24-168 hours across TikTok and Instagram
7. Check whether a photo post beat its creator's usual photo post (TikTok on views, Instagram on likes)
8. Search hooks and captions inside slide text, filter by slide count and order by likes
9. Collect more photo posts per run with photo_posts deep, and download a post's slides as a ZIP in the app

## How it works

1. Create an agent (POST /agents) or use one you have: every research run collects photo posts at no extra cost.
2. List them with GET /agents/{id}/slideshows (order_by=kind_percentile for "top for its kind"), or add kind=photo to any list.
3. Open one post's slides with GET /videos/{id}/slides; when read.status is not_read, send POST /videos/{id}/analyze (included, 20 a day) and read it again.
4. Compare formats with GET /slideshows/formats and copy the structure: hook slide, number of slides, call to action.

## Example: the top Instagram carousels of an agent, with what their slides say

Three free calls: list the agent's Instagram carousels "top for its kind", read the slides of the best one (once, shared by every account), then print the hook slide and the text of each slide.

### curl

```bash
curl "https://lulubanana.com/api/v3/agents/42/slideshows?platform=ig&kind=slideshow&order_by=kind_percentile&limit=5" \
  -H "Authorization: Bearer $LULUBANANA_KEY"

curl -X POST "https://lulubanana.com/api/v3/videos/igDGx7Lk2Qp9A/analyze" -H "Authorization: Bearer $LULUBANANA_KEY"
curl "https://lulubanana.com/api/v3/videos/igDGx7Lk2Qp9A/slides" -H "Authorization: Bearer $LULUBANANA_KEY"
```

### Python

```python
import os, time, requests
B, H = "https://lulubanana.com/api/v3", {"Authorization": f"Bearer {os.environ['LULUBANANA_KEY']}"}
posts = requests.get(f"{B}/agents/42/slideshows", headers=H, params={"platform": "ig", "kind": "slideshow", "order_by": "kind_percentile", "limit": 5}).json()["data"]
best = posts[0]
print(best["slide_count"], "slides,", best["likes"], "likes (score basis:", best["score_basis"] + ")")
slides = requests.get(f"{B}/videos/{best['id']}/slides", headers=H).json()["data"]
if slides["read"]["status"] != "complete":
    requests.post(f"{B}/videos/{best['id']}/analyze", headers=H)
    for _ in range(30):
        time.sleep(5)
        slides = requests.get(f"{B}/videos/{best['id']}/slides", headers=H).json()["data"]
        if slides["read"]["status"] in ("complete", "incomplete"):
            break
print("Hook slide:", slides["read"].get("hook_slide"))
for s in slides["slides"]:
    print(s["n"], s["role"], s["text"])
```

### JavaScript

```javascript
const base = "https://lulubanana.com/api/v3", H = { Authorization: `Bearer ${process.env.LULUBANANA_KEY}` };
const get = p => fetch(base + p, { headers: H }).then(r => r.json());
const { data: posts } = await get("/agents/42/slideshows?platform=ig&kind=slideshow&order_by=kind_percentile&limit=5");
const best = posts[0];
let { data: s } = await get(`/videos/${best.id}/slides`);
if (s.read.status !== "complete") {
  await fetch(`${base}/videos/${best.id}/analyze`, { method: "POST", headers: H });
  for (let i = 0; i < 30 && !["complete", "incomplete"].includes(s.read.status); i++) { await new Promise(r => setTimeout(r, 5000)); ({ data: s } = await get(`/videos/${best.id}/slides`)); }
}
console.log(s.read.hook_slide, s.read.structure, s.slides.map(x => `${x.n}. ${x.text}`));
```

## Key terms

- **Photo post**: A post made of still images instead of a video: a TikTok slideshow (photo mode), an Instagram carousel or a single-image post. kind slideshow or image.
- **Slideshow**: kind slideshow: a multi-image post, a TikTok photo-mode post with 2 or more photos or an Instagram carousel (up to 20 slides).
- **Image post**: kind image: a single-image post (an Instagram photo, or a TikTok photo-mode post with exactly 1 photo).
- **Slide count**: slide_count: how many slides the post has. The first 20 are stored; the first 10 are read.
- **Hook slide**: The slide that opens the post, usually slide 1: its text is the photo post's hook.
- **Score basis**: score_basis: views for videos and TikTok photo posts, likes for Instagram carousels and photos (no public view count). A likes-based virality_score is on its own scale.
- **Kind percentile**: kind_percentile: a post's rank (0-100) among the same platform and kind in the list: the fair way to compare photo posts.
- **Kind outlier**: kind_outlier: the post against its creator's usual photo post (TikTok on views, Instagram on likes), when that baseline is known.

## Endpoints

### GET /api/v3/agents/{id}/slideshows

This agent's photo posts: TikTok slideshows (photo mode), Instagram carousels and single-image posts, best first. Each post carries kind (slideshow or image), slide_count, slides_preview (our own thumbnails of the first slides), aspect, score_basis (views, or likes for Instagram carousels and photos: they have no public view count), virality_score on that basis (likes-based posts also carry rank_score: that score on the views scale, the number "best first" orders by), kind_percentile (its rank among the same platform and kind here: "Top for its kind"), kind_outlier (against the creator's usual for photo posts, when known) and slides_read. ?kind=slideshow|image|photo&platform=tt|ig&order_by=score|kind_percentile|likes|views|date|slides&min_slides=&include_slides=true (every stored slide with its read text). Free.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `id` (required) | path | string | The id in the path |
| `kind` | query | string | slideshow, image or photo (both, the default) |
| `platform` | query | tt, ig | tt or ig |
| `order_by` | query | score, kind_percentile, likes, views, date, slides | score (default: best first on its own basis), kind_percentile, likes, views, date or slides |
| `min_slides` | query | string | At least this many slides |
| `include_slides` | query | string | "true" adds every stored slide: thumbnail_url, width, height, media, and the read text and role when the slides were read |
| `limit` | query | string | Results per page, 1-200 (default 60) |
| `cursor` | query | string | next_cursor from the previous page |

```bash
curl "https://lulubanana.com/api/v3/agents/42/slideshows?platform=tt&order_by=kind_percentile&limit=20" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply:

```json
{
  "data": [
    {
      "id": "tt7441920835716435243",
      "platform": "tt",
      "handle": "glowwithmaya",
      "url": "https://www.tiktok.com/@glowwithmaya/photo/7441920835716435243",
      "profile_url": "https://www.tiktok.com/@glowwithmaya",
      "caption": "3 makeup mistakes that make you look older #makeuptips",
      "kind": "slideshow",
      "duration_s": null,
      "video_format": "short",
      "aspect": "3:4",
      "posted": "2026-11-26",
      "views": 412000,
      "likes": 26100,
      "comments": 140,
      "shares": 1900,
      "saves": 9800,
      "followers": 38000,
      "engagement_rate": 6.8,
      "virality_score": 24.8,
      "reach": 10.8,
      "outlier": {
        "ratio": 6.9,
        "class": "viral_outlier",
        "creator_median_views": 59700,
        "baseline_posts": 28,
        "confidence": "high",
        "age_matched": false
      },
      "hook": "3 makeup mistakes that make you look older",
      "hook_type": "List",
      "format": "Listicle",
      "thumbnail_url": "https://lulubanana.com/media/thumbs/tt7441920835716435243.webp",
      "slide_count": 7,
      "score_basis": "views",
      "slides_preview": [
        "https://lulubanana.com/media/thumbs/tt7441920835716435243-p1.webp",
        "https://lulubanana.com/media/thumbs/tt7441920835716435243-p2.webp",
        "https://lulubanana.com/media/thumbs/tt7441920835716435243-p3.webp",
        "https://lulubanana.com/media/thumbs/tt7441920835716435243-p4.webp"
      ],
      "slides_read": true,
      "kind_outlier": {
        "ratio": 9.4,
        "class": "viral_outlier",
        "basis": "views",
        "creator_median": 43800,
        "baseline_posts": 9,
        "confidence": "medium",
        "baseline_kind": "photo posts"
      },
      "kind_percentile": 100
    },
    {
      "id": "igDGx7Lk2Qp9A",
      "platform": "ig",
      "handle": "brushesbybea",
      "url": "https://www.instagram.com/p/DGx7Lk2Qp9A/",
      "caption": "Before you buy concealer: swipe",
      "kind": "slideshow",
      "aspect": "4:5",
      "posted": "2026-11-25",
      "views": null,
      "likes": 4200,
      "comments": 96,
      "followers": 21000,
      "virality_score": -21.5,
      "reach": null,
      "slide_count": 6,
      "score_basis": "likes",
      "slides_preview": [
        "https://lulubanana.com/media/thumbs/igDGx7Lk2Qp9A-p1.webp",
        "https://lulubanana.com/media/thumbs/igDGx7Lk2Qp9A-p2.webp",
        "https://lulubanana.com/media/thumbs/igDGx7Lk2Qp9A-p3.webp",
        "https://lulubanana.com/media/thumbs/igDGx7Lk2Qp9A-p4.webp"
      ],
      "slides_read": false,
      "kind_outlier": {
        "ratio": 3.8,
        "class": "viral_outlier",
        "basis": "likes",
        "creator_median": 1100,
        "baseline_posts": 7,
        "confidence": "low",
        "baseline_kind": "photo posts"
      },
      "kind_percentile": 92
    }
  ],
  "next_cursor": "MjA"
}
```

### GET /api/v3/videos/{id}/slides

The slides of one photo post (TikTok slideshow, Instagram carousel or single-image post): every stored slide with our own thumbnail (thumbnail_url, about 360 px wide), width, height and media, plus what the slide reading found once it ran: the text on each slide and its role (hook, point, step, payoff, cta...), the hook slide, the structure pattern (listicle, steps, before_after, story...), the format label and the call-to-action slide. Start a reading with POST /videos/{id}/analyze. Free.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `id` (required) | path | string | The id in the path |

```bash
curl "https://lulubanana.com/api/v3/videos/tt7441920835716435243/slides" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply:

```json
{
  "data": {
    "video_id": "tt7441920835716435243",
    "platform": "tt",
    "handle": "glowwithmaya",
    "url": "https://www.tiktok.com/@glowwithmaya/photo/7441920835716435243",
    "kind": "slideshow",
    "slide_count": 7,
    "slides_stored": 7,
    "aspect": "3:4",
    "score_basis": "views",
    "slides": [
      {
        "n": 1,
        "thumbnail_url": "https://lulubanana.com/media/thumbs/tt7441920835716435243-p1.webp",
        "width": 1080,
        "height": 1440,
        "media": "image",
        "text": "3 makeup mistakes that make you look older",
        "role": "hook"
      },
      {
        "n": 2,
        "thumbnail_url": "https://lulubanana.com/media/thumbs/tt7441920835716435243-p2.webp",
        "width": 1080,
        "height": 1440,
        "media": "image",
        "text": "Mistake 1: concealer in a triangle",
        "role": "point"
      },
      {
        "n": 7,
        "thumbnail_url": "https://lulubanana.com/media/thumbs/tt7441920835716435243-p7.webp",
        "width": 1080,
        "height": 1440,
        "media": "image",
        "text": "Save this for your next makeup day",
        "role": "cta"
      }
    ],
    "read": {
      "status": "complete",
      "analysed_at": "2026-11-29T07:12:40.000Z",
      "slides_read": 7,
      "hook_slide": {
        "slide": 1,
        "text": "3 makeup mistakes that make you look older",
        "shows": "a close-up of a face with half the makeup done"
      },
      "structure": "listicle",
      "format_label": "Listicle",
      "cta": {
        "slide": 7,
        "text": "Save this for your next makeup day",
        "asks": [
          "save"
        ]
      },
      "full": "/api/v3/videos/tt7441920835716435243/analysis"
    },
    "notes": []
  }
}
```

### GET /api/v3/slideshows/digest

The strongest photo posts first seen or posted in the last 24-168 hours across everything collected: TikTok slideshows, Instagram carousels and single-image posts. Ranked on their own basis (views, or likes for Instagram, whose photo posts have no public view count), with slide_count, slides_preview and score_basis. Sponsored posts left out. Free.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `platform` | query | tt, ig | tt or ig |
| `kind` | query | string | slideshow, image or photo (both, the default) |
| `score_basis` | query | views, likes, any | Score basis: views, likes (Instagram carousels and photos, which have no public view count) or any. Default: views, unless kind asks for photo posts (then any). |
| `hours` | query | string | Window, 24-168 hours (default 48) |
| `region` | query | string | Two-letter country code |
| `limit` | query | string | Results per page, 1-100 (default 25) |
| `cursor` | query | string | next_cursor from the previous page |

```bash
curl "https://lulubanana.com/api/v3/slideshows/digest?hours=72&kind=slideshow" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": [
    {
      "id": "tt7445878669417041198",
      "platform": "tt",
      "handle": "javaajuliaa",
      "url": "https://www.tiktok.com/@javaajuliaa/photo/7445878669417041198",
      "profile_url": "https://www.tiktok.com/@javaajuliaa",
      "caption": "my two favs in the world: matcha and cookies! you can use any matcha for this recipe :) i have had a lot of success using sen cha matcha ...",
      "kind": "slideshow",
      "duration_s": null,
      "video_format": "short",
      "aspect": "3:4",
      "posted": "2024-12-08",
      "first_seen": "2026-11-23T11:30:53.783Z",
      "stats_checked_at": "2026-11-25T03:45:41.920Z",
      "views": 1474650,
      "likes": 119807,
      "comments": 448,
      "shares": 17885,
      "saves": 66591,
      "followers": 1063,
      "engagement_rate": 9.4,
      "virality_score": 50.4,
      "reach": 1387.3,
      "outlier": {
        "ratio": 884.6,
        "class": "exceptional_breakout",
        "creator_median_views": 1667,
        "baseline_posts": 20,
        "confidence": "high",
        "age_matched": false
      },
      "sound": {
        "id": null,
        "title": "for the matcha gals"
      },
      "sponsored": false,
      "language": "en",
      "region": "US",
      "region_inferred": null,
      "thumbnail_url": "https://lulubanana.com/media/thumbs/tt7445878669417041198.webp",
      "slide_count": null,
      "score_basis": "views",
      "slides_preview": [],
      "slides_read": false,
      "kind_outlier": {
        "ratio": null,
        "class": null,
        "basis": "views",
        "creator_median": null,
        "baseline_posts": null,
        "confidence": null,
        "baseline_kind": null
      }
    },
    {
      "id": "tt7647597394900618509",
      "platform": "tt",
      "handle": "ashleyynam",
      "url": "https://www.tiktok.com/@ashleyynam/photo/7647597394900618509",
      "profile_url": "https://www.tiktok.com/@ashleyynam",
      "caption": "shoutout to my sister for bringing me these from japan  #matcha #ippodotea #marukyukoyamaen #nami #rockysmatcha @Nami Matcha ",
      "kind": "slideshow",
      "duration_s": null,
      "video_format": "short",
      "aspect": "3:4",
      "posted": "2026-06-04",
      "first_seen": "2026-11-25T03:45:41.681Z",
      "stats_checked_at": "2026-11-25T03:45:41.681Z",
      "views": 982357,
      "likes": 57213,
      "comments": 169,
      "shares": 4577,
      "saves": 35342,
      "followers": 2548,
      "engagement_rate": 6.3,
      "virality_score": 46.7,
      "reach": 385.5,
      "outlier": {
        "ratio": 39,
        "class": "exceptional_breakout",
        "creator_median_views": 25200,
        "baseline_posts": 20,
        "confidence": "high",
        "age_matched": false
      },
      "sound": {
        "id": null,
        "title": "hate that i made you love me"
      },
      "sponsored": false,
      "language": "en",
      "region": "US",
      "region_inferred": null,
      "thumbnail_url": "https://lulubanana.com/media/thumbs/tt7647597394900618509.webp",
      "slide_count": null,
      "score_basis": "views",
      "slides_preview": [],
      "slides_read": false,
      "kind_outlier": {
        "ratio": null,
        "class": null,
        "basis": "views",
        "creator_median": null,
        "baseline_posts": null,
        "confidence": null,
        "baseline_kind": null
      }
    }
  ],
  "next_cursor": "Mg",
  "window_hours": 168,
  "kind": [
    "slideshow",
    "image"
  ],
  "coverage_status": "thin"
}
```

### GET /api/v3/slideshows/formats

Which photo-post formats work: the format labels of TikTok slideshows, Instagram carousels and single-image posts (Listicle, Step by step, Tips, Before and after, Comparison, Myth vs fact, Storytime, Photo dump, Relatable meme, Quote, Product showcase, Infographic) with posts, share, creators, median score, outlier rate, median slide count and the top example. Posts labelled before their slides were read may carry a video format label (slide_format false). ?days=1-365&platform=tt|ig&kind=&agent={id}. Free.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `days` | query | string | Look back 1-365 days (default 90) |
| `platform` | query | tt, ig | tt or ig |
| `kind` | query | string | slideshow, image or photo (both, the default) |
| `agent` | query | string | Only this agent's posts |

```bash
curl "https://lulubanana.com/api/v3/slideshows/formats?days=90&platform=tt" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "window_days": 365,
    "posts": 54,
    "scale": "Scores of likes-based posts are placed on the views scale here, so 35 or more is an outlier on both bases.",
    "formats": [
      {
        "format": "Tutorial",
        "slide_format": false,
        "posts": 9,
        "share_pct": 16.7,
        "creators": 9,
        "median_score": 23.8,
        "outlier_rate_pct": 22.2,
        "median_slides": null,
        "by_platform": {
          "tt": 9,
          "ig": 0
        },
        "enough_data": false,
        "top_example": {
          "video_id": "tt7684338583620046101",
          "url": "https://www.tiktok.com/@thebeautyedit14/photo/7684338583620046101",
          "platform": "tt"
        }
      },
      {
        "format": "Other",
        "slide_format": true,
        "posts": 32,
        "share_pct": 59.3,
        "creators": 30,
        "median_score": 11.7,
        "outlier_rate_pct": 9.4,
        "median_slides": null,
        "by_platform": {
          "tt": 32,
          "ig": 0
        },
        "enough_data": true,
        "top_example": {
          "video_id": "tt7692315797615545631",
          "url": "https://www.tiktok.com/@freshiccyjake/photo/7692315797615545631",
          "platform": "tt"
        }
      }
    ],
    "labels": [
      "Listicle",
      "Step by step"
    ],
    "coverage_status": "ok"
  }
}
```

## FAQ

**Does the API cover TikTok slideshows and Instagram carousels?**
Yes. TikTok slideshows (photo mode), Instagram carousels and single-image posts are collected with every research run and returned with kind slideshow or image, their slide count and their slides. Add kind=photo (or slideshow, image) to any list; without kind, every list answers exactly as before.

**Why do Instagram carousels show likes and not views?**
Instagram does not publish a view count for carousels and photo posts. lulubanana scores them on likes (score_basis likes), compares them with the creator's own photo posts and never ranks them by views. Use kind_percentile to compare them with TikTok slideshows.

**How many slides are read, and what does a reading return?**
One reading covers the first 10 slides in a single pass: the text on each slide with its role (hook, point, step, payoff, call to action...), the hook slide, the structure pattern, the call-to-action slide and a format label. It runs once per post and is shared, so asking again is instant.

**Do standard research runs include Instagram carousels?**
Yes. Every run that includes Instagram adds the recent carousels and photo posts of the strongest Instagram creators it finds (up to 3 a run; creators known to post only Reels are skipped), scored on likes against the creator's usual likes, with working slide previews. Turn on photo_posts deep for more slideshow searches, carousels from more Instagram creators (a page of posts from each of the 5 strongest instead of the latest posts of 3) and more slides read.

**What does it cost?**
Listing, filtering, the slides, the digest and the formats are free. Reading slides is included (20 a day, shared with video breakdowns). Every research run collects photo posts at no extra cost; photo_posts deep (2 TikTok slideshow searches a term instead of 1, carousels and photos from the 5 strongest Instagram creators of the run instead of 3, and 12 posts' slides read instead of 6) adds 20 credits per run.

**Can I download the slides?**
Yes, on paid plans in the app: the slide images of a TikTok photo post or an Instagram carousel come as one ZIP (up to 20 slides), kept for 24 hours.

**Are YouTube community image posts covered?**
No. YouTube community posts (image and text posts) are not supported; YouTube stays videos only (Shorts and, with format=long, long videos).

**Does it work for my own account?**
Yes. Connect your TikTok or Instagram account under My channel: your slideshows, carousels and photos are synced with your videos, judged against your own photo posts (Instagram on likes), and the audit compares them with your videos. Filter with GET /channels/{id}/videos?kind=photo.

More: https://lulubanana.com/developers/ - all endpoints https://lulubanana.com/developers/endpoints/ - research guide https://lulubanana.com/ai-guide.txt
