# lulubanana API: the short-form video research API for developers and AI agents

> lulubanana is a content research platform and API for short-form video (TikTok, YouTube Shorts and Instagram Reels). The API finds organic outlier videos, explains why they work and ranks audience-matched content ideas. 159 endpoints; 145 free; the rest cost what the app costs.

Base address: https://lulubanana.com/api/v1. Auth: `Authorization: Bearer lb_...` (full or read-only keys). OpenAPI: https://lulubanana.com/api/openapi.json. MCP: https://lulubanana.com/api/v1/mcp. SDKs: https://lulubanana.com/sdk/lulubanana.py, https://lulubanana.com/sdk/lulubanana.mjs.

## 15 capabilities

1. [Content discovery](https://lulubanana.com/developers/content-discovery/) (https://lulubanana.com/developers/content-discovery.md): 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.
2. [Viral & outlier detection](https://lulubanana.com/developers/outlier-detection/) (https://lulubanana.com/developers/outlier-detection.md): The lulubanana outlier detection API compares a video's views with its own creator's recent posts and returns an outlier ratio (views / creator median), a class from above average (1.5x) to exceptional breakout (25x+), an age-matched baseline when enough posts are of similar age, the sample size and a confidence level. A 90,000-view video from a creator who usually gets 3,000 is a 30x outlier; a million views for a creator who usually gets two million is not.
3. [AI video & creative analysis](https://lulubanana.com/developers/creative-analysis/) (https://lulubanana.com/developers/creative-analysis.md): The lulubanana creative analysis API reads the video itself (frames sampled densely in the first 3 seconds, on-screen text, measured scene cuts and the transcript) with a vision model, and returns a structured breakdown: the hook, the opening -> body -> payoff -> ending structure, visual presentation, storytelling techniques and a mechanism hypothesis, each with timestamped evidence and a confidence.
4. [Viral hook intelligence](https://lulubanana.com/developers/hooks/) (https://lulubanana.com/developers/hooks.md): The lulubanana hook API is a searchable database of opening lines from real short-form videos, ranked by organic performance. Each strong hook is classified by type and psychological mechanism (curiosity, mistake avoidance, contrarian, surprising fact, problem-solution, before-after, story, comparison, challenge, question, social proof, demonstration, listicle, suspense, humor) and reduced to a reusable formula, so you can reuse the mechanism without copying the wording.
5. [Trending topics & sounds](https://lulubanana.com/developers/trending-topics/) (https://lulubanana.com/developers/trending-topics.md): The lulubanana trending topics API returns what people are talking about right now by country (US, UK, Canada, Australia, global), rebuilt every 4 hours from search, YouTube and TikTok signals, with reach, momentum, a lifecycle stage and outlier videos for each topic; plus trending and breakout TikTok sounds, and topics and breaking events inside your own niche.
6. [Trending creative formats](https://lulubanana.com/developers/creative-formats/) (https://lulubanana.com/developers/creative-formats.md): The lulubanana formats API measures how content formats (tutorial, GRWM, review, haul, transition, talking head, faceless) and AI-described content trends perform across independent creators: performance distribution, lift over the typical video, outlier rate, weekly adoption, growth, lifecycle stage and confidence, with the examples behind each.
7. [Creator intelligence](https://lulubanana.com/developers/creators/) (https://lulubanana.com/developers/creators.md): The lulubanana creator API finds creators in a niche, measures each one's normal (median views of recent posts, breakouts, outlier frequency), lists their strongest formats, hook types and hashtags, compares creators side by side, and monitors them daily with watchlists and breakout alerts.
8. [Comments & audience insights](https://lulubanana.com/developers/comments-audience/) (https://lulubanana.com/developers/comments-audience.md): The lulubanana comments API collects a video's top public comments and clusters them into questions, problems, frustrations, objections, tutorial and comparison requests, buying or booking intent and requests for alternatives, with counts, shares, quoted evidence and confidence, plus unanswered questions and content gaps across a whole niche. Commenter names are never stored.
9. [Audience-matched opportunities](https://lulubanana.com/developers/opportunities/) (https://lulubanana.com/developers/opportunities.md): The lulubanana opportunity API takes an audience and content profile (niche, audience, interests, problems, market, language, tone, formats, exclusions, constraints, outcomes; a product is optional) and returns ranked content opportunities grounded in videos that really outperformed. Each has a 0-100 opportunity score built from weighted factors, a separate evidence-confidence score, source video links, the hook mechanism and structure that worked, an original angle, the information to include, the viewer payoff and originality requirements. Off-audience viral content is rejected with a reason.
10. [Search opportunities](https://lulubanana.com/developers/search-opportunities/) (https://lulubanana.com/developers/search-opportunities.md): The lulubanana search opportunity API connects what is breaking out on TikTok, YouTube Shorts and Instagram Reels with what people search on Google and YouTube. It turns real outlier videos into search intent, measures search demand (Google Ads keyword data and Google Trends for the web and for YouTube search), audits the current Google and YouTube results for what they miss, and ranks opportunities with four separate 0-100 scores (social, Google SEO, YouTube and evidence confidence) and a timing label, each citing the source videos and search results it rests on.
11. [Automated research jobs](https://lulubanana.com/developers/research-jobs/) (https://lulubanana.com/developers/research-jobs.md): The lulubanana research API starts a full niche research with one request: send a niche sentence (search terms are planned for you) or your own terms, and an agent searches TikTok, YouTube Shorts and Instagram Reels, scores every video, analyses hooks and formats, writes an evidence-backed report and compares the run with the previous one. Runs can repeat daily, weekly, monthly or every N days.
12. [Video data & history](https://lulubanana.com/developers/video-data/) (https://lulubanana.com/developers/video-data.md): 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.
13. [Alerts & webhooks](https://lulubanana.com/developers/webhooks-alerts/) (https://lulubanana.com/developers/webhooks-alerts.md): The lulubanana webhooks API sends signed events to your server when a tracked creator's post breaks out, a tracked creator posts, a trend is detected or moves stage, a research job finishes or fails, an analysis is ready, a search opportunity job finds clear Google or YouTube gaps or the weekly digest is out, with retries, a 30-day delivery log, one-call resend and adjustable alert thresholds.
14. [Keys, SDKs & MCP](https://lulubanana.com/developers/api-keys-sdks-mcp/) (https://lulubanana.com/developers/api-keys-sdks-mcp.md): The lulubanana API is a versioned JSON REST API with Bearer keys (full access or read-only), per-key monthly credit limits, a 90-day audit log, an OpenAPI 3.1 specification, generated Python and JavaScript SDKs and an MCP server, so AI agents (desktop assistants, coding agents and agent frameworks) can run the whole research workflow without the dashboard.
15. [Advanced intelligence](https://lulubanana.com/developers/advanced-intelligence/) (https://lulubanana.com/developers/advanced-intelligence.md): 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.

## Prices

- Research agent run: 100 credits per run. One-off, manual or scheduled. Returned in full if the run fails.
- Creator tracking: 15 credits per daily check. Each tracked creator, each day it is checked.
- Video tracking: 10 credits per daily check. Each tracked video, each day it is checked.
- Creator baseline check: 15 credits per check. Reads a creator's recent posts to measure their usual views (API). Free when checked in the last 24 hours. Returned if the check fails.
- Video comments check: 10 credits per video. Collects a TikTok video's top comments (API). Free for YouTube and when collected in the last 7 days. Returned if it fails. Instagram comments are not collected.
- Search check: 10 credits per keyword or demand lookup. The top Google or YouTube results for one keyword with what they miss, or search demand for up to 20 keywords. Free when checked in the last 7 days. Returned if the check fails.
- Search opportunity research: 100 credits per job. Social evidence matched to Google and YouTube searches: intent, demand, the top results and their gaps, four separate scores, up to 20 ranked opportunities. A research run is added only when the niche has too little collected data. Returned if it fails.
- Fusion Engine research: 100 credits per job. Audience problems matched across search demand and proven social formats, checked against your Audience DNA and Creator DNA: ranked opportunities with a priority score, a separate evidence confidence and a ready brief. A research run or search checks are added only when evidence is missing and only within your spending limit. Returned if it fails.
- Every read, search and included analysis: free (fair use a day: 10 opportunity searches, 20 creative breakdowns, 30 comment analyses, 30 niche plans, 60 free YouTube comment collections, 300 meaning searches, 30 search intent extractions, 30 content briefs, 30 hook recommendations, 100 free (cached) search demand lookups and 100 free (cached) results audits).

## Errors

400 bad_request - 401 unauthorized - 402 insufficient_credits / key_limit_reached - 403 read_only_key - 404 not_found - 409 conflict - 429 rate_limited (60 requests a minute per key).

## Data accuracy

Missing numbers stay empty (null), never 0. Observed numbers and AI readings are separated in provenance. Creator region is not viewer geography. Sponsored posts are flagged and left out by default. AI explanations are hypotheses. Unfetchable videos are marked incomplete.

## FAQ

**What is the lulubanana API?**
lulubanana is a content research platform and API for short-form video (TikTok, YouTube Shorts and Instagram Reels). Its API finds organic outlier videos in any niche, explains why they work (hooks, structure, formats, comments) and turns them into audience-matched content opportunities, for developers and AI agents.

**Which platforms does the API cover?**
TikTok, YouTube Shorts and Instagram Reels, with one record shape for all three.

**How much does the lulubanana API cost?**
The API costs exactly what the app costs, from one credit balance: a research run is 100 credits, a creator check 15, a video check 10; every read, search and included AI analysis is free. Plans start with a free trial.

**How is lulubanana different from a raw scraping API?**
Instead of raw posts it returns intelligence: creator-relative outlier ratios with confidence, hook mechanisms, creative breakdowns, comment insights and ranked opportunities, each with the evidence behind it and a clear line between measured data and AI readings.

**Can AI agents use the API?**
Yes. Every endpoint is also an MCP tool; assistants that support OAuth connect by signing in, and /ai-guide.txt explains which call answers which question.

**Is there a Python or JavaScript SDK?**
Yes, both, generated from the live OpenAPI specification: /sdk/lulubanana.py and /sdk/lulubanana.mjs.

**What are the rate limits?**
60 requests a minute per key; each AI analysis has a daily fair-use ceiling. A 429 reply has code rate_limited.

**Does lulubanana report data it cannot see?**
No. Missing numbers stay empty, inferred fields are labelled, unavailable videos are marked incomplete, and empty searches say whether data was not collected.

**Can the API connect viral videos with Google and YouTube searches?**
Yes. POST /search/opportunities takes a niche, finds the verified organic outliers behind it, turns their topics into Google and YouTube searches, measures demand, audits the current results and ranks opportunities with four separate scores (social, Google SEO, YouTube, evidence confidence) and a timing label. It costs 100 credits, plus one research run only when too little is collected.

**Can I see what a call will cost before I make it?**
Yes. POST /estimate prices up to 20 planned calls for free, with the reason a call is free (cached, already running, a read or included) and the fair use left.
