lulubanana

The research guide

Which call answers which question, how long it takes, and how to read what comes back. Written for people and for AI assistants: give an assistant the plain-text version, or connect it to the MCP server.

About the API

Base address: https://lulubanana.com/api/v1. Every request needs Authorization: Bearer YOUR_KEY (keys start with lb_; create one in Settings → API).

Replies are JSON with the result inside data. Field names are snake_case. Every reply carries X-Credits-Used (what the call cost) and X-Credits-Remaining. Errors are never charged.

MCP server for AI assistants: https://lulubanana.com/api/v1/mcp (Streamable HTTP, same key). Every endpoint is a tool; paid tools say so in their description. Machine-readable spec: https://lulubanana.com/api/openapi.json.

Prices are in credits from the account's balance, the same in the app and the API: a research run costs 100, a creator check 15 a day, a video check 10 a day, a search check 10 (free when the same check was made in the last 7 days), a search opportunity job 100. Everything else, including every read, is free. POST /estimate prices planned calls for free.

Pick the right call

QuestionCallCost
"What's working in X right now?"POST /agents with a brief and 3-10 search terms; its first run starts at once100 credits
"Keep watching X for me."The same, with cadence daily, weekly or monthly100 credits per run
"Give me the whole picture of my agent."GET /agents/{id}/summary: last run, counts, per-platform benchmarks, top 10 organic outliers, winners against the rest, trends, the AI report, breaking eventsFree
"Show me the videos."GET /agents/{id}/videos with filters min_score, min_views, platform, start_date, end_date, region, order_by, include_transcript=trueFree
"What do the winners do differently?"GET /agents/{id}/winners (top quarter against bottom quarter), GET /agents/{id}/playbook (against the niche median)Free
"Explain what works, with examples."GET /agents/{id}/report: themes with confidence and evidence video ids, and ideas from viewers' commentsFree
"What should I make next?"ideas in /agents/{id}/report (from the comments on the strongest videos), and GET /agents/{id}/hooks?q=Free
"Why did this video pop?"GET /videos/{id}/insight: key findings against the creator and the nicheFree
"What changed since last time?"GET /agents/{id}/compare: new outliers, videos no longer found, biggest view gainsFree
"What is trending?"GET /agents/{id}/trends (content formats in the niche), GET /trends?kind=topic (topics)Free
"Is something breaking in my niche?"GET /agents/{id}/events, and GET /agents/{id}/activity for what autopilot changedFree
"Track this creator or video."POST /tracking/creators or /tracking/videos15 or 10 credits per daily check
"Research this niche, one call."POST /research/jobs with niche (one sentence; terms are planned for you) or your own terms; poll /research/jobs/{id}, then read /research/jobs/{id}/results100 credits
"Research it every N days."POST /research/schedules with cadence or every_days (2-90)100 credits per run
"Find videos about X that we already have."POST /search/videos (keywords, platforms, dates, language, views, follower range, min_outlier_ratio, min_baseline_posts); check coverage_statusFree
"Which hooks work?"GET /hooks/types, GET /hooks/trending, GET /hooks/search?q=Free
"Which formats work, and for my topic?"GET /formats, GET /formats/{format}, POST /formats/match with a topicFree
"Who are the creators to learn from?"POST /search/creators, GET /creators/{platform}/{handle}, POST /creators/compare, GET /agents/{id}/creators/outliersFree
"What is the whole record of one video?"GET /videos/{id} (stats, baseline, hook, format, transcript, provenance), /videos/{id}/metrics (readings and velocity), POST /videos/batchFree
"What is hot in the last two days, or in a country?"GET /videos/digest, GET /topic-trends/today?region=US, /topic-trends/emerging, GET /hashtags, GET /tiktok/hashtags?country=US, GET /sounds/trendingFree
"Watch these competitors."POST /watchlists (add track: true to check them daily)Free; tracking 15 or 10 per daily check
"What do people search on Google and YouTube about this niche, and where are the gaps?"POST /search/opportunities with niche (and audience, market); poll /analysis/jobs/{job_id}, then read /search/opportunities?job_id=100 credits (plus a research run only when too little is collected)
"What would people search for this?"POST /search/intent-extract with a topic, niche or up to 20 video_idsFree (daily fair use)
"How many people search this, and is it rising?"POST /search/demand with up to 20 keywords; GET /search/demand?keyword= reads stored data10 credits per lookup (free within 7 days)
"What do the current Google or YouTube results miss?"POST /search/google-serp-audit or /search/youtube-serp-audit with up to 5 keywords; GET /search/serp-audits/{id}10 credits per keyword (free within 7 days)
"Write a brief for this idea."POST /briefs/generate with an opportunity_id (opp_... or sop_...); GET /briefs/{id}, or ?format=markdown for a documentFree (daily fair use)
"Which hooks work for this audience?"POST /hooks/recommend with a profile_id, or audience and nicheFree (daily fair use)
"What will these calls cost?"POST /estimate with up to 20 planned callsFree
"Research these niches, one call."POST /research/jobs/batch with up to 5 job bodies (all or nothing); GET /research/jobs/{id}/results?format=markdown for a document100 credits each
"What should THIS audience make next?"POST /profiles (niche, audience, problems, tone, market...), then POST /opportunities/discover and poll /analysis/jobs/{id}; POST /opportunities/score for your own ideasFree (10 a day)
"Is this video an outlier for its own creator?"POST /videos/outlier-check with video_id or a link; POST /creators/baseline for a creator15 credits (free within 24 h)
"Break this video down: hook, structure, visuals."POST /videos/{id}/analyze, then GET /videos/{id}/analysisFree (20 a day)
"What do viewers ask for?"POST /videos/{id}/comments/collect, then GET /videos/{id}/comments/intelligence; GET /agents/{id}/audience, GET /agents/{id}/gapsTikTok 10 credits, YouTube free
"Why do these hooks work? Will mine?"GET /hooks/mechanisms, /hooks/formulas, /hooks/emerging, POST /hooks/evaluate with your opening lineFree
"Find videos about this idea, in any words."POST /search/videos with semantic: true; GET /videos/{id}/similarFree
"What is taking off right now?"GET /videos/breakouts/early (needs two readings), GET /formats/transfer (formats proven on one platform, rare on another)Free

