# Short-form video search API for TikTok, YouTube Shorts and Instagram Reels

> The lulubanana content discovery API searches organic short-form videos across TikTok, YouTube Shorts and Instagram Reels by keyword or by meaning, filters them by date, language, platform, content type, views and creator size, and returns each post with its statistics, source link and a creator-relative outlier score.

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

## 8 things you can do with the short-form video search API

1. Search videos by keywords or by meaning (similar ideas in other words)
2. Filter by platform, video or slideshow, language, date range, views, Virality Score and creator size
3. Keep only true outliers with a minimum creator-relative ratio and baseline size
4. Get the strongest videos of the last 24-48 hours, per platform
5. Find videos similar to one you already like
6. Read hashtag performance from TikTok Creative Center and collected videos
7. Page through large result sets with cursors, duplicates removed
8. Tell "nothing exists" apart from "not collected yet" with coverage_status

## How it works

1. Send a search with POST /search/videos (keywords, or semantic: true for meaning).
2. Read data: each video carries views, likes, comments, shares, saves, followers, Virality Score and an outlier block.
3. Check coverage_status: ok, thin or not_collected (then start a research job).
4. Follow next_cursor for the next page.

## Endpoints

### POST /api/v1/search/videos

Search every video collected so far (scope "library") or only your agents' videos (scope "mine"): keywords in caption, hook, transcript or handle, plus platform, type, language, dates, views, score, follower range and creator-relative outlier ratio. coverage_status says ok, thin or not_collected (start research). Sponsored posts left out unless exclude_sponsored is false.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `query` | body | string | Words to find (all must appear) |
| `scope` | body | library, mine | library (default, everything collected) or mine (your agents) |
| `platforms` | body | array | Any of tt, yt, ig |
| `kind` | body | video, slideshow | video or slideshow |
| `language` | body | string | Language code, e.g. en |
| `start_date` | body | string | Posted on or after, YYYY-MM-DD |
| `end_date` | body | string | Posted on or before, YYYY-MM-DD |
| `min_views` | body | number | Lowest views |
| `min_score` | body | number | Lowest Virality Score, e.g. 35 |
| `min_followers` | body | number | Smallest creator |
| `max_followers` | body | number | Biggest creator |
| `min_outlier_ratio` | body | number | Lowest views / creator median views, e.g. 3 |
| `min_baseline_posts` | body | number | Creator baseline must include at least this many posts, e.g. 10 |
| `semantic` | body | boolean | true: search by meaning (similar topics in other words), using caption+hook vectors; falls back to keywords if the meaning service is busy |
| `min_similarity` | body | number | Meaning search: lowest similarity 0.3-0.95 (default 0.6) |
| `exclude_sponsored` | body | boolean | Leave out sponsored posts (default true) |
| `order_by` | body | score, views, date, outlier_ratio | score (default), views, date or outlier_ratio |
| `limit` | body | number | 1-50 (default 25) |
| `cursor` | body | string | next_cursor from the previous page |

```bash
curl -X POST "https://lulubanana.com/api/v1/search/videos" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"affordable skincare routine","platforms":["tt","yt"],"start_date":"2026-10-24","min_outlier_ratio":3,"min_baseline_posts":10,"order_by":"outlier_ratio","limit":25}'
```

Example reply (real data, trimmed):

