# Video data API: full records, history and provenance for public short-form videos

> The lulubanana video data API returns the full record of any public short-form video in the database: statistics (missing values stay empty, never zero), the creator baseline and outlier ratio, hook, format, transcript, on-screen analysis, an analysis_status and provenance that separates observed platform numbers from AI readings, plus its readings over time and views per hour.

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.

## 6 things you can do with the video data API

1. Get one video's full record, or up to 50 in one call
2. See which fields are observed, inferred or missing
3. See whether a video is likely a repost of an earlier post by another creator, with the reason and the original
4. Read the history of views and engagement, with age at each reading
5. Get views per hour and per day from two readings
6. Track videos daily and read their snapshots

## How it works

1. GET /videos/{id} for the record.
2. GET /videos/{id}/metrics for the readings.
3. POST /tracking/videos to check a video daily (10 credits a check).

## Endpoints

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

One video's full record: stats (missing ones are null, never zero), creator baseline and outlier ratio, hook, format, transcript, on-screen analysis, analysis_status (frames, transcript, caption_only), likely_repost (true only when an earlier post by a different creator in our database has the same caption of 6+ words or the same opening line; false when none was found; null when it cannot be told; with likely_repost_reason and repost_of) and provenance that separates observed numbers from AI readings.

Cost: free.

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

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

Example reply (real data, trimmed):

```json
{
  "data": {
    "id": "tt7676397331612421396",
    "platform": "tt",
    "handle": "suciaeslm2v",
    "url": "https://www.tiktok.com/@suciaeslm2v/video/7676397331612421396",
    "profile_url": "https://www.tiktok.com/@suciaeslm2v",
    "caption": "\ud83e\uddb8\ud83c\udffc\u2640\ud83d\ude29jgn kaget #makeup #makeuptransformation #tips #beautycontentcreator #creatorsearchinsights ",
    "kind": "video",
    "duration_s": null,
    "posted": "2026-08-21",
    "first_seen": "2026-11-16T19:11:32.642Z",
    "stats_checked_at": "2026-11-16T19:11:32.642Z",
    "views": 21188146,
    "likes": 2498246,
    "comments": 36114,
    "shares": 1684359,
    "saves": 62754,
    "followers": 16388,
    "engagement_rate": 19.9,
    "virality_score": 69.5,
    "reach": 1292.9,
    "outlier": {
      "ratio": 31766.3,
      "class": "exceptional_breakout",
      "creator_median_views": 667,
      "baseline_posts": 30,
      "confidence": "high",
      "age_matched": false
    },
    "sound": {
      "id": null,
      "title": "original sound - fgclips._"
    },
    "sponsored": false,
    "language": "en",
    "region": "ID",
    "region_inferred": null,
    "hook": "Are you ready?",
    "hook_type": "Question",
    "format": "Transition",
    "thumbnail_url": "https://lulubanana.com/media/thumbs/tt7676397331612421396.webp",
    "transcript": {
      "text": "Are you ready? Didn't they say I keep a check? She was a bad batch nevertheless calling it quits now, baby I'm a wreck, crash at my place..."
    },
    "on_screen": {
      "cuts": 0,
      "cuts_per_10s": 0,
      "seconds_analysed": null,
      "text_on_screen": null,
      "spoken_opening": "face-to-camera",
      "analysed_at": "2026-11-21T17:03:34.737Z"
    },
    "analysis_status": "frames",
    "likely_repost": null,
    "repost_of": null,
    "likely_repost_reason": "Nothing long enough to compare: the caption has fewer than 6 words once hashtags, mentions and links are left out, and no opening line of...",
    "provenance": {
      "observed": {
        "fields": [
          "views"
        ],
        "source": "TikTok public data",
        "first_seen": "2026-11-16T19:11:32.642Z",
        "stats_checked_at": "2026-11-16T19:11:32.642Z",
        "snapshots": 0
      },
      "inferred": {
        "fields": [
          "hook"
        ],
        "by": [
          "AI labels 2026-11-16"
        ],
        "note": "Inferred fields are readings, not facts: hook type, format and region can be wrong."
      },
      "missing": [
        "duration_s"
      ]
    },
    "metrics_url": "/api/v1/videos/tt7676397331612421396/metrics"
  }
}
```

### POST /api/v1/videos/batch

Up to 50 full video records in one call, duplicates removed; ids not found come back as {id, found:false}.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `ids` (required) | body | array | 1-50 video ids (e.g. tt7581..., ytAbC...) |

```bash
curl -X POST "https://lulubanana.com/api/v1/videos/batch" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ids":["tt7581234567890123456","ytAbCdEfGhIjK"]}'
```

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

A video's readings over time (tracking checks and research runs) with its age at each, and views per hour and per day when there are two readings.

Cost: free.

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

```bash
curl "https://lulubanana.com/api/v1/videos/tt7581234567890123456/metrics" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "id": "tt7676397331612421396",
    "views_now": 21188146,
    "posted": "2026-08-21",
    "snapshots": [],
    "velocity": null,
    "velocity_note": "Growth needs two readings at different times; one snapshot cannot give a velocity."
  }
}
```

### GET /api/v1/tracking/videos

Videos you track, with daily view counts.

Cost: free.

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

### POST /api/v1/tracking/videos

Start tracking a video. Body: {video_id} from your results, or {url} of a TikTok video. Charged at each daily check, starting with the first.

Cost: 10 credits.

| Parameter | In | Type | Description |
| - | - | - | - |
| `video_id` | body | string | A video id from your results (or send url) |
| `url` | body | string | A TikTok video link (or send video_id) |

```bash
curl -X POST "https://lulubanana.com/api/v1/tracking/videos" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.tiktok.com/@creator/video/7581234567890123456"}'
```

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

A tracked video with its latest numbers and views gained per hour between checks (needs two checks).

Cost: free.

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

```bash
curl "https://lulubanana.com/api/v1/tracking/videos/tt7581234567890123456" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

### GET /api/v1/tracking/videos/{id}/snapshots

A tracked video's numbers at each check.

Cost: free.

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

```bash
curl "https://lulubanana.com/api/v1/tracking/videos/tt7581234567890123456/snapshots" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

### DELETE /api/v1/tracking/videos/{id}

Stop tracking a video.

Cost: free.

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

```bash
curl -X DELETE "https://lulubanana.com/api/v1/tracking/videos/tt7581234567890123456" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

## FAQ

**Is a missing save count reported as zero?**
No. Unavailable values stay empty and are listed under provenance.missing.

**Can you calculate growth from a single snapshot?**
No. Velocity needs two readings at different times; until then the reply says why there is none.

**How does lulubanana tell that a video is a repost?**
likely_repost (on GET /videos/{id}, POST /videos/batch and the outlier check) is true only when an earlier post by a different creator has the same normalised caption (6 or more words, ignoring case, hashtags, mentions, links and punctuation) or the same opening line; repost_of then names the original. It is false when the comparison found nothing, and null when it cannot be told (no posting date, no creator, or nothing long enough to compare). Cross-posting by the same creator is not a repost. Only videos in the lulubanana database are compared.

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