Most research follows one path: an agent finds the outlier videos and creators, the summary and report explain them, tracking follows the winners.

How long things take, and when results are ready

A research run takes about 13 minutes (9 in 10 within 17); plan for 30. The AI report follows about a minute later. Creating an agent or starting a run answers at once with a job_id.

**Wait for finalized: true.** Read GET /agents/{id} (or GET /jobs/{job_id}) every 15 seconds or more, as retry_after_seconds says, until finalized is true: the run and its AI report have both stopped. Before that, empty (null) fields mean "not ready", not "nothing found".

`stage``progress_pct`What is happening
queued5Waiting for a free slot
collecting10-70Searching the platforms and scoring videos; eta_seconds counts down
analyzing85Writing the AI report
completed100Done: read the summary, videos and report

pending_jobs lists the follow-up work still running, each with poll_url and retry_after_seconds. An empty list alone does not mean done: check finalized.

**Finished is not the same as worked.** If latest_run_status is failed, the run returned nothing and was refunded in full. If the report is still null after finalized, no report is coming for this run, but its videos are good.

A webhook (Settings → Integrations, event "Run finished") tells your server when a run ends. Messages can be late or lost, so poll as well.

Starting the same agent again within 6 hours of its last finished run, with the same searches, returns that run for free (cached: true) instead of collecting the same videos again.

Rank by the Virality Score, never by raw views

500,000 views is routine for an account with 10 million followers and huge for one with 3,000. The Virality Score (virality_score) is ln(views ÷ followers) × ln(followers): it rewards beating the follower count by a wide margin, weighted by audience size, so one lucky video from a tiny account does not top every list.

Virality ScoreRead it as
35 or moreExceptional: study it frame by frame
25 to 35Very strong
18 to 25Strong
10 to 18Promising
Below 10Routine