```json
{
  "data": [
    {
      "id": "tt7697767914736258312",
      "platform": "tt",
      "handle": "deisimoraisss",
      "url": "https://www.tiktok.com/@deisimoraisss/video/7697767914736258312",
      "profile_url": "https://www.tiktok.com/@deisimoraisss",
      "caption": "Gosto bii Make babado de hj!?\u2b50 #fyp #makeup #tutorial #viral ",
      "kind": "video",
      "duration_s": null,
      "posted": "2026-10-17",
      "first_seen": "2026-11-16T19:11:32.642Z",
      "stats_checked_at": "2026-11-16T19:11:32.642Z",
      "views": 24212670,
      "likes": 748247,
      "comments": 13853,
      "shares": 71070,
      "saves": 44032,
      "followers": 184418,
      "engagement_rate": 3.4,
      "virality_score": 59.1,
      "reach": 131.3,
      "outlier": {
        "ratio": 264.5,
        "class": "exceptional_breakout",
        "creator_median_views": 91550,
        "baseline_posts": 20,
        "confidence": "high",
        "age_matched": false
      },
      "sound": {
        "id": null,
        "title": "girls need love"
      },
      "sponsored": false,
      "language": "en",
      "region": "BR",
      "region_inferred": null,
      "hook": "I gotta say, I'm in the mood for and I'll be here to go away.",
      "hook_type": "Story",
      "format": "Tutorial",
      "thumbnail_url": "https://lulubanana.com/media/thumbs/tt7697767914736258312.webp"
    },
    {
      "id": "tt7141815724087069995",
      "platform": "tt",
      "handle": "emm.milo5402",
      "url": "https://www.tiktok.com/@emm.milo5402/video/7141815724087069995",
      "profile_url": "https://www.tiktok.com/@emm.milo5402",
      "caption": "Sephora makeup look! #ShowOffLandOFrost #fyp #makeup #makeuptutorial #mua #sephora #sephoraemployee #sephoramakeupartist #cosmetology #grwm ",
      "kind": "video",
      "duration_s": 146,
      "posted": "2022-09-10",
      "first_seen": "2026-11-21T06:07:26.705Z",
      "stats_checked_at": "2026-11-21T06:07:26.705Z",
      "views": 6700000,
      "likes": 855400,
      "comments": 8649,
      "shares": 2678,
      "saves": 28854,
      "followers": 18000,
      "engagement_rate": 12.9,
      "virality_score": 58,
      "reach": 372.2,
      "outlier": {
        "ratio": 14596.9,
        "class": "exceptional_breakout",
        "creator_median_views": 459,
        "baseline_posts": 20,
        "confidence": "high",
        "age_matched": false
      },
      "sound": {
        "id": "7141815725718506286",
        "title": "original sound"
      },
      "sponsored": false,
      "language": "en",
      "region": null,
      "region_inferred": null,
      "hook": "I put my headband on upside down.",
      "hook_type": "Story",
      "format": "GRWM",
      "thumbnail_url": "https://lulubanana.com/media/thumbs/tt7141815724087069995.webp"
    }
  ],
  "next_cursor": "Mg",
  "scope": "library",
  "coverage_status": "thin",
  "search_mode": "keyword"
}
```

### GET /api/v1/videos/digest

Strongest videos first seen or posted in the last 24-48 hours across everything collected, best Virality Score first. Sponsored posts left out.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `platform` | query | tt, yt, ig | tt, yt or ig |
| `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/v1/videos/digest?hours=48&limit=25" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": [
    {
      "id": "ytfFgYg1Omvlk",
      "platform": "yt",
      "handle": "knotcosmic",
      "url": "https://www.youtube.com/shorts/fFgYg1Omvlk",
      "profile_url": "https://www.youtube.com/@knotcosmic",
      "caption": "Secret Rope Through Ring Magic Trick  Genius Knot Hack #shorts #lifehacks #magic #viral",
      "kind": "video",
      "duration_s": null,
      "posted": "2026-03-17",
      "first_seen": "2026-11-19T06:33:17.784Z",
      "stats_checked_at": "2026-11-21T04:46:16.668Z",
      "views": 38135605,
      "likes": 45568,
      "comments": 711,
      "shares": null,
      "saves": null,
      "followers": 18600,
      "engagement_rate": 0.1,
      "virality_score": 75,
      "reach": 2050.3,
      "outlier": {
        "ratio": null,
        "class": null,
        "creator_median_views": null,
        "baseline_posts": null,
        "confidence": null,
        "age_matched": false
      },
      "sound": null,
      "sponsored": false,
      "language": null,
      "region": "US",
      "region_inferred": null,
      "thumbnail_url": "https://lulubanana.com/media/thumbs/ytfFgYg1Omvlk.webp"
    },
    {
      "id": "ytj3TQfE9bO-o",
      "platform": "yt",
      "handle": "santapersshorts",
      "url": "https://www.youtube.com/shorts/j3TQfE9bO-o",
      "profile_url": "https://www.youtube.com/@santapersshorts",
      "caption": "MINUM SERBA MATCHA \ud83c\udf75",
      "kind": "video",
      "duration_s": 38,
      "posted": "2025-12-26",
      "first_seen": "2026-11-18T07:37:33.814Z",
      "stats_checked_at": "2026-11-23T11:30:53.667Z",
      "views": 110541437,
      "likes": 950325,
      "comments": 2749,
      "shares": null,
      "saves": null,
      "followers": 354000,
      "engagement_rate": 0.9,
      "virality_score": 73.4,
      "reach": 312.3,
      "outlier": {
        "ratio": null,
        "class": null,
        "creator_median_views": null,
        "baseline_posts": null,
        "confidence": null,
        "age_matched": false
      },
      "sound": null,
      "sponsored": false,
      "language": "en",
      "region": "US",
      "region_inferred": null,
      "thumbnail_url": "https://lulubanana.com/media/thumbs/ytj3TQfE9bO-o.webp"
    }
  ],
  "next_cursor": "Mg",
  "window_hours": 168,
  "coverage_status": "thin"
}
```

