# Search opportunity API: from viral short-form videos to Google and YouTube searches

> 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.

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.

## 10 things you can do with the search opportunity API

1. Turn a niche, topic, audience or up to 20 videos into Google and YouTube searches, labelled by intent (informational, commercial, comparison, tutorial, navigational, local) and grouped
2. Measure search demand for up to 20 keywords: Google monthly searches, cost per click, competition, 12 months of history and 3-month growth
3. Read Google Trends interest for the web and for YouTube search (daily, last 3 months), with the last 4 weeks against the 4 before
4. Audit Google page one for a keyword: intent match, answer completeness, outdated results, missing formats, weaknesses, difficulty and a gap score
5. Audit YouTube's top 20 for a keyword: freshness, outdated tutorials, undercovered viewer questions, long-form angles, difficulty and a gap score
6. Run the whole chain in one call: social evidence, topics, searches, demand, results audits and up to 20 ranked opportunities
7. Keep four scores apart (social, Google SEO, YouTube, evidence confidence), each with its factors and formula
8. See timing: early (social rising before search), aligned, search-led or flat
9. Tell verified findings from AI hypotheses, and see why fewer opportunities came back than asked
10. Reuse searches checked in the last 7 days for free; every live lookup is kept as a dated snapshot

## How it works

1. Estimate first with POST /estimate (free): it shows the credits and whether the niche needs a research run.
2. POST /search/opportunities with a niche (100 credits; plus one research run, 100 credits, only when too little is collected and collect is true).
3. Poll GET /analysis/jobs/{job_id} every 15-60 seconds: queued or collecting (a research run is gathering videos), analyzing, then completed.
4. Read GET /search/opportunities?job_id= for the ranked opportunities, then brief one with POST /briefs/generate (free).
5. Or use the parts on their own: POST /search/intent-extract (free), POST /search/demand and the two results audits (10 credits per check, free when cached).

## Example: home espresso, from one request to ranked opportunities

1. Estimate it (free): POST /estimate with this request answered 200 credits, 100 for the search opportunity job and 100 for one research run, because the collected library held too few verified organic outliers on home espresso (a job needs at least 5, from 3 different creators).
2. Send the request below. The reply comes at once with a job_id and status collecting: a research run gathers TikTok, YouTube Shorts and Instagram Reels videos first (about 15 minutes).
3. Poll GET /analysis/jobs/{job_id} every 60 seconds while collecting, then every 15: the status moves to analyzing (topics, searches, demand, results audits) and then completed.
4. Read GET /search/opportunities?job_id={job_id}: up to 20 ranked opportunities, each with its source videos, Google and YouTube searches, demand, results audits, four scores, timing, a recommended format and an outline.

```bash
curl -X POST "https://lulubanana.com/api/v1/search/opportunities" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"niche":"Home espresso","audience":"beginners with a first espresso machine at home","market":"US","platforms":["tt","ig","yt"],"window_days":14,"count":20,"collect":true,"max_keywords":10}'
```

The first reply (its shape from the live API; ids are examples):

```json
{
  "data": {
    "job_id": 1001,
    "status": "collecting",
    "research_job_id": 1000,
    "agent_id": 42,
    "credits_used": 200,
    "credits": {
      "search_research": 100,
      "research_run": 100
    },
    "research_run": {
      "job_id": 1000,
      "agent_id": 42,
      "started_now": true,
      "charged_now": true,
      "state": "queued",
      "status_url": "/api/v1/research/jobs/1000"
    },
    "evidence": {
      "mode": "library",
      "agent_id": null,
      "window_days": 14,
      "platforms": [
        "tt",
        "ig",
        "yt"
      ],
      "videos": 0,
      "creators": 0,
      "verified_outliers": 0,
      "outlier_creators": 0,
      "newest_post": null,
      "needs_collection": true,
      "thresholds": {
        "min_outliers": 5,
        "min_outlier_creators": 3
      }
    },
    "collection": "started: the job waits for the research run (about 15 minutes), then analyses",
    "market": "US",
    "poll_url": "/api/v1/analysis/jobs/1001",
    "opportunities_url": "/api/v1/search/opportunities?job_id=1001",
    "poll_after_seconds": 60
  }
}
```

When the job is done, GET /analysis/jobs/{job_id} lists the ranked opportunities. A real finished job from a makeup niche, trimmed to two opportunities (a home espresso job answers with the same fields):

```json
{
  "data": {
    "id": 2338,
    "kind": "search_opps",
    "status": "completed",
    "result": {
      "niche": "Makeup content and beauty related",
      "market": "US",
      "count_requested": 3,
      "count_returned": 3,
      "shortfall_reason": null,
      "opportunities": [
        {
          "id": "sop_ep4abXxcf9VQ",
          "rank": 1,
          "topic": "Occasion makeup and inclusive glam looks",
          "scores": {
            "social": 69,
            "youtube": 65,
            "google_seo": 57,
            "evidence_confidence": 57
          },
          "timing": "aligned",
          "verified": true,
          "recommended_format": "short video",
          "primary_google_query": "simple makeup for wedding guest"
        },
        {
          "id": "sop_7rqdaI6zXG9Y",
          "rank": 2,
          "topic": "Quick makeup routines with a visible payoff",
          "scores": {
            "social": 56,
            "youtube": 53,
            "google_seo": 44,
            "evidence_confidence": 63
          },
          "timing": "search_led",
          "verified": true,
          "recommended_format": "short video",
          "primary_google_query": "5 minute makeup routine"
        }
      ],
      "gaps_found": [
        {
          "topic": "Occasion makeup and inclusive glam looks",
          "google_gap": 51,
          "youtube_gap": 66,
          "opportunity_id": "sop_ep4abXxcf9VQ"
        }
      ],
      "opportunities_url": "/api/v1/search/opportunities?job_id=2338"
    }
  }
}
```

## Key terms