Set aside videos with paid: true (ads, boosted posts, paid partnerships) and report them as ads, not organic wins. Check posted: a high score this week is a live trend; months ago it is history. Engagement = (likes + comments + shares) ÷ views: above 5% on a big video means people reacted; below 1% means passive spread.

Outliers against the creator's own normal

Every video record also has outlier: ratio = views ÷ the creator's median views over recent posts, class (normal below 1.5×, above_average 1.5-3×, viral_outlier 3-10×, strong_breakout 10-25×, exceptional_breakout 25×+), creator_median_views, baseline_posts and confidence (high with 10+ posts, medium 5-9, low below 5). age_matched is false: posts of different ages are compared.

The ratio exists only for creators whose recent posts were checked. When ratio is null, fall back on the Virality Score and say the baseline is missing. Ask for strong evidence with POST /search/videos and min_baseline_posts: 10.

Missing data, coverage and provenance

A missing number is null, never 0: a TikTok save count that was not available is unknown, not zero. GET /videos/{id} lists missing fields and separates observed numbers from AI readings (hook type, format, region guess) in provenance, with analysis_status saying whether frames, a transcript or only the caption were analysed.

Searches return coverage_status: ok, thin, not_collected (we have nothing on it: start research instead of concluding nobody makes such videos) or insufficient_collection. Paged results return next_cursor; pass it back as cursor.

Errors carry a machine-readable code (bad_request, unauthorized, read_only_key, not_found, conflict, rate_limited, insufficient_credits, key_limit_reached). Read-only keys (Settings → API) can read everything and start nothing. GET /account/audit lists every call made with your keys for 90 days.

Opportunities: score versus confidence

opportunity_score (0-100) weighs relevance 25, organic evidence 20, practical value 15, format repeatability 15, suitability 10, freshness 10 and geography 5 (send weights to change them; without a market the geographic share is spread over the rest). Relevance, practical value and suitability are AI judgements of fit; organic evidence, repeatability and freshness are computed from the source videos.

confidence (0-0.95) is separate and only measures the evidence: how many supporting videos and independent creators, whether creator baselines exist, how recent. verified_winner needs strong organic evidence, confidence 0.6+ and relevance 60+. A high score with low confidence is an idea to test, not a proven winner. Off-audience viral topics come back in rejected with a reason.

Every suggestion carries an original angle and originality requirements: use the mechanism and structure, never the source footage, script or images.

Search opportunities: four scores and timing

Each search opportunity has four separate 0-100 scores; never add them up. scores.social: outlier strength 45 (median virality, verified outliers, best creator-relative ratio) + posting momentum 30 (newer half of the window vs older half) + repeatability 25 (independent creators, 8 = full). scores.google_seo: volume 30 (log scale, 100,000/month = full) + growth 20 (3-month Google Ads change, else Google Trends 4 weeks) + gap 30 (Google results audit) + ease 20 (100 - difficulty). scores.youtube: YouTube interest growth 30 (Google Trends, YouTube search, 4 weeks) + freshness gap 20 (median age of the top results, 3 years = full) + content gaps 30 (outdated tutorials, undercovered questions, Shorts-only results) + ease 20 (100 - difficulty). scores.evidence_confidence (0-95): videos 25 (8 = full) + creators 15 (5 = full) + creator baselines 10 + Google Ads volume 15 + Google Trends 10 + YouTube interest 5 + Google audit 10 + YouTube audit 10, capped at 95. A part that could not be measured is left out and the rest re-weighted; a score with nothing measured is null. factors shows every part.

timing: early = social rising while search is flat or falling; aligned = both rising; search_led = search rising, social not; flat = neither; unknown = a side not measured. Rising = +15% or more. It describes the present, not a forecast.

verified is true when 2+ source videos from 2+ creators include a verified organic outlier, real search demand was measured (100+ Google searches a month, or Google Trends interest), and at least one results audit was done. Read hypotheses (the AI-written angle, outline and suggested searches) apart from the measured fields, and limitations for what is missing. Results audits judge Google and YouTube results from titles, snippets, dates, related questions and engagement only: pages are not opened and videos are not watched.