### GET /api/v1/tiktok/videos/digest

Strongest TikTok videos of the last 24-48 hours.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `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/v1/tiktok/videos/digest" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

### GET /api/v1/youtube/videos/digest

Strongest YouTube Shorts of the last 24-48 hours.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `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/v1/youtube/videos/digest" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

### GET /api/v1/instagram/videos/digest

Strongest Instagram Reels of the last 24-48 hours.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `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/v1/instagram/videos/digest" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

### GET /api/v1/videos/{id}/similar

Videos most similar in meaning (caption and hook) to this one, with a similarity from 0 to 1.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `id` (required) | path | string | The id in the path |
| `limit` | query | string | 1-50 (default 20) |

```bash
curl "https://lulubanana.com/api/v1/videos/tt7581234567890123456/similar?limit=10" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": [
    {
      "id": "tt7708514345008860429",
      "platform": "tt",
      "handle": "meliszamcfierce",
      "url": "https://www.tiktok.com/@meliszamcfierce/video/7708514345008860429",
      "profile_url": "https://www.tiktok.com/@meliszamcfierce",
      "caption": "Is this you ? ....  #concealerhack #concealer #makeup ",
      "kind": "video",
      "duration_s": 61,
      "posted": "2026-11-15",
      "first_seen": "2026-11-21T06:07:26.723Z",
      "stats_checked_at": "2026-11-21T06:07:26.723Z",
      "views": 247700,
      "likes": 21600,
      "comments": 131,
      "shares": 1045,
      "saves": 12013,
      "followers": 395200,
      "engagement_rate": 9.2,
      "virality_score": -6,
      "reach": 0.6,
      "outlier": {
        "ratio": null,
        "class": null,
        "creator_median_views": null,
        "baseline_posts": null,
        "confidence": null,
        "age_matched": false
      },
      "sound": {
        "id": "7708514412906154782",
        "title": "original sound"
      },
      "sponsored": false,
      "language": "en",
      "region": null,
      "region_inferred": null,
      "thumbnail_url": "https://lulubanana.com/media/thumbs/tt7708514345008860429.webp",
      "similarity": 0.832
    },
    {
      "id": "tt7703681574100897038",
      "platform": "tt",
      "handle": "stephs.studios",
      "url": "https://www.tiktok.com/@stephs.studios/video/7703681574100897038",
      "profile_url": "https://www.tiktok.com/@stephs.studios",
      "caption": "NEW MAKEUP MONDAY \ud83d\udc96\u2728 let me know which of these products you'd like me to try out first! \ud83e\udd17  #newmakeup #newmakeupproduct",
      "kind": "video",
      "duration_s": null,
      "posted": "2026-11-02",
      "first_seen": "2026-11-16T19:11:32.642Z",
      "stats_checked_at": "2026-11-16T21:49:13.487Z",
      "views": 300189,
      "likes": 31147,
      "comments": 711,
      "shares": 926,
      "saves": 3331,
      "followers": 93200,
      "engagement_rate": 10.9,
      "virality_score": 13.4,
      "reach": 3.2,
      "outlier": {
        "ratio": null,
        "class": null,
        "creator_median_views": null,
        "baseline_posts": null,
        "confidence": null,
        "age_matched": false
      },
      "sound": {
        "id": "7703681704049330958",
        "title": "original sound - stephs.studios"
      },
      "sponsored": false,
      "language": "en",
      "region": "US",
      "region_inferred": null,
      "thumbnail_url": "https://lulubanana.com/media/thumbs/tt7703681574100897038.webp",
      "similarity": 0.81
    }
  ]
}
```

### GET /api/v1/hashtags

Hashtags across every collected video in the window: videos, creators, views, median Virality Score, lift against the typical video, outlier rate. generic=true marks tags like #fyp.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `platform` | query | tt, yt, ig | tt, yt or ig |
| `days` | query | string | Look back 1-90 days (default 30) |
| `limit` | query | string | Results per page, 1-200 (default 50) |

```bash
curl "https://lulubanana.com/api/v1/hashtags?platform=tt&days=30" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "source": "collected_videos",
    "window_days": 90,
    "baseline_median_score": 3.3,
    "tags": [
      {
        "hashtag": "bouldering",
        "videos": 338,
        "creators": 219,
        "total_views": 19196346,
        "median_score": 7.4,
        "lift": 4.1,
        "outlier_rate_pct": 2.7,
        "platforms": {
          "tt": 330,
          "yt": 3,
          "ig": 5
        },
        "generic": false
      },
      {
        "hashtag": "climbing",
        "videos": 307,
        "creators": 202,
        "total_views": 29039513,
        "median_score": 7.4,
        "lift": 4.2,
        "outlier_rate_pct": 4.9,
        "platforms": {
          "tt": 299,
          "yt": 5,
          "ig": 3
        },
        "generic": false
      }
    ]
  }
}
```

### GET /api/v1/tiktok/hashtags

Top TikTok hashtags: TikTok Creative Center's daily top 100 for the country (rank, posts, views, 7-day curve), or our collected videos when that country has no list.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `country` | query | string | Two-letter country code (default US) |
| `days` | query | string | Look back 1-90 days (default 30) |
| `limit` | query | string | Results per page, 1-200 (default 50) |

```bash
curl "https://lulubanana.com/api/v1/tiktok/hashtags?country=US" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "day": "2026-11-22",
    "country": "US",
    "source": "tiktok_creative_center",
    "tags": [
      {
        "hashtag": "huss",
        "rank": 1,
        "posts": 20055,
        "views": 57716457,
        "industries": [
          "25000000000"
        ]
      },
      {
        "hashtag": "husshusshuss",
        "rank": 2,
        "posts": 19442,
        "views": 48049909,
        "industries": [
          "23000000000"
        ]
      }
    ]
  }
}
```

### GET /api/v1/youtube/hashtags

Hashtags on collected YouTube Shorts with their performance.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `days` | query | string | Look back 1-90 days (default 30) |
| `limit` | query | string | Results per page, 1-200 (default 50) |

```bash
curl "https://lulubanana.com/api/v1/youtube/hashtags" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

