# Predictive content intelligence API: early breakouts, content gaps and format transfer

> The lulubanana advanced intelligence endpoints flag videos still gaining fast relative to their creator's normal (from repeated readings), find under-served content (viewer requests few videos cover) and show formats proven on one platform but still rare on another. They are rules of thumb on measured data and say so: calibrated prediction needs months of history first.

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.

## 4 things you can do with the early breakout detection API

1. Flag early breakouts from two or more readings
2. Find under-served questions and requests in a niche
3. Find formats to bring from one platform to another
4. Test a hook against historical evidence (see the hook API)

## How it works

1. GET /videos/breakouts/early for fast risers.
2. GET /agents/{id}/gaps for under-served content.
3. GET /formats/transfer for cross-platform chances.

## Endpoints

### GET /api/v1/videos/breakouts/early

Videos still gaining fast relative to their creator's normal (from two or more readings by your agents' runs or tracking): views per day, ratio now, an early_breakout flag and confidence.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `agent` | query | string | Only this agent |
| `hours` | query | string | Readings from the last 24-720 hours (default 168) |
| `limit` | query | string | 1-100 (default 30) |

```bash
curl "https://lulubanana.com/api/v1/videos/breakouts/early?hours=168" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

### GET /api/v1/agents/{id}/gaps

Under-served content: questions and requests from viewers (comment insights and the report) that few collected videos cover.

Cost: free.

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

```bash
curl "https://lulubanana.com/api/v1/agents/42/gaps" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

### GET /api/v1/formats/transfer

Cross-platform format transfer: how each format performs against each platform's own typical video, and where a proven format is still rare (a chance to bring it over).

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `days` | query | string | Look back 30-365 days (default 365) |

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

Example reply (real data, trimmed):

```json
{
  "data": {
    "platform_baselines": {
      "tt": 15.2,
      "yt": 35.4,
      "ig": 3.2
    },
    "formats": [
      {
        "format": "Talking head",
        "by_platform": {
          "tt": {
            "videos": 77,
            "creators": 72,
            "share_pct": 14.6,
            "lift": -2.5
          },
          "yt": {
            "videos": 1,
            "creators": 1,
            "share_pct": 0.6,
            "lift": -2.5
          },
          "ig": {
            "videos": 3,
            "creators": 3,
            "share_pct": 13.6,
            "lift": -12.4
          }
        },
        "proven_on": [],
        "transfer_candidates": []
      },
      {
        "format": "Tutorial",
        "by_platform": {
          "tt": {
            "videos": 254,
            "creators": 177,
            "share_pct": 48.3,
            "lift": -2
          },
          "yt": {
            "videos": 83,
            "creators": 61,
            "share_pct": 48.8,
            "lift": -1
          },
          "ig": {
            "videos": 18,
            "creators": 14,
            "share_pct": 81.8,
            "lift": 1.9
          }
        },
        "proven_on": [],
        "transfer_candidates": []
      }
    ],
    "note": "transfer_candidates: platforms where a format that beats its platform's typical video elsewhere is still rare. Lift is measured against e..."
  }
}
```

## FAQ

**Does lulubanana predict which videos will go viral?**
Not yet with a trained model: that needs months of trustworthy history. Today it flags measurable early signals (a video gaining at least half its creator's usual views per day) and labels them as rules of thumb.

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