- **Search intent**: What a searcher wants: informational, commercial, comparison, tutorial, navigational or local. Extracted searches are AI suggestions until their demand is measured.
- **Search demand**: Google monthly searches, cost per click and competition with 12 months of history (Google Ads keyword data), plus Google Trends interest for the web and for YouTube search (relative 0-100, not counts). YouTube search volume is not published by Google, so it is always null, with that reason.
- **Results audit**: A reading of Google page one or YouTube's top 20 for one keyword from titles, snippets, dates, related questions and engagement (pages are not opened and videos are not watched): what is covered, outdated or missing, a difficulty 0-100 and a gap score 0-100.
- **Social Opportunity Score (scores.social)**: 0-100: 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).
- **Google SEO Opportunity Score (scores.google_seo)**: 0-100: 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).
- **YouTube Content Opportunity Score (scores.youtube)**: 0-100: 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).
- **Evidence Confidence (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.
- **Timing (early, aligned, search-led, flat, unknown)**: 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.
- **Verified**: 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.
- **Unknown parts**: A part that could not be measured is left out and the other parts are re-weighted; a score with no measured part is null.
- **Rank**: Social 40 + google_seo 30 + youtube 30 (unknown ones re-weighted), times 0.6 + 0.4 x evidence_confidence / 95.

## Endpoints

### POST /api/v1/search/opportunities

The flagship search opportunity research: social evidence (verified organic outliers in your agent's videos, or the whole library: videos that name the niche's distinctive words and are close to it in meaning, English only, in the window) -> topics and audience problems from the outliers, hooks, formats and comment questions -> Google and YouTube searches per topic -> demand (one Google Ads keyword lookup for all, Google Trends web and YouTube for the top max_keywords) -> Google and YouTube results audits (7-day cache) -> four separate 0-100 scores (social, google_seo, youtube, evidence_confidence capped at 95; deterministic formulas with factors) and a timing label (early, aligned, search_led, flat, unknown). Each opportunity cites real source videos; AI-written parts are listed as hypotheses. Fewer than count when evidence is thin (the result says why). Costs 100 credits; when the niche has too little collected data and collect is true, one research run (100 credits) is started first and the job waits for it (a run already going for the agent or niche is reused, never charged twice). Refunded if it fails or finds nothing. Async: poll /analysis/jobs/{job_id}; read the opportunities at /search/opportunities?job_id=...

Cost: 100 credits.

| Parameter | In | Type | Description |
| - | - | - | - |
| `niche` | body | string | The niche, e.g. "makeup for beginners" (or send profile_id or agent_id) |
| `subniche` | body | string | A sub-niche |
| `audience` | body | string | Who it is for |
| `profile_id` | body | number | A saved audience profile (fills niche, subniche and audience) |
| `agent_id` | body | number | Use this agent's videos as the social evidence |
| `market` | body | US, GB, CA, AU | US (default), GB, CA or AU |
| `platforms` | body | array | Any of tt, ig, yt (default all three) |
| `window_days` | body | number | Social evidence window, 1-90 days (default 14) |
| `count` | body | number | Opportunities wanted, 1-20 (default 20) |
| `collect` | body | boolean | Start a research run when too little data is collected (default true; adds one research run) |
| `max_keywords` | body | number | Topics that get Google Trends and results audits, 1-20 (default 10) |

```bash
curl -X POST "https://lulubanana.com/api/v1/search/opportunities" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"niche":"Home espresso","audience":"beginners with a first espresso machine at home","market":"US","platforms":["tt","ig","yt"],"window_days":14,"count":20,"collect":true,"max_keywords":10}'
```

GET /analysis/jobs/{id} (when the job is done):

```json
{
  "data": {
    "id": 2338,
    "kind": "search_opps",
    "status": "completed",
    "stage": null,
    "research_job_id": null,
    "result": {
      "niche": "Makeup content and beauty related",
      "spend": {
        "trends_live": 3,
        "google_ads_calls": 1,
        "google_results_live": 2,
        "youtube_results_live": 2,
        "google_ads_keywords_live": 24
      },
      "market": "US",
      "audience": null,
      "evidence": {
        "mode": "agent",
        "videos": 399,
        "agent_id": 1,
        "creators": 360,
        "platforms": [
          "tt"
        ],
        "thresholds": {
          "min_outliers": 5,
          "min_outlier_creators": 3
        },
        "newest_post": "2026-11-21",
        "window_days": 30,
        "needs_collection": false,
        "outlier_creators": 44,
        "verified_outliers": 47
      },
      "keywords": {
        "deep_checked": [
          {
            "google": "simple makeup for wedding guest",
            "youtube": "black tie event makeup tutorial"
          }
        ],
        "google_checked": 27
      },
      "refunded": false,
      "research": null,
      "subniche": null,
      "audit_ids": [
        "sau_B4A1XyWcLBlO",
        "sau_NC8xJ86AyC1U"
      ],
      "platforms": [
        "tt",
        "ig"
      ],
      "gaps_found": [
        {
          "topic": "Occasion makeup and inclusive glam looks",
          "google_gap": 51,
          "youtube_gap": 66,
          "opportunity_id": "sop_ep4abXxcf9VQ"
        }
      ],
      "limitations": [],
      "research_at": "2026-11-23T17:38:41.591Z",
      "window_days": 30,
      "max_keywords": 3,
      "opportunities": [
        {
          "id": "sop_ep4abXxcf9VQ",
          "rank": 1,
          "topic": "Occasion makeup and inclusive glam looks",
          "scores": {
            "social": 69,
            "youtube": 65,
            "google_seo": 57,
            "evidence_confidence": 57
          },
          "timing": "aligned",
          "verified": true,
          "recommended_format": "short video",
          "primary_google_query": "simple makeup for wedding guest"
        },
        {
          "id": "sop_7rqdaI6zXG9Y",
          "rank": 2,
          "topic": "Quick makeup routines with a visible payoff",
          "scores": {
            "social": 56,
            "youtube": 53,
            "google_seo": 44,
            "evidence_confidence": 63
          },
          "timing": "search_led",
          "verified": true,
          "recommended_format": "short video",
          "primary_google_query": "5 minute makeup routine"
        }
      ],
      "count_returned": 3,
      "score_formulas": {
        "rank": "social 40 + google_seo 30 + youtube 30 (unknown ones re-weighted), times 0.6 + 0.4 x evidence_confidence / 95",
        "social": "outlier strength 45 (median virality, verified outliers, best creator-relative ratio) + posting momentum 30 (newer half of the window vs ...",
        "timing": "early = social rising while search is flat or falling; aligned = both rising; search_led = search rising, social not; flat = neither; unk...",
        "youtube": "YouTube interest growth 30 (Google Trends, YouTube search, 4 weeks) + freshness gap 20 (median age of the top results, 3 years = full) + ...",
        "verified": "true when 2+ source videos from 2+ creators include a verified organic outlier, real search demand was measured (100+ Google searches a m...",
        "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 ...",
        "unknown_parts": "A part that could not be measured is left out and the other parts are re-weighted; a score with no measured part is null.",
        "growth_mapping": "growth -50% or less = 0, 0% = 0.5, +50% or more = 1",
        "evidence_confidence": "videos 25 (8 = full) + creators 15 (5 = full) + creator baselines 10 + Google Ads volume 15 + Google Trends 10 + YouTube interest 5 + Goo..."
      },
      "count_requested": 3,
      "shortfall_reason": null,
      "opportunities_url": "/api/v1/search/opportunities?job_id=2338"
    },
    "error": null,
    "created_at": "2026-11-23T17:35:00.722Z",
    "finished_at": "2026-11-23T17:38:41.656Z",
    "poll_after_seconds": null
  }
}
```

### GET /api/v1/search/opportunities

Your search opportunities, newest job first, each job in rank order, with every field (sources, hooks, queries, demand, competition, gaps, angle, format, the four scores with factors, timing, verified, hypotheses, limitations). ?job_id= adds that job's status, and why it returned fewer than asked.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `job_id` | query | string | Only this search opportunity job |
| `verified` | query | string | "true" for verified ones only |
| `limit` | query | string | 1-50 (default 20) |
| `cursor` | query | string | next_cursor from the previous page |

```bash
curl "https://lulubanana.com/api/v1/search/opportunities?job_id=1001&verified=true" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": [
    {
      "id": "sop_ep4abXxcf9VQ",
      "rank": 1,
      "job_id": 2338,
      "niche": "Makeup content and beauty related",
      "subniche": null,
      "audience": null,
      "market": "US",
      "topic": "Occasion makeup and inclusive glam looks",
      "audience_problem": "Viewers want a look for a specific event, and want it to suit their own face, gender, and routine.",
      "source_videos": [
        {
          "url": "https://www.tiktok.com/@samistamer/video/7706607033880972557",
          "views": 796002,
          "posted": "2026-11-10",
          "creator": "samistamer",
          "platform": "tt",
          "video_id": "tt7706607033880972557",
          "outlier_class": "exceptional_breakout",
          "outlier_ratio": 262.4,
          "baseline_posts": 20,
          "virality_score": 39.2,
          "verified_outlier": true
        },
        {
          "url": "https://www.tiktok.com/@olivermembrillo/video/7708911584600476958",
          "views": 1825257,
          "posted": "2026-11-16",
          "creator": "olivermembrillo",
          "platform": "tt",
          "video_id": "tt7708911584600476958",
          "outlier_class": "exceptional_breakout",
          "outlier_ratio": 45.6,
          "baseline_posts": 20,
          "virality_score": 43.8,
          "verified_outlier": true
        }
      ],
      "outlier_evidence": {
        "videos": 2,
        "creators": 2,
        "window_days": 30,
        "newest_post_days": 8,
        "verified_outliers": 2,
        "best_outlier_ratio": 262.4,
        "sponsored_left_out": 0,
        "best_virality_score": 43.8,
        "newer_half_of_window": 2,
        "older_half_of_window": 0,
        "median_virality_score": 41.5,
        "videos_with_creator_baseline": 2
      },
      "hook_format": {
        "format": "Occasion GRWM with a shorter alternate version",
        "formats": [
          {
            "name": "GRWM",
            "videos": 1
          }
        ],
        "pattern": "Occasion statement with a mood emoji",
        "formulas": [
          "Glam for [occasion] this [timeframe][emoji]"
        ],
        "hook_types": [
          {
            "name": "Tutorial promise",
            "videos": 1
          }
        ],
        "mechanisms": [
          {
            "name": "demonstration",
            "videos": 1
          }
        ],
        "example_hooks": [
          {
            "url": "https://www.tiktok.com/@samistamer/video/7706607033880972557",
            "hook": "Glam for a black tie event this weekend\ud83d\udda4"
          }
        ],
        "creative_notes": []
      },
      "queries": {
        "google": [
          {
            "query": "black tie event makeup look",
            "intent": "informational",
            "volume": null
          }
        ],
        "primary": {
          "google": "simple makeup for wedding guest",
          "youtube": "black tie event makeup tutorial"
        },
        "youtube": [
          {
            "query": "black tie event makeup tutorial",
            "intent": "tutorial"
          }
        ]
      },
      "demand": {
        "note": "Google Trends values are relative interest (0-100 within this term and period), not search counts. YouTube search volume is not published...",
        "google": {
          "cpc": 0.77,
          "volume": 260,
          "monthly": [
            {
              "month": "2025-11",
              "volume": 260
            }
          ],
          "checked_at": "2026-11-23T17:35:37.499Z",
          "competition": 0.43,
          "growth_3m_pct": 51,
          "competition_level": "medium"
        },
        "market": "US",
        "keyword": "simple makeup for wedding guest",
        "missing": [
          "google_trends: not read (260 Google searches a month is too few for daily Google Trends data)"
        ],
        "momentum": "rising",
        "geography": {
          "scope": "country",
          "market": "US",
          "location_code": 2840
        },
        "confidence": "medium",
        "date_range": {
          "google": {
            "to": "2026-10",
            "from": "2025-11"
          },
          "google_trends": null,
          "youtube_trends": null
        },
        "granularity": {
          "google": "monthly",
          "google_trends": "daily",
          "youtube_trends": "daily"
        },
        "collected_at": "2026-11-23T17:35:39.247Z",
        "momentum_pct": 51,
        "google_trends": null,
        "youtube_query": "black tie event makeup tutorial",
        "momentum_basis": "google_ads_3_months",
        "youtube_trends": {
          "note": "Google Trends has no data for this term (too few searches).",
          "points": null,
          "rising": null,
          "keyword": "black tie event makeup tutorial",
          "fetched_at": "2026-11-23T17:35:39.247Z",
          "partial_last": null,
          "last_4w_vs_prev_4w_pct": null
        },
        "youtube_volume": null,
        "related_queries": {
          "google": {
            "top": [],
            "rising": []
          },
          "youtube": {
            "top": [],
            "rising": []
          }
        },
        "youtube_volume_reason": "not published by Google"
      },
      "competition": {
        "google": {
          "intent": "informational",
          "keyword": "simple makeup for wedding guest",
          "audit_id": "sau_B4A1XyWcLBlO",
          "gap_score": 51,
          "difficulty": 62,
          "top_domains": [
            "youtube.com"
          ],
          "page_features": [
            "ai_overview"
          ],
          "difficulty_why": "Difficulty 62: 5 of 6 results are major platforms or publishers; 0 of 6 titles contain every keyword word; 6 answer features on the page ...",
          "outdated_share_pct": 66.7,
          "answer_completeness": 55,
          "intent_full_match_pct": 33.3
        },
        "youtube": {
          "search": "black tie event makeup tutorial",
          "audit_id": "sau_NC8xJ86AyC1U",
          "gap_score": 66,
          "difficulty": 39,
          "difficulty_why": "Difficulty 39: median 15,202 views in the top 10; 0 of 10 titles contain every keyword word; 40% posted in the last year; 2 with 1M+ views.",
          "median_age_days": 730,
          "shorts_share_pct": 40,
          "median_views_top10": 15202,
          "outdated_tutorials": 2
        }
      },
      "missing_content": [
        {
          "what": "How the look changes with time of day, venue, and dress code, which no current snippet explains",
          "basis": "written from the Google and YouTube audits",
          "source": "ai"
        },
        {
          "what": "Adaptations across skin tones, with specific shade and undertone swaps rather than a general claim that the look works for everyone",
          "basis": "written from the Google and YouTube audits",
          "source": "ai"
        }
      ],
      "unanswered_questions": [
        {
          "source": "google_people_also_ask",
          "found_by": "google_audit",
          "question": "What are some creative wedding makeup ideas?"
        },
        {
          "source": "google_people_also_ask",
          "found_by": "google_audit",
          "question": "What are the 5 steps of makeup?"
        }
      ],
      "angle": "One occasion look built in a fixed order, followed by a swap card that changes it for daytime or evening, dress code, venue, and skin ton...",
      "recommended_format": {
        "type": "short video",
        "basis": "the strongest of the three scores (social: short video, google_seo: article, youtube: long video)",
        "outline": [
          "Hook: show the finished occasion look first and name the event"
        ],
        "presentation": "Occasion GRWM with a shorter alternate version"
      },
      "scores": {
        "social": 69,
        "youtube": 65,
        "google_seo": 57,
        "evidence_confidence": 57
      },
      "factors": {
        "social": {
          "momentum": {
            "value": 100,
            "points": 30,
            "weight": 30
          },
          "repeatability": {
            "value": 25,
            "points": 6.3,
            "weight": 25
          },
          "outlier_strength": {
            "value": 73,
            "points": 32.9,
            "weight": 45
          }
        },
        "youtube": {
          "ease": {
            "value": 61,
            "points": 17.4,
            "weight": 20
          },
          "content_gaps": {
            "value": 66,
            "points": 28.3,
            "weight": 30
          },
          "freshness_gap": {
            "value": 67,
            "points": 19,
            "weight": 20
          },
          "interest_growth": {
            "value": null,
            "points": null,
            "weight": 30
          }
        },
        "formulas": {
          "rank": "social 40 + google_seo 30 + youtube 30 (unknown ones re-weighted), times 0.6 + 0.4 x evidence_confidence / 95",
          "social": "outlier strength 45 (median virality, verified outliers, best creator-relative ratio) + posting momentum 30 (newer half of the window vs ...",
          "timing": "early = social rising while search is flat or falling; aligned = both rising; search_led = search rising, social not; flat = neither; unk...",
          "youtube": "YouTube interest growth 30 (Google Trends, YouTube search, 4 weeks) + freshness gap 20 (median age of the top results, 3 years = full) + ...",
          "verified": "true when 2+ source videos from 2+ creators include a verified organic outlier, real search demand was measured (100+ Google searches a m...",
          "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 ...",
          "unknown_parts": "A part that could not be measured is left out and the other parts are re-weighted; a score with no measured part is null.",
          "growth_mapping": "growth -50% or less = 0, 0% = 0.5, +50% or more = 1",
          "evidence_confidence": "videos 25 (8 = full) + creators 15 (5 = full) + creator baselines 10 + Google Ads volume 15 + Google Trends 10 + YouTube interest 5 + Goo..."
        },
        "google_seo": {
          "gap": {
            "value": 51,
            "points": 15.3,
            "weight": 30
          },
          "ease": {
            "value": 38,
            "points": 7.6,
            "weight": 20
          },
          "growth": {
            "value": 100,
            "points": 20,
            "weight": 20
          },
          "volume": {
            "value": 48,
            "points": 14.5,
            "weight": 30
          }
        }
      },
      "timing": "aligned",
      "verified": true,
      "hypotheses": [
        {
          "text": "Viewers want a look for a specific event, and want it to suit their own face, gender, and routine.",
          "basis": "AI reading of the source videos and comments",
          "field": "audience_problem"
        },
        {
          "text": "One occasion look built in a fixed order, followed by a swap card that changes it for daytime or evening, dress code, venue, and skin ton...",
          "basis": "AI, written against the results audits",
          "field": "angle"
        }
      ],
      "limitations": [
        "Audits judge Google and YouTube results from titles, snippets, dates, related questions and engagement only: pages and videos were not op...",
        "Some search data could not be measured: see demand.missing."
      ],
      "research_at": "2026-11-23T17:38:41.591Z",
      "rejected_at": null
    }
  ],
  "next_cursor": "MQ",
  "job": {
    "id": 2338,
    "status": "completed",
    "count_requested": 3,
    "count_returned": 3,
    "shortfall_reason": null,
    "limitations": [],
    "error": null,
    "poll_after_seconds": null
  }
}
```

### GET /api/v1/search/opportunities/{id}

One search opportunity with all its evidence, scores, factors and the score formulas.

Cost: free.

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

```bash
curl "https://lulubanana.com/api/v1/search/opportunities/sop_Qx7Lm2Rt9VbN" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "id": "sop_ep4abXxcf9VQ",
    "rank": 1,
    "job_id": 2338,
    "niche": "Makeup content and beauty related",
    "subniche": null,
    "audience": null,
    "market": "US",
    "topic": "Occasion makeup and inclusive glam looks",
    "audience_problem": "Viewers want a look for a specific event, and want it to suit their own face, gender, and routine.",
    "source_videos": [
      {
        "url": "https://www.tiktok.com/@samistamer/video/7706607033880972557",
        "views": 796002,
        "posted": "2026-11-10",
        "creator": "samistamer",
        "platform": "tt",
        "video_id": "tt7706607033880972557",
        "outlier_class": "exceptional_breakout",
        "outlier_ratio": 262.4,
        "baseline_posts": 20,
        "virality_score": 39.2,
        "verified_outlier": true
      },
      {
        "url": "https://www.tiktok.com/@olivermembrillo/video/7708911584600476958",
        "views": 1825257,
        "posted": "2026-11-16",
        "creator": "olivermembrillo",
        "platform": "tt",
        "video_id": "tt7708911584600476958",
        "outlier_class": "exceptional_breakout",
        "outlier_ratio": 45.6,
        "baseline_posts": 20,
        "virality_score": 43.8,
        "verified_outlier": true
      }
    ],
    "outlier_evidence": {
      "videos": 2,
      "creators": 2,
      "window_days": 30,
      "newest_post_days": 8,
      "verified_outliers": 2,
      "best_outlier_ratio": 262.4,
      "sponsored_left_out": 0,
      "best_virality_score": 43.8,
      "newer_half_of_window": 2,
      "older_half_of_window": 0,
      "median_virality_score": 41.5,
      "videos_with_creator_baseline": 2
    },
    "hook_format": {
      "format": "Occasion GRWM with a shorter alternate version",
      "formats": [
        {
          "name": "GRWM",
          "videos": 1
        }
      ],
      "pattern": "Occasion statement with a mood emoji",
      "formulas": [
        "Glam for [occasion] this [timeframe][emoji]",
        "[Time] after I [action], everyone started [reaction]"
      ],
      "hook_types": [
        {
          "name": "Tutorial promise",
          "videos": 1
        },
        {
          "name": "Story",
          "videos": 1
        }
      ],
      "mechanisms": [
        {
          "name": "demonstration",
          "videos": 1
        },
        {
          "name": "suspense",
          "videos": 1
        }
      ],
      "example_hooks": [
        {
          "url": "https://www.tiktok.com/@samistamer/video/7706607033880972557",
          "hook": "Glam for a black tie event this weekend\ud83d\udda4"
        },
        {
          "url": "https://www.tiktok.com/@olivermembrillo/video/7708911584600476958",
          "hook": "30 seconds after i pulled in everyone started walking by and giving me weird looks \ud83d\ude2d"
        }
      ],
      "creative_notes": []
    },
    "queries": {
      "google": [
        {
          "query": "black tie event makeup look",
          "intent": "informational",
          "volume": null
        },
        {
          "query": "easy glam makeup for a party",
          "intent": "tutorial",
          "volume": null
        }
      ],
      "primary": {
        "google": "simple makeup for wedding guest",
        "youtube": "black tie event makeup tutorial"
      },
      "youtube": [
        {
          "query": "black tie event makeup tutorial",
          "intent": "tutorial"
        },
        {
          "query": "quick glam makeup for events",
          "intent": "tutorial"
        }
      ]
    },
    "demand": {
      "note": "Google Trends values are relative interest (0-100 within this term and period), not search counts. YouTube search volume is not published...",
      "google": {
        "cpc": 0.77,
        "volume": 260,
        "monthly": [
          {
            "month": "2025-11",
            "volume": 260
          }
        ],
        "checked_at": "2026-11-23T17:35:37.499Z",
        "competition": 0.43,
        "growth_3m_pct": 51,
        "competition_level": "medium"
      },
      "market": "US",
      "keyword": "simple makeup for wedding guest",
      "missing": [
        "google_trends: not read (260 Google searches a month is too few for daily Google Trends data)",
        "youtube_trends: no data for this term (too few searches)"
      ],
      "momentum": "rising",
      "geography": {
        "scope": "country",
        "market": "US",
        "location_code": 2840
      },
      "confidence": "medium",
      "date_range": {
        "google": {
          "to": "2026-10",
          "from": "2025-11"
        },
        "google_trends": null,
        "youtube_trends": null
      },
      "granularity": {
        "google": "monthly",
        "google_trends": "daily",
        "youtube_trends": "daily"
      },
      "collected_at": "2026-11-23T17:35:39.247Z",
      "momentum_pct": 51,
      "google_trends": null,
      "youtube_query": "black tie event makeup tutorial",
      "momentum_basis": "google_ads_3_months",
      "youtube_trends": {
        "note": "Google Trends has no data for this term (too few searches).",
        "points": null,
        "rising": null,
        "keyword": "black tie event makeup tutorial",
        "fetched_at": "2026-11-23T17:35:39.247Z",
        "partial_last": null,
        "last_4w_vs_prev_4w_pct": null
      },
      "youtube_volume": null,
      "related_queries": {
        "google": {
          "top": [],
          "rising": []
        },
        "youtube": {
          "top": [],
          "rising": []
        }
      },
      "youtube_volume_reason": "not published by Google"
    },
    "competition": {
      "google": {
        "intent": "informational",
        "keyword": "simple makeup for wedding guest",
        "audit_id": "sau_B4A1XyWcLBlO",
        "gap_score": 51,
        "difficulty": 62,
        "top_domains": [
          "youtube.com"
        ],
        "page_features": [
          "ai_overview"
        ],
        "difficulty_why": "Difficulty 62: 5 of 6 results are major platforms or publishers; 0 of 6 titles contain every keyword word; 6 answer features on the page ...",
        "outdated_share_pct": 66.7,
        "answer_completeness": 55,
        "intent_full_match_pct": 33.3
      },
      "youtube": {
        "search": "black tie event makeup tutorial",
        "audit_id": "sau_NC8xJ86AyC1U",
        "gap_score": 66,
        "difficulty": 39,
        "difficulty_why": "Difficulty 39: median 15,202 views in the top 10; 0 of 10 titles contain every keyword word; 40% posted in the last year; 2 with 1M+ views.",
        "median_age_days": 730,
        "shorts_share_pct": 40,
        "median_views_top10": 15202,
        "outdated_tutorials": 2
      }
    },
    "missing_content": [
      {
        "what": "How the look changes with time of day, venue, and dress code, which no current snippet explains",
        "basis": "written from the Google and YouTube audits",
        "source": "ai"
      },
      {
        "what": "Adaptations across skin tones, with specific shade and undertone swaps rather than a general claim that the look works for everyone",
        "basis": "written from the Google and YouTube audits",
        "source": "ai"
      }
    ],
    "unanswered_questions": [
      {
        "source": "google_people_also_ask",
        "found_by": "google_audit",
        "question": "What are some creative wedding makeup ideas?"
      },
      {
        "source": "google_people_also_ask",
        "found_by": "google_audit",
        "question": "What are the 5 steps of makeup?"
      }
    ],
    "angle": "One occasion look built in a fixed order, followed by a swap card that changes it for daytime or evening, dress code, venue, and skin ton...",
    "recommended_format": {
      "type": "short video",
      "basis": "the strongest of the three scores (social: short video, google_seo: article, youtube: long video)",
      "outline": [
        "Hook: show the finished occasion look first and name the event",
        "Check the dress code and venue before choosing anything"
      ],
      "presentation": "Occasion GRWM with a shorter alternate version"
    },
    "scores": {
      "social": 69,
      "youtube": 65,
      "google_seo": 57,
      "evidence_confidence": 57
    },
    "factors": {
      "social": {
        "momentum": {
          "value": 100,
          "points": 30,
          "weight": 30
        },
        "repeatability": {
          "value": 25,
          "points": 6.3,
          "weight": 25
        },
        "outlier_strength": {
          "value": 73,
          "points": 32.9,
          "weight": 45
        }
      },
      "youtube": {
        "ease": {
          "value": 61,
          "points": 17.4,
          "weight": 20
        },
        "content_gaps": {
          "value": 66,
          "points": 28.3,
          "weight": 30
        },
        "freshness_gap": {
          "value": 67,
          "points": 19,
          "weight": 20
        },
        "interest_growth": {
          "value": null,
          "points": null,
          "weight": 30
        }
      },
      "formulas": {
        "rank": "social 40 + google_seo 30 + youtube 30 (unknown ones re-weighted), times 0.6 + 0.4 x evidence_confidence / 95",
        "social": "outlier strength 45 (median virality, verified outliers, best creator-relative ratio) + posting momentum 30 (newer half of the window vs ...",
        "timing": "early = social rising while search is flat or falling; aligned = both rising; search_led = search rising, social not; flat = neither; unk...",
        "youtube": "YouTube interest growth 30 (Google Trends, YouTube search, 4 weeks) + freshness gap 20 (median age of the top results, 3 years = full) + ...",
        "verified": "true when 2+ source videos from 2+ creators include a verified organic outlier, real search demand was measured (100+ Google searches a m...",
        "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 ...",
        "unknown_parts": "A part that could not be measured is left out and the other parts are re-weighted; a score with no measured part is null.",
        "growth_mapping": "growth -50% or less = 0, 0% = 0.5, +50% or more = 1",
        "evidence_confidence": "videos 25 (8 = full) + creators 15 (5 = full) + creator baselines 10 + Google Ads volume 15 + Google Trends 10 + YouTube interest 5 + Goo..."
      },
      "google_seo": {
        "gap": {
          "value": 51,
          "points": 15.3,
          "weight": 30
        },
        "ease": {
          "value": 38,
          "points": 7.6,
          "weight": 20
        },
        "growth": {
          "value": 100,
          "points": 20,
          "weight": 20
        },
        "volume": {
          "value": 48,
          "points": 14.5,
          "weight": 30
        }
      }
    },
    "timing": "aligned",
    "verified": true,
    "hypotheses": [
      {
        "text": "Viewers want a look for a specific event, and want it to suit their own face, gender, and routine.",
        "basis": "AI reading of the source videos and comments",
        "field": "audience_problem"
      },
      {
        "text": "One occasion look built in a fixed order, followed by a swap card that changes it for daytime or evening, dress code, venue, and skin ton...",
        "basis": "AI, written against the results audits",
        "field": "angle"
      }
    ],
    "limitations": [
      "Audits judge Google and YouTube results from titles, snippets, dates, related questions and engagement only: pages and videos were not op...",
      "Some search data could not be measured: see demand.missing."
    ],
    "research_at": "2026-11-23T17:38:41.591Z",
    "rejected_at": null,
    "reject_reason": null,
    "score_formulas": {
      "social": "outlier strength 45 (median virality, verified outliers, best creator-relative ratio) + posting momentum 30 (newer half of the window vs ...",
      "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 ...",
      "youtube": "YouTube interest growth 30 (Google Trends, YouTube search, 4 weeks) + freshness gap 20 (median age of the top results, 3 years = full) + ...",
      "evidence_confidence": "videos 25 (8 = full) + creators 15 (5 = full) + creator baselines 10 + Google Ads volume 15 + Google Trends 10 + YouTube interest 5 + Goo...",
      "unknown_parts": "A part that could not be measured is left out and the other parts are re-weighted; a score with no measured part is null.",
      "growth_mapping": "growth -50% or less = 0, 0% = 0.5, +50% or more = 1",
      "timing": "early = social rising while search is flat or falling; aligned = both rising; search_led = search rising, social not; flat = neither; unk...",
      "rank": "social 40 + google_seo 30 + youtube 30 (unknown ones re-weighted), times 0.6 + 0.4 x evidence_confidence / 95",
      "verified": "true when 2+ source videos from 2+ creators include a verified organic outlier, real search demand was measured (100+ Google searches a m..."
    }
  }
}
```

### POST /api/v1/search/opportunities/{id}/reject

Reject a search opportunity (feedback): similar topics stop being suggested.

Cost: free.

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

```bash
curl -X POST "https://lulubanana.com/api/v1/search/opportunities/sop_Qx7Lm2Rt9VbN/reject" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reason":"Not our audience"}'
```

Example reply:

```json
{
  "data": {
    "id": "sop_Qx7Lm2Rt9VbN",
    "rejected": true,
    "note": "Similar topics are left out of your next search opportunities (it stays listed, with rejected_at)."
  }
}
```

### POST /api/v1/search/intent-extract

What people search on Google and YouTube about a topic, niche, audience or up to 20 of your videos: topics, entities named in the videos, viewer questions (from comments, or marked as hypotheses), Google and YouTube queries with intent (informational, commercial, comparison, tutorial, navigational, local) and groups, ambiguous terms, related keywords, adjacent niches and the source videos used (without video_ids: 3+ collected videos that name the topic's distinctive words, else the topic alone, said in limitations). Queries are AI suggestions: check their demand with POST /search/demand. Async: poll /analysis/jobs/{job_id} (about a minute); also kept at GET /search/intents. Included, up to 30 a day. English-speaking markets only (US, GB, CA, AU).

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `video_ids` | body | array | Up to 20 video ids from your results |
| `topic` | body | string | A topic, e.g. "contour for beginners" |
| `niche` | body | string | A niche, e.g. "makeup for beginners" |
| `audience` | body | string | Who it is for |
| `profile_id` | body | number | A saved audience profile (fills niche and audience) |
| `market` | body | US, GB, CA, AU | US (default), GB, CA or AU |

```bash
curl -X POST "https://lulubanana.com/api/v1/search/intent-extract" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"niche":"Home espresso","topic":"espresso for beginners","audience":"beginners with a first espresso machine at home","market":"US"}'
```

GET /analysis/jobs/{id} (when the job is done):

```json
{
  "data": {
    "id": 2024,
    "kind": "search_intent",
    "status": "completed",
    "stage": null,
    "research_job_id": null,
    "result": {
      "note": "Queries are AI suggestions from the videos and their comments: check their demand with POST /search/demand before relying on them.",
      "input": {
        "niche": "Makeup & Beauty",
        "topic": "quick makeup tricks for beginners",
        "audience": "beginners learning makeup",
        "video_ids": [
          "tt7676397331612421396"
        ],
        "profile_id": null
      },
      "groups": [
        {
          "label": "beginner tricks",
          "google": [
            "quick makeup tricks for beginners"
          ],
          "queries": [
            "quick makeup tricks for beginners"
          ],
          "youtube": [
            "quick makeup tricks for beginners"
          ]
        },
        {
          "label": "beginner products",
          "google": [
            "beginner makeup kit"
          ],
          "queries": [
            "beginner makeup kit"
          ],
          "youtube": []
        }
      ],
      "market": "US",
      "topics": [
        "Rare Beauty product review",
        "Makeup transformation videos"
      ],
      "skipped": [
        {
          "reason": "Not found, or not in English (English only, for now).",
          "video_id": "ttnotreal123"
        }
      ],
      "sources": [
        {
          "url": "https://www.tiktok.com/@amber1harris2/video/7645840316129479967",
          "platform": "tt",
          "video_id": "tt7645840316129479967"
        },
        {
          "url": "https://www.tiktok.com/@suciaeslm2v/video/7676397331612421396",
          "platform": "tt",
          "video_id": "tt7676397331612421396"
        }
      ],
      "entities": [
        "Rare Beauty"
      ],
      "readings": {
        "grounded": [
          "entities (only names found in the sources)"
        ],
        "measured": [
          "sources"
        ],
        "hypotheses": [
          "topics"
        ]
      },
      "ambiguous": [
        {
          "term": "compact",
          "meanings": [
            "a makeup case holding powder or pressed product"
          ]
        },
        {
          "term": "pan",
          "meanings": [
            "an eyeshadow or powder pan in a makeup compact"
          ]
        }
      ],
      "intent_id": 1,
      "created_at": "2026-11-23T16:13:55.276Z",
      "google_queries": [
        {
          "group": "beginner tricks",
          "query": "quick makeup tricks for beginners",
          "intent": "tutorial"
        },
        {
          "group": "beginner tricks",
          "query": "easy makeup tutorial for beginners",
          "intent": "tutorial"
        }
      ],
      "adjacent_niches": [
        "Skincare",
        "Hair styling"
      ],
      "youtube_queries": [
        {
          "group": "beginner tricks",
          "query": "quick makeup tricks for beginners",
          "intent": "tutorial"
        },
        {
          "group": "beginner tricks",
          "query": "5 minute makeup tutorial for beginners",
          "intent": "tutorial"
        }
      ],
      "related_keywords": [
        "makeup for beginners",
        "beginner makeup tips"
      ],
      "viewer_questions": [
        {
          "source": "comments",
          "question": "What is her power?",
          "video_id": "tt7676397331612421396"
        },
        {
          "source": "comments",
          "question": "Why is the feature unavailable on some accounts and not others?",
          "video_id": "tt7690233130300624142"
        }
      ],
      "sources_matched_from_library": false
    },
    "error": null,
    "created_at": "2026-11-23T16:13:40.739Z",
    "finished_at": "2026-11-23T16:13:55.282Z",
    "poll_after_seconds": null
  }
}
```

### GET /api/v1/search/intents

Your search intent extractions, newest first (counts only; read one for the queries).

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `limit` | query | string | 1-100 (default 20) |
| `cursor` | query | string | next_cursor from the previous page |

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

Example reply (real data, trimmed):

```json
{
  "data": [
    {
      "id": 10,
      "job_id": 2349,
      "market": "US",
      "input": {
        "niche": "Home espresso",
        "topic": "espresso for beginners",
        "audience": "beginners with a first espresso machine at home",
        "video_ids": [],
        "profile_id": null
      },
      "google_queries": 13,
      "youtube_queries": 6,
      "viewer_questions": 7,
      "created_at": "2026-11-23T17:56:28.847Z",
      "url": "/api/v1/search/intents/10"
    },
    {
      "id": 1,
      "job_id": 2024,
      "market": "US",
      "input": {
        "niche": "Makeup & Beauty",
        "topic": "quick makeup tricks for beginners",
        "audience": "beginners learning makeup",
        "video_ids": [
          "tt7676397331612421396"
        ],
        "profile_id": null
      },
      "google_queries": 12,
      "youtube_queries": 7,
      "viewer_questions": 12,
      "created_at": "2026-11-23T16:13:55.276Z",
      "url": "/api/v1/search/intents/1"
    }
  ],
  "next_cursor": null
}
```

### GET /api/v1/search/intents/{id}

One search intent extraction: topics, entities, viewer questions, Google and YouTube queries with intent and groups, ambiguous terms, related keywords, adjacent niches, sources.

Cost: free.

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

```bash
curl "https://lulubanana.com/api/v1/search/intents/7" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "id": 1,
    "job_id": 2024,
    "market": "US",
    "input": {
      "niche": "Makeup & Beauty",
      "topic": "quick makeup tricks for beginners",
      "audience": "beginners learning makeup",
      "video_ids": [
        "tt7676397331612421396",
        "tt7690233130300624142"
      ],
      "profile_id": null
    },
    "groups": [
      {
        "label": "beginner tricks",
        "google": [
          "quick makeup tricks for beginners"
        ],
        "queries": [
          "quick makeup tricks for beginners"
        ],
        "youtube": [
          "quick makeup tricks for beginners"
        ]
      },
      {
        "label": "beginner products",
        "google": [
          "beginner makeup kit"
        ],
        "queries": [
          "beginner makeup kit"
        ],
        "youtube": []
      }
    ],
    "topics": [
      "Rare Beauty product review",
      "Makeup transformation videos"
    ],
    "entities": [
      "Rare Beauty"
    ],
    "ambiguous": [
      {
        "term": "compact",
        "meanings": [
          "a makeup case holding powder or pressed product"
        ]
      },
      {
        "term": "pan",
        "meanings": [
          "an eyeshadow or powder pan in a makeup compact"
        ]
      }
    ],
    "google_queries": [
      {
        "group": "beginner tricks",
        "query": "quick makeup tricks for beginners",
        "intent": "tutorial"
      },
      {
        "group": "beginner tricks",
        "query": "easy makeup tutorial for beginners",
        "intent": "tutorial"
      }
    ],
    "adjacent_niches": [
      "Skincare",
      "Hair styling"
    ],
    "youtube_queries": [
      {
        "group": "beginner tricks",
        "query": "quick makeup tricks for beginners",
        "intent": "tutorial"
      },
      {
        "group": "beginner tricks",
        "query": "5 minute makeup tutorial for beginners",
        "intent": "tutorial"
      }
    ],
    "related_keywords": [
      "makeup for beginners",
      "beginner makeup tips"
    ],
    "viewer_questions": [
      {
        "source": "comments",
        "question": "What is her power?",
        "video_id": "tt7676397331612421396"
      },
      {
        "source": "comments",
        "question": "Why is the feature unavailable on some accounts and not others?",
        "video_id": "tt7690233130300624142"
      }
    ],
    "sources": [
      {
        "url": "https://www.tiktok.com/@amber1harris2/video/7645840316129479967",
        "platform": "tt",
        "video_id": "tt7645840316129479967"
      },
      {
        "url": "https://www.tiktok.com/@suciaeslm2v/video/7676397331612421396",
        "platform": "tt",
        "video_id": "tt7676397331612421396"
      }
    ],
    "created_at": "2026-11-23T16:13:55.276Z"
  }
}
```

### POST /api/v1/search/demand

Search demand for 1-20 keywords: Google monthly searches, cost per click, advertiser competition and 12 months of history (Google Ads keyword data), 3-month growth, Google Trends web and YouTube interest (daily, last 3 months) with the last 4 weeks against the 4 before, related queries, a momentum label, granularity, geography, date range and confidence. YouTube search volume is null (not published by Google). 10 credits per lookup; free when every keyword was looked up in the last 7 days (up to 100 free lookups a day); returned if it fails. Async: poll /analysis/jobs/{job_id}. Markets: US, GB, CA, AU.

Cost: 10 credits.

| Parameter | In | Type | Description |
| - | - | - | - |
| `keywords` (required) | body | array | 1-20 search phrases |
| `market` | body | US, GB, CA, AU | US (default), GB, CA or AU |

```bash
curl -X POST "https://lulubanana.com/api/v1/search/demand" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keywords":["home espresso machine","espresso for beginners","how to dial in espresso"],"market":"US"}'
```

GET /analysis/jobs/{id} (when the job is done):

```json
{
  "data": {
    "id": 2019,
    "kind": "search_demand",
    "status": "completed",
    "stage": null,
    "research_job_id": null,
    "result": {
      "note": "Every live lookup is kept as a dated snapshot. Google Trends values are relative interest (0-100), not search counts.",
      "market": "US",
      "charged": true,
      "keywords": [
        {
          "note": "Google Trends values are relative interest (0-100 within this term and period), not search counts. YouTube search volume is not published...",
          "google": {
            "cpc": 0.65,
            "volume": 6600,
            "monthly": [
              {
                "month": "2025-11",
                "volume": 2900
              }
            ],
            "checked_at": "2026-11-23T16:09:17.976Z",
            "competition": 1,
            "growth_3m_pct": -19,
            "competition_level": "high"
          },
          "market": "US",
          "keyword": "drugstore foundation",
          "missing": [
            "youtube_trends.last_4w_vs_prev_4w_pct: too little data"
          ],
          "momentum": "steady",
          "geography": {
            "scope": "country",
            "market": "US",
            "location_code": 2840
          },
          "confidence": "high",
          "date_range": {
            "google": {
              "to": "2026-10",
              "from": "2025-11"
            },
            "google_trends": {
              "to": "2026-11-23",
              "from": "2026-08-23"
            },
            "youtube_trends": {
              "to": "2026-11-23",
              "from": "2026-08-23"
            }
          },
          "granularity": {
            "google": "monthly",
            "google_trends": "daily",
            "youtube_trends": "daily"
          },
          "collected_at": "2026-11-23T16:09:26.184Z",
          "momentum_pct": -10,
          "google_trends": {
            "points": [
              {
                "date": "2026-08-23",
                "value": 78
              }
            ],
            "rising": false,
            "fetched_at": "2026-11-23T16:09:20.883Z",
            "partial_last": true,
            "last_4w_vs_prev_4w_pct": -10
          },
          "momentum_basis": "google_trends",
          "youtube_trends": {
            "points": [
              {
                "date": "2026-08-23",
                "value": 0
              }
            ],
            "rising": null,
            "fetched_at": "2026-11-23T16:09:26.184Z",
            "partial_last": true,
            "last_4w_vs_prev_4w_pct": null
          },
          "youtube_volume": null,
          "related_queries": {
            "google": {
              "top": [
                {
                  "query": "best drugstore foundation",
                  "value": 100
                }
              ],
              "rising": [
                {
                  "query": "best dewy drugstore foundation",
                  "value": 110
                }
              ]
            },
            "youtube": {
              "top": [
                {
                  "query": "best foundation",
                  "value": 100
                }
              ],
              "rising": [
                {
                  "query": "best drugstore foundation for mature skin",
                  "value": 250
                }
              ]
            }
          },
          "youtube_volume_reason": "not published by Google"
        },
        {
          "note": "Google Trends values are relative interest (0-100 within this term and period), not search counts. YouTube search volume is not published...",
          "google": {
            "cpc": 0.97,
            "volume": 480,
            "monthly": [
              {
                "month": "2025-11",
                "volume": 720
              }
            ],
            "checked_at": "2026-11-23T16:09:17.978Z",
            "competition": 0.98,
            "growth_3m_pct": 0,
            "competition_level": "high"
          },
          "market": "US",
          "keyword": "contour for beginners",
          "missing": [
            "google_trends.last_4w_vs_prev_4w_pct: too little data"
          ],
          "momentum": "steady",
          "geography": {
            "scope": "country",
            "market": "US",
            "location_code": 2840
          },
          "confidence": "medium",
          "date_range": {
            "google": {
              "to": "2026-10",
              "from": "2025-11"
            },
            "google_trends": {
              "to": "2026-11-23",
              "from": "2026-08-23"
            },
            "youtube_trends": {
              "to": "2026-11-23",
              "from": "2026-08-23"
            }
          },
          "granularity": {
            "google": "monthly",
            "google_trends": "daily",
            "youtube_trends": "daily"
          },
          "collected_at": "2026-11-23T16:09:36.404Z",
          "momentum_pct": 0,
          "google_trends": {
            "points": [
              {
                "date": "2026-08-23",
                "value": 0
              }
            ],
            "rising": null,
            "fetched_at": "2026-11-23T16:09:31.523Z",
            "partial_last": true,
            "last_4w_vs_prev_4w_pct": null
          },
          "momentum_basis": "google_ads_3_months",
          "youtube_trends": {
            "points": [
              {
                "date": "2026-08-23",
                "value": 0
              }
            ],
            "rising": null,
            "fetched_at": "2026-11-23T16:09:36.404Z",
            "partial_last": true,
            "last_4w_vs_prev_4w_pct": null
          },
          "youtube_volume": null,
          "related_queries": {
            "google": {
              "top": [
                {
                  "query": "best contour for beginners",
                  "value": 100
                }
              ],
              "rising": [
                {
                  "query": "how to contour face for beginners",
                  "value": 120
                }
              ]
            },
            "youtube": {
              "top": [
                {
                  "query": "how to contour your face for beginners",
                  "value": 100
                }
              ],
              "rising": []
            }
          },
          "youtube_volume_reason": "not published by Google"
        }
      ],
      "refunded": false,
      "from_cache": {
        "google_ads": 0,
        "google_trends": 0
      },
      "limitations": [],
      "looked_up_live": {
        "google_ads": 2,
        "google_trends": 4
      }
    },
    "error": null,
    "created_at": "2026-11-23T16:09:16.466Z",
    "finished_at": "2026-11-23T16:09:36.421Z",
    "poll_after_seconds": null
  }
}
```

### GET /api/v1/search/demand

Stored search demand for one keyword you looked up (with POST /search/demand, or as one of your search opportunities' searches); no new lookup: the same fields as POST /search/demand, with stored, fresh (looked up in the last 7 days) and snapshots (your live lookups). A keyword you have not looked up: every field null, with the reasons in missing and how to look it up.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `keyword` | query | string | The keyword |
| `market` | query | US, GB, CA, AU | US (default), GB, CA or AU |

```bash
curl "https://lulubanana.com/api/v1/search/demand?keyword=home%20espresso%20machine&market=US" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "keyword": "drugstore foundation",
    "market": "US",
    "google": {
      "volume": 6600,
      "cpc": 0.65,
      "competition": 1,
      "competition_level": "high",
      "monthly": [
        {
          "month": "2025-11",
          "volume": 2900
        },
        {
          "month": "2025-12",
          "volume": 4400
        }
      ],
      "growth_3m_pct": -19,
      "checked_at": "2026-11-23T16:09:17.976Z"
    },
    "google_trends": {
      "points": [
        {
          "date": "2026-08-23",
          "value": 78
        },
        {
          "date": "2026-08-24",
          "value": 47
        }
      ],
      "last_4w_vs_prev_4w_pct": -17,
      "rising": false,
      "partial_last": true,
      "fetched_at": "2026-11-23T16:09:20.883Z"
    },
    "youtube_trends": {
      "points": [
        {
          "date": "2026-08-23",
          "value": 0
        },
        {
          "date": "2026-08-24",
          "value": 0
        }
      ],
      "last_4w_vs_prev_4w_pct": null,
      "rising": null,
      "partial_last": true,
      "fetched_at": "2026-11-23T16:09:26.184Z"
    },
    "youtube_volume": null,
    "youtube_volume_reason": "not published by Google",
    "related_queries": {
      "google": {
        "rising": [
          {
            "query": "best dewy drugstore foundation",
            "value": 110
          }
        ],
        "top": [
          {
            "query": "best drugstore foundation",
            "value": 100
          }
        ]
      },
      "youtube": {
        "rising": [
          {
            "query": "best drugstore foundation for mature skin",
            "value": 250
          }
        ],
        "top": [
          {
            "query": "best foundation",
            "value": 100
          }
        ]
      }
    },
    "momentum": "falling",
    "momentum_basis": "google_trends",
    "momentum_pct": -17,
    "granularity": {
      "google": "monthly",
      "google_trends": "daily",
      "youtube_trends": "daily"
    },
    "geography": {
      "market": "US",
      "location_code": 2840,
      "scope": "country"
    },
    "date_range": {
      "google": {
        "from": "2025-11",
        "to": "2026-10"
      },
      "google_trends": {
        "from": "2026-08-23",
        "to": "2026-11-23"
      },
      "youtube_trends": {
        "from": "2026-08-23",
        "to": "2026-11-23"
      }
    },
    "collected_at": "2026-11-23T16:09:26.184Z",
    "confidence": "high",
    "missing": [
      "youtube_trends.last_4w_vs_prev_4w_pct: too little Google Trends data for this term (most days read 0, or the earlier 4 weeks read 0)"
    ],
    "note": "Google Trends values are relative interest (0-100 within this term and period), not search counts. YouTube search volume is not published...",
    "stored": true,
    "fresh": true,
    "snapshots": {
      "google_ads": 1,
      "google_trends": 1,
      "youtube_trends": 1
    }
  }
}
```

### POST /api/v1/search/google-serp-audit

Audit Google's page one for 1-5 keywords: the top results (title, link, site, date, snippet, page features), people also ask and related searches, then an audit from titles, snippets and dates (pages are not opened): intent match, answer completeness, outdated results, missing formats (comparison, tutorial, demonstration, explanation), weaknesses, unanswered questions, difficulty 0-100 with why, and gap_score 0-100. 10 credits per keyword not fetched in the last 7 days (cached keywords are free, up to 100 free audits a day); a keyword that fails is refunded. Async: poll /analysis/jobs/{job_id}, or read /search/serp-audits/{job_id}.

Cost: 10 credits.

| Parameter | In | Type | Description |
| - | - | - | - |
| `keywords` (required) | body | array | 1-5 search phrases |
| `market` | body | US, GB, CA, AU | US (default), GB, CA or AU |
| `intent` | body | informational, commercial, comparison, tutorial, navigational, local | The searcher intent to judge the results against (default: read from the keyword) |

```bash
curl -X POST "https://lulubanana.com/api/v1/search/google-serp-audit" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keywords":["how to dial in espresso"],"market":"US","intent":"tutorial"}'
```

GET /analysis/jobs/{id} (when the job is done):

```json
{
  "data": {
    "id": 2022,
    "kind": "serp_google",
    "status": "completed",
    "stage": null,
    "research_job_id": null,
    "result": {
      "kind": "google",
      "audits": [
        {
          "id": "sau_UC9d7JyxQhFR",
          "kind": "google",
          "audit": {
            "intent": "tutorial",
            "measured": {
              "ads": 0,
              "results": 8,
              "page_features": 3,
              "exact_title_share_pct": 50,
              "advertiser_competition": 0.98,
              "major_platform_share_pct": 50
            },
            "outdated": {
              "results": [
                {
                  "url": "https://google.com/goto?url=CAESegHEIkXXrIDBWX58ISPasXkUfKirvmIDqd1d2mAf6Zw0KoOKeAyi0c_37pTeyuPE50vcLigwkmfkfQYEj1Jia1tjQfsC-X-ITKni4Nwii...",
                  "date": "2017-11-27",
                  "rank": 1,
                  "age_days": 3283
                }
              ],
              "share_pct": 57.1,
              "dated_results": 7,
              "older_than_2_years": 4
            },
            "readings": {
              "measured": [
                "results"
              ],
              "gap_score": "formula over AI readings and measured dates",
              "hypotheses": [
                "intent (given)"
              ]
            },
            "gap_score": 44,
            "difficulty": 62,
            "weaknesses": [
              "Snippets define contouring and say to blend and build gradually, but none show a step-by-step placement sequence for beginners (where to ..."
            ],
            "gap_factors": {
              "outdated": {
                "value": 57,
                "points": 11.4,
                "weight": 20
              },
              "incompleteness": {
                "value": 45,
                "points": 11.2,
                "weight": 25
              },
              "intent_mismatch": {
                "value": 50,
                "points": 15,
                "weight": 30
              },
              "missing_formats": {
                "value": 25,
                "points": 6.3,
                "weight": 25
              }
            },
            "limitations": [
              "Judged from titles, snippets, dates and related questions only: the pages were not read."
            ],
            "intent_given": true,
            "intent_match": {
              "off": 0,
              "full": 4,
              "judged": 8,
              "partial": 4,
              "per_result": [
                {
                  "url": "https://google.com/goto?url=CAESegHEIkXXrIDBWX58ISPasXkUfKirvmIDqd1d2mAf6Zw0KoOKeAyi0c_37pTeyuPE50vcLigwkmfkfQYEj1Jia1tjQfsC-X-ITKni4Nwii...",
                  "rank": 1,
                  "match": "full"
                }
              ],
              "full_share_pct": 50
            },
            "content_angle": "A current, dated beginner tutorial that pairs a step-by-step placement walkthrough and video demonstration with clear shade-matching guid...",
            "difficulty_why": "Difficulty 62: 4 of 8 results are major platforms or publishers; 4 of 8 titles contain every keyword word; 3 answer features on the page ...",
            "missing_formats": [
              "demonstration"
            ],
            "difficulty_factors": {
              "authority": {
                "value": 50,
                "points": 20,
                "weight": 40
              },
              "crowded_page": {
                "value": 60,
                "points": 12,
                "weight": 20
              },
              "exact_titles": {
                "value": 50,
                "points": 10,
                "weight": 20
              },
              "advertiser_competition": {
                "value": 98,
                "points": 19.6,
                "weight": 20
              }
            },
            "answer_completeness": 55,
            "unanswered_questions": [
              "What are the 5 steps of makeup?"
            ]
          },
          "cached": true,
          "intent": "tutorial",
          "market": "US",
          "source": "Google search results",
          "charged": false,
          "keyword": "contour for beginners",
          "results": [
            {
              "url": "https://google.com/goto?url=CAESegHEIkXXrIDBWX58ISPasXkUfKirvmIDqd1d2mAf6Zw0KoOKeAyi0c_37pTeyuPE50vcLigwkmfkfQYEj1Jia1tjQfsC-X-ITKni4Nwii...",
              "date": "2017-11-27",
              "rank": 1,
              "site": "golden-strokes.com",
              "title": "How to contour - Basic, quick guide - Golden Strokes",
              "domain": "golden-strokes.com",
              "rating": null,
              "snippet": "Nov 27, 2017 - Contour It is about creating shadows in your face, in order to sculpt, define, and restructure the face.",
              "age_days": 3283,
              "features": [
                "images"
              ],
              "date_approx": false,
              "url_is_google_redirect": true
            }
          ],
          "audited_at": "2026-11-23T16:12:22.818Z",
          "fetched_at": "2026-11-23T16:12:13.262Z",
          "ai_overview": {
            "present": true,
            "references": [
              {
                "url": "https://www.youtube.com/watch?v=Wv0Ip6z_z-k&t=16",
                "title": "How To Contour Your Face For Beginners 2024 | Nina Ubhi",
                "domain": "youtube.com"
              }
            ]
          },
          "limitations": [
            "Judged from titles, snippets, dates and related questions only: the pages were not read."
          ],
          "serp_features": [
            "ai_overview"
          ],
          "people_also_ask": [
            {
              "url": null,
              "domain": null,
              "question": "What are the 5 steps of makeup?",
              "answer_snippet": null
            }
          ],
          "related_searches": []
        }
      ],
      "failed": [],
      "market": "US",
      "audit_ids": [
        "sau_UC9d7JyxQhFR"
      ],
      "limitations": [
        "Judged from titles, snippets, dates and related questions only: the pages were not read.",
        "Difficulty is an estimate from the results page (major platforms and publishers, exact titles, answer features, advertiser competition), ..."
      ]
    },
    "error": null,
    "created_at": "2026-11-23T16:12:23.775Z",
    "finished_at": "2026-11-23T16:12:24.335Z",
    "poll_after_seconds": null
  }
}
```

### POST /api/v1/search/youtube-serp-audit

Audit YouTube's top 20 for 1-5 keywords: title, link, channel, views, published, duration, Shorts or not; then freshness (median age), outdated tutorials, undercovered viewer questions, recommended long-form angles, weaknesses, difficulty 0-100 and gap_score 0-100, from titles, descriptions, dates and views (videos are not watched). 10 credits per keyword not fetched in the last 7 days (cached keywords are free, up to 100 free audits a day); a keyword that fails is refunded. Async: poll /analysis/jobs/{job_id}, or read /search/serp-audits/{job_id}.

Cost: 10 credits.

| Parameter | In | Type | Description |
| - | - | - | - |
| `keywords` (required) | body | array | 1-5 search phrases |
| `market` | body | US, GB, CA, AU | US (default), GB, CA or AU |
| `intent` | body | informational, commercial, comparison, tutorial, navigational, local | Optional; used by Google audits only |

```bash
curl -X POST "https://lulubanana.com/api/v1/search/youtube-serp-audit" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keywords":["espresso for beginners"],"market":"US"}'
```

GET /analysis/jobs/{id} (when the job is done):

```json
{
  "data": {
    "id": 2023,
    "kind": "serp_youtube",
    "status": "completed",
    "stage": null,
    "research_job_id": null,
    "result": {
      "kind": "youtube",
      "audits": [
        {
          "id": "sau_ZmZF6jrhMGIi",
          "kind": "youtube",
          "audit": {
            "views": {
              "median_top10": 682862,
              "million_plus_top10": 5
            },
            "shorts": {
              "known": 19,
              "shorts": 0,
              "share_pct": 0
            },
            "readings": {
              "measured": [
                "freshness"
              ],
              "gap_score": "formula over measured ages and Shorts share and AI readings",
              "hypotheses": [
                "undercovered"
              ]
            },
            "freshness": {
              "approximate": false,
              "newest_days": 61,
              "oldest_days": 4018,
              "dated_results": 19,
              "median_age_days": 1096
            },
            "gap_score": 62,
            "difficulty": 63,
            "weaknesses": [
              "Heavy overlap: many near-identical \"contour for beginners\" titles, and Nina Ubhi appears four times (#1, #5, #12, #13), so the results re..."
            ],
            "content_gap": 46,
            "gap_factors": {
              "freshness": {
                "value": 100,
                "points": 30,
                "weight": 30
              },
              "undercovered": {
                "value": 75,
                "points": 22.5,
                "weight": 30
              },
              "long_form_gap": {
                "value": 0,
                "points": 0,
                "weight": 20
              },
              "outdated_tutorials": {
                "value": 47,
                "points": 9.4,
                "weight": 20
              }
            },
            "limitations": [
              "Judged from titles, channels, views, dates and lengths only: the videos were not watched."
            ],
            "undercovered": [
              {
                "why": "No title names the shade question. The closest are #2 \"Common Contour Do's and Don'ts\", #14 \"5 Tips To Contour Like A Pro!\" and #17 \"Tips...",
                "topic": "Should contour be lighter or darker than your shade?"
              }
            ],
            "difficulty_why": "Difficulty 63: median 682,862 views in the top 10; 6 of 10 titles contain every keyword word; 10% posted in the last year; 5 with 1M+ views.",
            "viewer_questions": {
              "source": "google_people_also_ask",
              "questions": [
                "What are the 5 steps of makeup?"
              ]
            },
            "difficulty_factors": {
              "views": {
                "value": 83,
                "points": 41.7,
                "weight": 50
              },
              "exact_titles": {
                "value": 60,
                "points": 12,
                "weight": 20
              },
              "million_views": {
                "value": 50,
                "points": 7.5,
                "weight": 15
              },
              "fresh_competition": {
                "value": 10,
                "points": 1.5,
                "weight": 15
              }
            },
            "outdated_tutorials": {
              "results": [
                {
                  "url": "https://www.youtube.com/watch?v=gkkmHizG2As&pp=ygUVY29udG91ciBmb3IgYmVnaW5uZXJz",
                  "rank": 1,
                  "title": "HOW TO CONTOUR YOUR FACE FOR BEGINNERS 2022 | NINA UBHI",
                  "age_days": 1461
                }
              ],
              "tutorials": 17,
              "older_than_2_years": 8
            },
            "recommended_long_form_angles": [
              "Contour shade guide for beginners: whether to go lighter or darker than your skin tone, with a swatch test on different skin tones"
            ]
          },
          "cached": false,
          "intent": null,
          "market": "US",
          "source": "YouTube search results",
          "charged": true,
          "keyword": "contour for beginners",
          "results": [
            {
              "url": "https://www.youtube.com/watch?v=gkkmHizG2As&pp=ygUVY29udG91ciBmb3IgYmVnaW5uZXJz",
              "rank": 1,
              "title": "HOW TO CONTOUR YOUR FACE FOR BEGINNERS 2022 | NINA UBHI",
              "views": 2098395,
              "channel": "Nina Ubhi",
              "age_days": 1461,
              "video_id": "gkkmHizG2As",
              "is_shorts": false,
              "published": "4 years ago",
              "duration_s": 791,
              "channel_url": "https://www.youtube.com/@NinaUbhi1",
              "description": "This is how to contour your face for beginners 2022! I'll show you how to easily contour your face and even if you don't have any ...",
              "published_at": "2022-11-23",
              "published_approx": false
            }
          ],
          "audited_at": "2026-11-23T16:13:03.355Z",
          "fetched_at": "2026-11-23T16:12:53.068Z",
          "limitations": [
            "Judged from titles, channels, views, dates and lengths only: the videos were not watched."
          ]
        }
      ],
      "failed": [],
      "market": "US",
      "audit_ids": [
        "sau_ZmZF6jrhMGIi"
      ],
      "limitations": [
        "Judged from titles, channels, views, dates and lengths only: the videos were not watched.",
        "YouTube search volume is not published by Google."
      ]
    },
    "error": null,
    "created_at": "2026-11-23T16:12:38.904Z",
    "finished_at": "2026-11-23T16:13:03.358Z",
    "poll_after_seconds": null
  }
}
```

### GET /api/v1/search/serp-audits/{id}

One Google or YouTube results audit (id sau_...) that you requested, or every audit of one of your audit or search-opportunity jobs (send the job id). Results, people also ask, related searches, page features and the audit with its difficulty, gap score, factors and limitations.

Cost: free.

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

```bash
curl "https://lulubanana.com/api/v1/search/serp-audits/sau_Hk3Wq8Zp2LmT" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "id": "sau_Pw1nAZ0bRJyf",
    "kind": "google",
    "keyword": "best viral makeup trends",
    "market": "US",
    "intent": "comparison",
    "fetched_at": "2026-11-23T17:37:41.632Z",
    "audited_at": "2026-11-23T17:37:52.441Z",
    "source": "Google search results",
    "results": [
      {
        "url": "https://google.com/goto?url=CAESeQHEIkXX9fIz0crTgMu6jWjIObBapeiq-OtSHK3bMF8yrybIj-NQm02C7a75B2LkObIzOVpCj2-x5u8PR27Aa9aEcE5fO1pQQqWPI9Arc...",
        "date": "2026-08-24",
        "rank": 1,
        "site": "Teen Vogue",
        "title": "43 TikTok-Viral Beauty Products That Are Actually Worth It",
        "domain": "teenvogue.com",
        "rating": null,
        "snippet": "Aug 24, 2026 - 1. Charlotte Tilbury Hollywood Flawless Filter. Rhode Peptide Lip Shape. Milk Makeup Cooling Water Jelly Tint The Milk Mak...",
        "age_days": 91,
        "features": [
          "images"
        ],
        "date_approx": false,
        "url_is_google_redirect": true
      },
      {
        "url": "https://google.com/goto?url=CAESYAHEIkXXCcFV3npWahqtjlh-zRQmLqYoAqj9GpVKWJIYIlcBhO9X1amMnKYvt0OTZRbmifDqoI1sFPzoelOtzGY-oN3Aa3MxivEQ70CtI...",
        "date": "2026-09-17",
        "rank": 2,
        "site": "Allure",
        "title": "Insider Makeup Trends, Tips, and Product Reviews",
        "domain": "allure.com",
        "rating": null,
        "snippet": "Sep 17, 2026 - The best makeup tips, tutorials, and product reviews, as reported by Allure experts and top industry veterans.",
        "age_days": 67,
        "features": [],
        "date_approx": false,
        "url_is_google_redirect": true
      }
    ],
    "people_also_ask": [
      {
        "url": null,
        "domain": null,
        "question": "What are the hottest makeup trends right now?",
        "answer_snippet": null
      },
      {
        "url": null,
        "domain": null,
        "question": "What are the most trending makeup products right now?",
        "answer_snippet": null
      }
    ],
    "related_searches": [
      "Best viral makeup trends tiktok",
      "Best viral makeup trends 2022"
    ],
    "serp_features": [
      "ai_overview",
      "video"
    ],
    "ai_overview": {
      "present": true,
      "references": []
    },
    "audit": {
      "intent": "comparison",
      "measured": {
        "ads": 0,
        "results": 7,
        "page_features": 4,
        "exact_title_share_pct": 0,
        "advertiser_competition": null,
        "major_platform_share_pct": 57.1
      },
      "outdated": {
        "results": [
          {
            "url": "https://google.com/goto?url=CAESeAHEIkXXnSaclFg2Uf9exe1RH_86SlCUDE8klsOk78j-0Hz0ZlV6dXv3PY6MLs3bTrl6kVXx44f7IedeG0guK4Krgg040h5Xy5oveagTm...",
            "date": "2024-10-01",
            "rank": 7,
            "age_days": 783
          }
        ],
        "share_pct": 25,
        "dated_results": 4,
        "older_than_2_years": 1
      },
      "readings": {
        "measured": [
          "results"
        ],
        "gap_score": "formula over AI readings and measured dates",
        "hypotheses": [
          "intent (given)"
        ]
      },
      "gap_score": 59,
      "difficulty": 49,
      "weaknesses": [
        "No result shows a side-by-side comparison of trends or products; the snippets describe items one at a time.",
        "Dates are stale for a 'right now' query dated 2026-11-23: WhoWhatWear is from 2024-10-01 and the YouTube video from 2025-12-06, and the M..."
      ],
      "gap_factors": {
        "outdated": {
          "value": 25,
          "points": 5,
          "weight": 20
        },
        "incompleteness": {
          "value": 65,
          "points": 16.3,
          "weight": 25
        },
        "intent_mismatch": {
          "value": 86,
          "points": 25.7,
          "weight": 30
        },
        "missing_formats": {
          "value": 50,
          "points": 12.5,
          "weight": 25
        }
      },
      "limitations": [
        "Judged from titles, snippets, dates and related questions only: the pages were not read.",
        "Difficulty is an estimate from the results page (major platforms and publishers, exact titles, answer features, advertiser competition), ..."
      ],
      "intent_given": true,
      "intent_match": {
        "off": 3,
        "full": 1,
        "judged": 7,
        "partial": 3,
        "per_result": [
          {
            "url": "https://google.com/goto?url=CAESeQHEIkXX9fIz0crTgMu6jWjIObBapeiq-OtSHK3bMF8yrybIj-NQm02C7a75B2LkObIzOVpCj2-x5u8PR27Aa9aEcE5fO1pQQqWPI9Arc...",
            "rank": 1,
            "match": "partial"
          }
        ],
        "full_share_pct": 14.3
      },
      "content_angle": "Publish a dated, head-to-head comparison of the current (late 2026) viral makeup trends and products, with a shared scoring table coverin...",
      "difficulty_why": "Difficulty 49: 4 of 7 results are major platforms or publishers; 0 of 7 titles contain every keyword word; 4 answer features on the page ...",
      "missing_formats": [
        "comparison",
        "explanation"
      ],
      "difficulty_factors": {
        "authority": {
          "value": 57,
          "points": 28.6,
          "weight": 40
        },
        "crowded_page": {
          "value": 80,
          "points": 20,
          "weight": 20
        },
        "exact_titles": {
          "value": 0,
          "points": 0,
          "weight": 20
        },
        "advertiser_competition": {
          "value": null,
          "points": null,
          "weight": 20
        }
      },
      "answer_completeness": 35,
      "unanswered_questions": [
        {
          "source": "google_people_also_ask",
          "question": "What is the 2026 makeup trend?"
        },
        {
          "source": "google_people_also_ask",
          "question": "What are the hottest makeup trends right now?"
        }
      ]
    },
    "limitations": [
      "Judged from titles, snippets, dates and related questions only: the pages were not read.",
      "Difficulty is an estimate from the results page (major platforms and publishers, exact titles, answer features, advertiser competition), ..."
    ]
  }
}
```

## FAQ

**Where does the search data come from?**
From Google search results, YouTube search results, Google Ads keyword data and Google Trends (web and YouTube search), read live for English-speaking markets (US, GB, CA, AU) and kept for 7 days. The social evidence is the TikTok, YouTube Shorts and Instagram Reels videos lulubanana has collected (English only, sponsored posts left out).

**How much does search intelligence cost?**
A search check is 10 credits: one keyword's Google or YouTube results audit, or one search demand lookup of up to 20 keywords. It is free when the same check was made in the last 7 days, and returned if it fails. A search opportunity job is 100 credits, plus one research run (100 credits) only when the niche has too little collected data and collect is true. Search intent extraction is included (up to 30 a day). POST /estimate tells you the cost before you spend, for free.

**When does a search opportunity job start a research run?**
When the window holds fewer than 5 verified organic outliers on the niche, or they come from fewer than 3 creators (counted in your agent's videos, or in the whole library: videos that name the niche's distinctive words and are close to it in meaning; generic words such as home or tips do not count). With collect: true it starts one research run, waits for it (about 15 minutes) and then analyses; with collect: false it uses the data already held and says what is missing. A run already going for the same agent or niche is reused, never charged twice.

**Why is YouTube search volume empty?**
Google does not publish YouTube search volumes, so youtube_volume is always null, with the reason. YouTube interest comes from Google Trends (YouTube search): relative interest from 0 to 100, compared over time, not a count of searches.

**Do results audits read the pages or watch the videos?**
No. Audits judge the results from what the results page shows: titles, snippets, dates, people also ask, related searches, views and durations. Every audit says so in its limitations, and its judgements (intent match, completeness, weaknesses) are labelled as readings.

**What does timing "early" mean?**
That posting is rising on short-form video while search is not: clearly more of the topic's source videos were posted in the newer half of the window than in the older half (at least 2 in the newer half), while Google search interest grew less than 15% (Google Trends, last 4 weeks against the 4 before, else the 3-month Google Ads change). People are making and watching it before they search for it. It describes the present; it is not a forecast. Each lookup is kept as a dated snapshot so lead times can be measured later.

**Why did I get fewer opportunities than I asked for?**
Every opportunity must cite real source videos and real search results, so thin evidence returns fewer. The job says why in shortfall_reason, and a job that finds none returns its search research credits.

**Which markets and languages are supported?**
English only for now, in US, GB, CA, AU. Any other market answers 400.

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