### GET /api/v1/instagram/hashtags

Hashtags on collected Instagram Reels with their performance.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `days` | query | string | Look back 1-90 days (default 30) |
| `limit` | query | string | Results per page, 1-200 (default 50) |

```bash
curl "https://lulubanana.com/api/v1/instagram/hashtags" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

### GET /api/v1/hashtags/{hashtag}/performance

One hashtag: TikTok's total videos and views (when checked), its daily Creative Center rank by country, and how it performs in collected videos with the top 10.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `hashtag` (required) | path | string | hashtag |
| `days` | query | string | Collected videos from the last N days, 1-365 (default 90) |

```bash
curl "https://lulubanana.com/api/v1/hashtags/skincare/performance" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "hashtag": "huss",
    "platform_totals": null,
    "creative_center": [
      {
        "day": "2026-11-22",
        "country": "AU",
        "rank": 15,
        "posts": 1208,
        "views": 3693314
      },
      {
        "day": "2026-11-22",
        "country": "CA",
        "rank": 8,
        "posts": 1993,
        "views": 5110993
      }
    ],
    "collected": {
      "window_days": 90,
      "videos": 0,
      "creators": 0,
      "total_views": 0,
      "median_score": null,
      "p90_score": null,
      "outliers": 0
    },
    "top_videos": []
  }
}
```

## FAQ

**Can I search TikTok, YouTube Shorts and Instagram Reels with one API call?**
Yes. POST /search/videos searches every collected video across the three platforms; send platforms to narrow it. Results use one record shape for all three.

**What is a semantic (meaning) search?**
With semantic: true the query is turned into a sentence vector and compared with each video's caption and hook, so "hide acne without heavy makeup" also finds videos that never use those words. search_mode says whether meaning or keywords answered.

**Why did my search return nothing?**
coverage_status tells you why: not_collected means nothing on that subject has been collected yet (start a research job), thin means only a few videos exist. The API never pads results with unrelated videos.

**How much does searching cost?**
Nothing. Every read and search is free, as in the app; only collecting new data (research runs, tracking, a few checks) costs credits.

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