YouTube search volume is always null (Google does not publish it); YouTube interest is Google Trends for YouTube search, relative 0-100, as is Google Trends for the web. Search data covers English-speaking markets only (US, GB, CA, AU).

A job with too little social evidence starts one research run when collect is true (status collecting for about 15 minutes) and returns fewer opportunities than asked when the evidence stays thin, saying why in shortfall_reason. Check the cost first with POST /estimate.

Creative breakdowns and comments

/videos/{id}/analysis is a reading of real frames (dense in the first 3 seconds), on-screen text, measured cuts and the transcript. Shot length and cut rate are measured; descriptions and the mechanism explanation are AI readings and hypotheses. When the video cannot be fetched (slideshows, removed videos) the status is incomplete and only the caption is known: say so.

Comment insights quote real comments (text only, @names removed) with counts and shares; summaries are AI readings. Treat buying or booking intent as a signal, not proof of demand.

Never compare raw views across platforms

View counts differ hugely by platform, and by how a niche was searched. Compare a video only with the same platform: platform_percentile on every video is its rank by views among that platform's videos in the agent (100 = the most viewed), and benchmarks in the summary gives each platform's median, top-10% and top-1% thresholds for this agent.

Transcripts exist mostly for TikTok and YouTube videos with speech (the platform's captions, or a transcript of the strongest TikTok videos). Instagram Reels rarely have one: lean on captions, hook and format there.

Reading the AI report

key_highlight is the single most useful finding. Each theme has why_it_works, tactics, a confidence from 0 to 1 and evidence_ids: real videos from the agent that show it. Match the ids to the video list so every claim points at real videos.

Confidence is capped by the evidence: it can only be high when several of the strongest videos support the theme. Trust 0.7 and up, check 0.5 to 0.7 against its videos, call anything lower tentative.

ideas come only from viewers' comments on the strongest videos (repeated questions, "part 2" requests, objections, requests), each with the videos whose comments show it. corpus says how many videos and comments the report rests on.

Themes and ideas are written by AI; every number (scores, views, shares, lifts) is computed from the videos, not by the AI.

Content trends are video formats creators are copying (built around a shared sound); topics are what people talk about. Each trend needs at least 3 example videos, one per creator, posted no more than 14 days before it was found; a trend with fewer stays out of the list.

Stages: Fresh (new), Rising, Peaking, Archive. new_week against prev_week counts creators who started using it. momentum_vph is views gained per hour by the example videos measured at both of the last two checks: null means not measured yet, never zero growth. The last 3 days of a series are still being counted, so a dip there is not a decline.

How recurring agents improve themselves

Autopilot is on by default. After each run it reviews every search term, replaces terms that keep finding little, and when several creators suddenly start posting about something new in the niche (a breaking event) it adds 1-2 search phrases for 7 days. It never removes what you set, never adds charges and never changes the schedule.

GET /agents/{id}/activity is the change log; GET /agents/{id}/events lists breaking events with a title, summary, salience 0-10 and evidence videos. Send autopilot: false to keep the searches exactly as set.

Spending wisely

Starting work costs credits (a run 100, tracking 15 or 10 a day); reading is free, so read everything a run collected before starting another. Check GET /account first: a request that would overdraw answers 402 with code: insufficient_credits and charges nothing.

Give each API key a monthly credit limit in Settings → API; a call over it answers 402 with code: key_limit_reached before anything is charged. One well-scoped agent (specific 2-4 word phrases, a few exclude words) beats several vague ones.

What lulubanana does not have

No audience demographics or viewer geography (a creator's region is not where their viewers are), no location tags and no live raw-data endpoints: everything comes from what research runs and tracking collected. Meta ads are only those found for an agent's search terms. Say so rather than guessing.

Find next week's ideas before your competitors

Describe your niche in one sentence. Your first agent brings back its outliers in about a minute. 100 free credits for 7 days, no card.

Start for Free