# Research a niche

> For the complete documentation index, see [llms.txt](https://www.shortsintel.com/llms.txt). Every docs page is also available as markdown: add .md to its URL. To connect, read [agents.md](https://www.shortsintel.com/agents.md).

POST `/v1/research`

Derives keywords from an intent, searches every platform and produces one Digest.

- Pipeline: de-duplicates by platform id, analyses the top `max_videos`, scores them against their creators' baselines, then ranks them.
- Timing: always async. Typically 1-3 minutes for 50 videos, depending on how busy the video analysis service is, and longer toward 200. `run.progress` says how far it has got.
- Evidence: the full lists page at `GET /v1/runs/{id}/items?type=videos|creators|hashtags|sounds`.
- Facebook: opt-in. Name it in `platforms` and it is searched and analysed like the others, at the same price.
- Coverage: Instagram and Facebook are reported as `coverage: "partial"`.

[Open in Playground](https://www.shortsintel.com/console/playground?op=createResearch&intent=why+are+cold+plunge+videos+taking+off&platforms=tiktok&window=month&max_videos=50) (no API Key needed)

## Price

1,036 credits covering up to 50 enriched videos, then 20 credits each, whether the analysis is fresh or already stored, so at most 4,036 credits at `max_videos` 200. Failed videos are never charged. The 402 pre-check uses that worst case.

Supports `"estimate": true` in the body: the reply is the price in Credits and whether it would be `cached`, with no Run created and nothing charged.

A cached result costs the same as a fresh one; `cached` says which you got.

## Parameters

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| `Idempotency-Key` | header | `string` | Optional | — | 1-255 printable ASCII characters. The same key and payload returns the original Run (202 while running); a different payload or operation is a 409 `idempotency_conflict`. |

## Request body

`application/json`

object

- `intent` string required length 1 to 1000 What you want to learn, in plain language. At most 1000 characters.
- `keywords` array of string items at most 4 Skip keyword derivation and use these. At most 4, each at most 100 characters.
- `platforms` array of string items at least 1 Omit for TikTok, Instagram and YouTube. `facebook` is opt-in: name it to research Facebook videos and Reels too; they are analysed like the others, at the same price.
- `region` string length 2 to 5 Country code, such as `US` or `GB`, that the TikTok and YouTube searches run from; Instagram and Facebook ignore it. Omitted, each platform uses its own default.
- `window` string one of `day`, `week`, `month`, `quarter`, `half_year`, `all` Default `month` Collect videos posted within the last `day`, `week`, `month` (the default), `quarter` or `half_year`, or `all` for no limit. Each platform applies its nearest window: Instagram has a week, a month and a year; YouTube has a day, a week and a month, and searches without a limit past that.
- `max_videos` integer value 1 to 200 Videos to enrich. Default 50, max 200.
- `wait` number value 0 to 120 Default `30` Seconds to hold the response open before returning a running Run to poll. Default 30, max 120.
- `max_credits` integer value at least 0 As in the query.
- `estimate` boolean If a source the call would read is unavailable and the cache cannot answer, the estimate adds `unavailable` (the `{ platform, capability }` parts it cannot reach), or is a 503 `source_unavailable` when it can reach none.

## Responses

### 200 OK

The Run finished: `{ run, result }`. Research is always async, so in practice this arrives from `GET /v1/runs/{id}`. The example is a `partial` Run: two of the fifty videos could not be fetched, and neither was charged for.

any of 2 shapes

- Option 1 object The envelope every charged operation answers with: `{ run }` while the Run is running (plus `poll_url` on the 202), joined by `result` once it completes or `error` once it fails.
  - `run` object required Every charged operation creates a Run; the envelope is the same inline or polled.
    - `id` string required
    - `kind` string required What was run, e.g. `video_lookup`.
    - `status` string required one of `running`, `completed`, `partial`, `failed` `partial` keeps the completed items and charges for them, up to what the Balance covers; `failed` charges nothing.
    - `created_at` string required RFC 3339.
    - `completed_at` string required nullable Null while the Run is still running.
    - `charge_credits` integer required What this Run actually cost, in Credits. A stored answer costs the same as a fresh one.
    - `list_price_credits` integer required The full price of the work asked for, in Credits. Equal to `charge_credits` unless the Run charged for only part of it.
    - `cached` boolean required True when a stored result answered without a fresh fetch.
    - `progress` object A running Research's `stage` and counts so far, such as `analysed` of `shortlisted`; a count is absent until known. Absent once the Run settles and on other kinds.
      - `stage` string required one of `keywords`, `searching`, `reading_creators`, `filtering`, `analysing`, `writing_digest`
      - `keywords` integer value at least 0
      - `creators` integer value at least 0
      - `creators_read` integer value at least 0
      - `searches` integer value at least 0
      - `found` integer value at least 0
      - `judged` integer value at least 0
      - `kept` integer value at least 0
      - `dropped_off_topic` integer value at least 0
      - `dropped_unsure` integer value at least 0
      - `shortlisted` integer value at least 0
      - `analysed` integer value at least 0
      - `updated_at` string required
  - `result` object required
    - `digest_version` integer required
    - `mode` string one of `keywords`, `creators` What the research was seeded with: `keywords` (an intent) or `creators` (a breakdown). Absent means `keywords`.
    - `intent` string
    - `keywords` array of string
    - `keyword_rationale` string
    - `coverage` map of string required
    - `digest` object required
      - `summary` string required Two or three sentences answering the intent directly, across the videos analysed. Describe what the videos and their audiences say and do; never state a real-world event or outcome as fact.
      - `answers` array of object
        - `question` string required One question the intent asks, in a few words, e.g. "How do Republicans react?".
        - `answer` string required One or two sentences answering it from the evidence. When the evidence does not cover it, say so plainly.
        - `video_ids` array of string required `video_id` keys (platform:id) of the analysed videos the answer rests on, exactly as given in the evidence. Empty when the evidence does not cover the question.
      - `themes` array of object required items 1 to 8
        - `name` string required Short label, three or four words.
        - `share` number required value 0 to 1 Fraction of the analysed videos that belong to this theme, 0-1.
        - `description` string required What the videos in this theme have in common.
        - `video_ids` array of string required `video_id` keys (platform:id) of the analysed videos that belong to this theme, exactly as given in the evidence.
        - `lift` object The theme's lift over the videos it cites: their median views against the set's median, or on a Breakdown against each Creator's median. Absent before version 7.
          - `views_lift` number required nullable
          - `video_count` integer required
          - `low_confidence` boolean required
      - `hooks` array of object required items at most 12
        - `text` string required The opening line, quoted VERBATIM from the evidence. Never paraphrase, never invent.
        - `video_id` string required `video_id` key (platform:id) of the video this hook is quoted from, exactly as given in the evidence.
        - `hook_type` string required The kind of hook, e.g. question, claim, negation, stat.
        - `why_it_works` string required One sentence.
        - `template` string length at least 1 The verbatim hook with its specifics (product, number, mistake, outcome, audience) replaced by short bracketed slots, every other word kept as spoken, e.g. "Stop [mistake] if you want [outcome]".
        - `lift` object nullable The `lift_tables.hook_type` row for the quoted video's analysed hook type, attached in code (never written by the model). Null when that video has no analysed hook type.
          - `value` string required The analysed hook type, or format + hook type, the row is keyed by.
          - `video_count` integer required
          - `median_views` number required nullable
          - `median_engagement_rate` number required nullable
          - `views_lift` number required nullable
          - `engagement_lift` number required nullable
          - `low_confidence` boolean required
      - `sentiment` object required
        - `positive` number required value 0 to 1
        - `neutral` number required value 0 to 1 Neutral or mixed.
        - `negative` number required value 0 to 1
        - `note` string required One sentence on what drives the distribution.
      - `angles` array of object required items 1 to 8
        - `angle` string required A content angle worth trying.
        - `rationale` string required Why the evidence supports it, referencing what was seen.
        - `video_ids` array of string Videos the rationale cites.
      - `formulas` array of object items at most 5
        - `name` string required Short label, three to five words.
        - `recipe` string required One line saying how to make it: the format, how it opens, and the order of its beats.
        - `visual_format` string required The visual format, copied exactly as it appears in `lift_tables.visual_format`.
        - `hook_type` string required The hook type, copied exactly as it appears in `lift_tables.hook_type`.
        - `structure` string required The beat structure the example videos share, as short beats joined by arrows, e.g. "problem → demo → result → CTA".
        - `video_ids` array of string required Up to 3 `video_id` keys (platform:id) of analysed videos that follow this formula, best performing first, exactly as given in the evidence.
        - `lift` object required nullable The `lift_tables.format_hook` row for this formula's visual format and hook type, attached in code (never written by the model): its `video_count` and lifts. The lift is for the format + hook type pair only; the structure is not bucketed. Null when no analysed video has that pair.
          - `value` string required The analysed hook type, or format + hook type, the row is keyed by.
          - `video_count` integer required
          - `median_views` number required nullable
          - `median_engagement_rate` number required nullable
          - `views_lift` number required nullable
          - `engagement_lift` number required nullable
          - `low_confidence` boolean required
      - `gaps` array of object items at most 5 Up to 5 things the audience asks for in the top 10 videos' comments that no analysed video addresses, each with verbatim quoted comments (and the video they came from) and a suggested angle. Empty when no comments were available. Absent on research recorded before gaps existed.
        - `ask` string required What the audience asks for or complains about, in one sentence, in your own words.
        - `comments` array of object required items 1 to 3
          - `text` string required A comment quoted VERBATIM from <comments>, character for character. Never paraphrase, never invent.
          - `video_id` string required `video_id` key (platform:id) of the video this comment was left under, exactly as given in <comments>.
        - `angle` string required A video someone could make that answers this ask, in one sentence.
    - `lift_tables` object Lift tables computed in code over the analysed videos: per visual format, hook type and length bucket, the video count, median views and engagement rate, and lift versus the whole set's median. The Digest quotes lifts only from these. Absent on research recorded before they existed.
      - `basis` string one of `set_median`, `creator_median`
      - `set` object required
        - `video_count` integer required
        - `median_views` number required nullable
        - `median_engagement_rate` number required nullable
      - `visual_format` array of object required
        - `value` string required The visual format, hook type, length bucket, or `<format> + <hook type>`.
        - `video_count` integer required
        - `median_views` number required nullable
        - `median_engagement_rate` number required nullable (likes + comments + shares + saves) / views.
        - `views_lift` number required nullable Median views of this row over the whole set's median views. Null when the set median is 0 or unknown.
        - `engagement_lift` number required nullable
        - `low_confidence` boolean required True when the row rests on fewer than 3 videos.
      - `hook_type` array of object required
        - `value` string required The visual format, hook type, length bucket, or `<format> + <hook type>`.
        - `video_count` integer required
        - `median_views` number required nullable
        - `median_engagement_rate` number required nullable (likes + comments + shares + saves) / views.
        - `views_lift` number required nullable Median views of this row over the whole set's median views. Null when the set median is 0 or unknown.
        - `engagement_lift` number required nullable
        - `low_confidence` boolean required True when the row rests on fewer than 3 videos.
      - `length` array of object required
        - `value` string required The visual format, hook type, length bucket, or `<format> + <hook type>`.
        - `video_count` integer required
        - `median_views` number required nullable
        - `median_engagement_rate` number required nullable (likes + comments + shares + saves) / views.
        - `views_lift` number required nullable Median views of this row over the whole set's median views. Null when the set median is 0 or unknown.
        - `engagement_lift` number required nullable
        - `low_confidence` boolean required True when the row rests on fewer than 3 videos.
      - `format_hook` array of object Visual format and hook type together, `value` as `<format> + <hook type>`: the rows the Digest's formulas take their lift from. Absent on research recorded before it existed.
        - `value` string required The visual format, hook type, length bucket, or `<format> + <hook type>`.
        - `video_count` integer required
        - `median_views` number required nullable
        - `median_engagement_rate` number required nullable (likes + comments + shares + saves) / views.
        - `views_lift` number required nullable Median views of this row over the whole set's median views. Null when the set median is 0 or unknown.
        - `engagement_lift` number required nullable
        - `low_confidence` boolean required True when the row rests on fewer than 3 videos.
    - `breakdown` object Breakdown only: the Creators read and how many Videos each returned, and those that could not be read.
      - `videos_per_creator` integer required Recent Videos asked for per Creator.
      - `creators` array of object required Every Creator read, in request order, each charged its fee.
        - `platform` string required
        - `handle` string required
        - `id` string required
        - `videos_read` integer required Videos read; fewer than `videos_per_creator` when `ended`.
        - `ended` boolean required True when the Creator's feed ran out before `videos_per_creator`.
      - `failed` array of object Creators that could not be read, charged 0, each with its problem `code` and `detail`. The Run is then partial.
        - `platform` string required
        - `handle` string required
        - `code` string required
        - `detail` string required
      - `lift_videos` integer Analysed Videos with a view count, of `analysed_videos`: the ranking and lift basis. The rest are unscored.
      - `analysed_videos` integer Videos analysed, of all the Creators read.
    - `videos` array of object required The top 25 videos of the ranked shortlist, in rank order. Every video the research delivered pages, with filters and sorting, at `GET /v1/research/{id}/videos`.
      - `platform` string required
      - `id` string required
      - `url` string required nullable
      - `description` string required nullable Null when the read fetched no caption.
      - `posted_at` string required nullable YouTube: exact when its web player answered, else the date only (midnight UTC).
      - `duration_seconds` number required nullable
      - `thumbnail_url` string required nullable
      - `hashtags` array of string required
      - `sound` object required nullable
        - `id` string required
        - `title` string required nullable
        - `author` string required nullable Who made the sound, as the platform names them. Null when the platform did not say (Facebook never does).
        - `is_original` boolean required nullable True for the creator's own audio, false for a catalogue track. Null when not reported.
        - `commercial_use` boolean required nullable Cleared for use in ads (TikTok). Null when not reported.
      - `sound_mix` object required nullable Track volumes (TikTok). Null when not reported.
        - `sound_volume` number required nullable
        - `original_volume` number required nullable
        - `mix` string required nullable one of `voiceover`, `music_only`, `mixed` voiceover: only the creator's own track (may be speech); music_only: only the sound; mixed: both.
      - `creator` object required nullable
        - `id` string required
        - `handle` string required nullable
        - `name` string required
        - `follower_count` number required nullable YouTube: its rounded subscriber figure (527M is 527000000).
        - `avatar_url` string required nullable Our archived copy, else the platform's URL, which may expire: download it rather than store the link.
        - `verified` boolean required nullable The verified badge, from the latest profile read, else this video's. Null when unreported.
      - `region` string required nullable Where the video was posted, as the platform reports it (a country code on TikTok). Null when not reported.
      - `language` string required nullable Caption language, ISO 639-1, e.g. `en`: declared by TikTok; on Instagram declared or detected from the caption or transcript. Null when unknown.
      - `title` string required nullable The video's own title (YouTube, Facebook). Null when none or not reported.
      - `commerce` object required nullable What the Platform declares, never inferred from the content. A flag is null when not reported, never false; the object is null when nothing was.
        - `is_ad` boolean required nullable The Platform marks the video as an ad (TikTok, Instagram).
        - `paid_partnership` boolean required nullable The Platform marks a paid partnership (TikTok, Instagram; on YouTube, its "Includes paid promotion" label).
        - `affiliate` boolean required nullable Creator earns commission (TikTok, Instagram).
        - `shop_url` string required nullable The product link the video carries (TikTok Shop).
        - `anchors` array of object required The links the video carries under its caption (an editing template, a product, a place). Empty when none were reported.
          - `kind` string required The Platform's own anchor type id, e.g. `54`.
          - `label` string required What the anchor shows, e.g. `CapCut · Editing made easy`.
        - `products` array of object required nullable Every TikTok Shop product the video tags, in TikTok's order; group by `id` to find videos selling the same product. Empty when none; null off TikTok. No price: no source sends it.
          - `id` string required TikTok Shop's product id.
          - `label` string required The product name TikTok shows on the video.
          - `url` string required The product's TikTok Shop page.
        - `seller_ids` array of string required nullable The TikTok Shop sellers of those products. Null when not reported (some TikTok reads).
        - `sales_event` string required nullable The TikTok Shop sales event the video is tagged in, e.g. `BLACK FRIDAY`. Null when none or not reported.
      - `people` object required nullable Accounts the Video mentions or names: tagged users or TikTok mention entities first, then @handles typed in the caption. Null when none.
        - `mentions` array of string required Handles the caption mentions (lowercased).
        - `collaborators` array of object required Co-authors the Platform names on the Video (an Instagram collab, a Facebook collaborator).
          - `handle` string required nullable
          - `name` string required nullable
      - `location` object required nullable The place tagged on the Video (Instagram, TikTok). Not `region`. Null when none is tagged or the read did not say.
        - `id` string required nullable The Platform's own place id. Null when not sent.
        - `name` string required The place, e.g. `Central Park, New York`.
      - `topics` object required nullable Platform-declared topics. Null when the Platform reported none.
        - `keywords` array of string required The creator's own tags (YouTube).
        - `genre` string required nullable The Platform's category, e.g. `Education` (YouTube).
        - `labels` array of string required The Platform's own category labels (TikTok) or topic pills (Instagram).
      - `suggested_searches` array of string required nullable TikTok's suggested searches for the Video, in order. Not the creator's tags (topics.keywords). Null: not reported.
      - `on_screen_text` array of object required nullable TikTok: text added with TikTok's text tool, in order, with when it shows (ms) when known. Not text burned in by another editor. []: none. Null: not reported.
        - `text` string required
        - `start_ms` integer required nullable
        - `end_ms` integer required nullable
      - `chapters` array of object required nullable The creator's chapters, else YouTube's auto ones, in order (YouTube). Null: none or not reported.
        - `title` string required
        - `start_seconds` number required Where the chapter starts, in seconds from the start.
        - `auto` boolean required nullable True: YouTube made it. Null: not reported.
      - `ai_generated` boolean required nullable The Platform labels the video AI-generated (TikTok). Null when not reported.
      - `is_pinned` boolean required nullable Pinned to the top of the creator's Instagram reels tab. Null when no reels tab was read.
      - `format` string required nullable one of `short`, `long`, `photo`, `photo_carousel` Kind of Video (YouTube: short or long). Null when not reported.
      - `slides` object required nullable A carousel's slides. URLs are the Platform's and may expire. Null on a single video or photo.
        - `count` number required
        - `items` array of object required
          - `kind` string required one of `image`, `video`
          - `url` string required
      - `reactions` object required nullable Reactions by kind (Facebook); `likes` is their total. A kind is 0 if none, null if unknown. Null when not reported.
        - `like` number required nullable
        - `love` number required nullable
        - `haha` number required nullable
        - `wow` number required nullable
        - `care` number required nullable
        - `sad` number required nullable
        - `angry` number required nullable
      - `most_replayed` object required nullable YouTube's rewatch heatmap. Null: none or unreported.
        - `peak_seconds` number required The top marker's start.
        - `markers` array of object required
          - `start_seconds` number required
          - `duration_seconds` number required
          - `intensity` number required 0-1.
      - `audio_languages` object required nullable YouTube audio tracks: original language and dubs, no region (en, zh-Hans). Null: no tracks.
        - `original` string required nullable
        - `dubbed` array of string required
      - `is_sponsored` boolean required nullable Ad/partner/affiliate flag, #ad or #…partner tag, or a brand collaborator. Null: unchecked.
      - `sponsor` string required nullable The sponsoring brand's handle when is_sponsored.
      - `snapshot` object required nullable Deprecated: use `engagement`.
        - `at` string required
        - `views` number required nullable
        - `likes` number required nullable
        - `comments` number required nullable
        - `shares` number required nullable
        - `saves` number required nullable
      - `engagement` object required nullable A count the platform did not report is null, never 0.
        - `views` number required nullable On Facebook, plays: the count Facebook shows on a reel (since 2026-11-17; before, a lower views figure).
        - `likes` number required nullable
        - `comments` number required nullable
        - `shares` number required nullable
        - `saves` number required nullable
        - `at` string required
      - `scores` object required nullable Null when the creator has no baseline yet.
        - `outlier` number required nullable Views over the creator's median views.
        - `outlier_p90` number required nullable
        - `percentile` number required nullable Where this video sits in the creator's own sample, 0-100.
        - `velocity` object required nullable
          - `views_per_hour` number required
          - `window` string required
          - `since` string required nullable When the window starts.
        - `engagement_rate` number required nullable This video's reported interactions (likes, comments, shares, saves) over its views. Null when unknown.
        - `anomaly` boolean required nullable True when `engagement_rate` is under 20% of the baseline's, as paid or boosted views read. Null when unknown.
        - `reason` string required nullable always `aged_out` `aged_out` when the video is over 30 days old and the view Scores are null.
        - `baseline` object required The yardstick every Score on this creator is measured against.
          - `median_views` number required
          - `p90_views` number required
          - `engagement_rate` number required nullable
          - `posts_per_week` number required nullable
          - `sample` integer required
          - `confidence` string required one of `high`, `low`
          - `source` string required one of `videos`, `follower_tier`
          - `computed_at` string required nullable
          - `stale` boolean required True past 7 days; the next lookup refreshes it.
      - `coverage` string always `partial` Present only where the platform's index is best-effort.
    - `creators` array of object required The top 25 creators, by best outlier multiple, then views. Every creator the research recorded pages, with filters and sorting, at `GET /v1/research/{id}/creators`.
      - `platform` string required
      - `id` string required
      - `handle` string required nullable
      - `name` string required
      - `follower_count` number required nullable
      - `url` string required nullable The creator's profile page.
      - `avatar_url` string required nullable The creator's avatar as their video carried it at collection time; may be a signed URL that expires. Null when not recorded.
      - `video_count` integer required
      - `best_outlier` number required nullable
      - `median_views` number required nullable The Creator baseline median views `best_outlier` was measured against, frozen at collection time. Null, never zero, when no video of theirs carried Scores.
      - `total_views` number required
      - `video_ids` array of string required
      - `top_video_id` string nullable Breakdown only: this Creator's top Video against their own median (`platform:id`). Null when none was analysed.
      - `posts_per_week` number nullable Breakdown only: posts per week over the Videos read. Null when their dates are unknown.
      - `videos_read` integer Breakdown only: Videos read for this Creator.
      - `videos_analysed` integer Breakdown only: Videos analysed of those read; 0 when the intent dropped all of them or every analysis failed.
    - `hashtags` array of object required The top 25 hashtags, by video count, then views. Every hashtag the research recorded pages, with filters and sorting, at `GET /v1/research/{id}/hashtags`.
      - `value` string required
      - `title` string nullable
      - `platforms` array of string required Every platform this tag was observed on in the shortlist. One rollup spans platforms; `video_ids` are `platform:id` if you want the split.
      - `video_count` integer required
      - `total_views` number required
      - `video_ids` array of string required
    - `sounds` array of object required The top 25 sounds, by video count, then views. Every sound the research recorded pages, with filters and sorting, at `GET /v1/research/{id}/sounds`.
      - `value` string required
      - `title` string nullable
      - `platforms` array of string required Every platform this tag was observed on in the shortlist. One rollup spans platforms; `video_ids` are `platform:id` if you want the split.
      - `video_count` integer required
      - `total_views` number required
      - `video_ids` array of string required
      - `author` string nullable Who made the sound, from the first video that named them. Null when none did; absent on research recorded before it existed.
      - `is_original` boolean nullable True for original audio, false for a catalogue track, so a trend sound can be told from a voiceover. Null when no video said; absent on research recorded before it existed.
    - `research` object required
      - `requested` integer required
      - `completed` integer required
      - `failed` integer required
      - `cached` integer required
      - `fresh` integer required
      - `max_videos` integer required
      - `included_videos` integer required
      - `shortlisted` map of integer Shortlist places per requested platform: a guaranteed part each, then the rest by how many on-topic candidates each had.
      - `dropped_off_topic` integer Candidates judged off-topic and dropped before the shortlist; never charged.
      - `dropped_unsure` integer Candidates whose relevance was unsure and that ranked too low to keep; never charged.
      - `dropped_sample` array of object Up to 10 dropped candidates, best-ranked first, with why each was dropped. Absent on research recorded before it existed.
        - `video_id` string required `platform:id` of the dropped video.
        - `verdict` string required one of `off_topic`, `unsure`
        - `reason` string required The relevance check's reason, short.
- Option 2 object Returned instead of a Run when `estimate=true`. Nothing is charged; some operations add members.
  - `estimate_credits` integer required What the call would be charged, in Credits.
  - `cached` boolean required Whether a stored result can already answer. It does not change the price.

### 202 Accepted

Still running: `{ run }`. Poll `GET /v1/runs/{id}`.

object

Still running. Poll `poll_url` (`GET /v1/runs/{id}`), waiting the 202's `Retry-After` seconds between polls.

- `run` object required Every charged operation creates a Run; the envelope is the same inline or polled. Its fields are on [Poll or re-read a run](https://www.shortsintel.com/docs/reference/runs/get-run#response-200).
- `poll_url` string required format `uri` Absolute URL of `GET /v1/runs/{id}`, the body's copy of the `Location` header (for MCP). Present only while `running`.

202 · Example

```json
{
  "run": {
    "id": "run_8f2c1ad04b",
    "kind": "research",
    "status": "running",
    "created_at": "2026-09-08T09:14:02.418Z",
    "completed_at": null,
    "charge_credits": 0,
    "list_price_credits": 0,
    "cached": false
  },
  "poll_url": "https://www.shortsintel.com/v1/runs/run_8f2c1ad04b"
}
```

### 400 Bad Request

`invalid_request` (a malformed id, `wait`, `estimate` or Idempotency-Key) or `unsupported_platform`, refused before any Run opens. Nothing is charged.

Codes: `invalid_request`, `unsupported_platform`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

### 401 Unauthorized

Codes: `missing_authorization`, `invalid_key`, `key_revoked`, `key_expired`, `invalid_token`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

### 402 Payment Required

`insufficient_balance`: the Balance cannot cover the quoted price (the worst case for Research and enriched search). No Run opens and nothing is charged; a multi-item Run that runs short later charges its completed items up to the Balance and ends `partial`.

Code: `insufficient_balance`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

### 409 Conflict

`idempotency_conflict` — the same Idempotency-Key with a different payload.

Code: `idempotency_conflict`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

### 429 Too Many Requests

`rate_limit_exceeded` or `concurrency_limit_exceeded`, with `Retry-After`.

Codes: `rate_limit_exceeded`, `concurrency_limit_exceeded`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

### 502 Bad Gateway

A Run that opened and then failed answers `application/problem+json` with its problem's status (`vendor_error` here, `not_found` as 404) and the Run envelope, keeping the Run id. Never charged. The example is a Video lookup's.

Code: `vendor_error`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

### 503 Service Unavailable

`source_unavailable`: every source this Run reads failed or is switched off. The Run fails uncharged, envelope alongside; `endpoints` names the source. Retry after `retry_after_seconds` (also `Retry-After`); it does not mean empty. The example is a Video lookup's.

Code: `source_unavailable`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

## Related guides

This call creates a Run. With `wait` it holds the response open until the Run finishes or the wait runs out, then answers with the finished result or `202` and the running Run. Poll [`GET /v1/runs/{id}`](https://www.shortsintel.com/docs/reference/runs/get-run) until it settles; re-reading a Run is free.

- [Runs](https://www.shortsintel.com/docs/concepts/runs): How a call becomes a Run, waiting inline, polling and free re-reads.
- [Pricing and estimates](https://www.shortsintel.com/docs/concepts/pricing-and-estimates): Credits, estimates and why a cached result costs the same as a fresh one.
- [Research](https://www.shortsintel.com/docs/concepts/research): Ask one open question across a niche and get a digest with its evidence: how a research works, what it costs, and how to read it back for free.

## Request samples

curl:

```bash
curl -X POST "https://www.shortsintel.com/v1/research" \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"intent":"why are cold plunge videos taking off","platforms":["tiktok"],"window":"month","max_videos":50}'
```

TypeScript:

```typescript
const response = await fetch(
  "https://www.shortsintel.com/v1/research",
  {
    method: "POST",
    headers: {
      "Authorization": "Bearer sk_live_YOUR_KEY",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      "intent": "why are cold plunge videos taking off",
      "platforms": [
        "tiktok"
      ],
      "window": "month",
      "max_videos": 50
    }),
  },
);

if (!response.ok) {
  throw new Error(`ShortsIntel ${response.status}`);
}

const data = await response.json();
```

Python:

```python
import requests

response = requests.post(
    "https://www.shortsintel.com/v1/research",
    headers={
        "Authorization": "Bearer sk_live_YOUR_KEY",
        "Content-Type": "application/json",
    },
    json={
        "intent": "why are cold plunge videos taking off",
        "platforms": [
            "tiktok",
        ],
        "window": "month",
        "max_videos": 50,
    },
)
response.raise_for_status()

data = response.json()
```

200 · The Run finished: `{ run, result }`. Research is always async, so in practice this arrives from `GET /v1/runs/{id}`. The example is a `partial` Run: two of the fifty videos could not be fetched, and neither was charged for.

```json
{
  "run": {
    "id": "run_8f2c1ad04b",
    "kind": "research",
    "status": "partial",
    "created_at": "2026-09-08T09:14:02.418Z",
    "completed_at": "2026-09-08T09:14:04.930Z",
    "charge_credits": 1036,
    "list_price_credits": 1036,
    "cached": false
  },
  "result": {
    "digest_version": 2,
    "mode": "keywords",
    "intent": "why are cold plunge videos taking off",
    "keywords": [
      "cold plunge",
      "ice bath",
      "cold exposure",
      "cold plunge routine"
    ],
    "keyword_rationale": "The intent is about a practice rather than a product, so the keywords cover the practice and its two common synonyms.",
    "coverage": {
      "tiktok": "complete",
      "instagram": "partial"
    },
    "digest": {
      "summary": "Cold plunge videos are travelling on measured personal diaries rather than on science explainers. The videos that break out open on an unimpressive first number and pay it off with a later one, and keep the discomfort on camera instead of cutting around it. Sentiment is broadly positive, with the negative share concentrated on the cost of equipment.",
      "themes": [
        {
          "name": "30-day diaries",
          "share": 0.45,
          "description": "One creator, one tub, a counter on screen, and the change stated as a number rather than a feeling.",
          "video_ids": [
            "tiktok:7300000000000000000"
          ]
        },
        {
          "name": "Before-workout plunging",
          "share": 0.2,
          "description": "Shorter clips arguing about timing relative to training, usually with a gym setting.",
          "video_ids": [
            "tiktok:7300000000000000042"
          ]
        }
      ],
      "hooks": [
        {
          "text": "Day one I lasted eleven seconds.",
          "video_id": "tiktok:7300000000000000000",
          "hook_type": "stat",
          "why_it_works": "An unimpressive concrete number sets up a payoff the viewer stays for.",
          "template": "Day one I lasted [small number] [unit].",
          "lift": {
            "value": "STORY",
            "video_count": 9,
            "median_views": 1840000,
            "median_engagement_rate": 0.0912,
            "views_lift": 1.6,
            "engagement_lift": 1.21,
            "low_confidence": false
          }
        }
      ],
      "sentiment": {
        "positive": 0.62,
        "neutral": 0.23,
        "negative": 0.15,
        "note": "Enthusiasm for the routine itself; the negative share is almost entirely the price of a tub."
      },
      "angles": [
        {
          "angle": "Open on the day-30 number and work backwards to day one.",
          "rationale": "Every diary in the shortlist that led with the outcome outperformed the ones that led with the method."
        }
      ],
      "gaps": [
        {
          "ask": "Viewers want a cold plunge setup that does not cost hundreds.",
          "comments": [
            {
              "text": "ok but what do I do if I can't afford a 600 dollar tub",
              "video_id": "tiktok:7300000000000000000"
            }
          ],
          "angle": "A 30-day diary on a chest freezer or bathtub build, with the receipt on screen."
        }
      ]
    },
    "videos": [
      {
        "platform": "tiktok",
        "id": "7300000000000000000",
        "url": "https://www.tiktok.com/@someone/video/7300000000000000000",
        "description": "3 minutes at 4°C every morning for 30 days. Here is what actually changed. #coldplunge #recovery",
        "posted_at": "2026-09-05T06:32:11.000Z",
        "duration_seconds": 41,
        "thumbnail_url": "https://p16-sign.tiktokcdn.com/obj/tos-cover-7300000000000000000.jpeg",
        "hashtags": [
          "coldplunge",
          "recovery",
          "morningroutine"
        ],
        "sound": {
          "id": "7180000000000000000",
          "title": "original sound - someone",
          "author": "someone",
          "is_original": true,
          "commercial_use": null
        },
        "sound_mix": {
          "sound_volume": 0,
          "original_volume": 50,
          "mix": "voiceover"
        },
        "creator": {
          "id": "cre_9d4b2a7f1c",
          "handle": "someone",
          "name": "Someone",
          "follower_count": 184300,
          "avatar_url": "https://p16-sign.tiktokcdn.com/obj/tos-avatar-someone.jpeg",
          "verified": false
        },
        "region": "US",
        "language": "en",
        "title": null,
        "commerce": {
          "is_ad": false,
          "paid_partnership": null,
          "affiliate": null,
          "shop_url": null,
          "anchors": [
            {
              "kind": "54",
              "label": "CapCut · Editing made easy"
            }
          ],
          "products": [],
          "seller_ids": null,
          "sales_event": null
        },
        "people": {
          "mentions": [
            "coldplungeco"
          ],
          "collaborators": []
        },
        "location": null,
        "topics": {
          "keywords": [],
          "genre": null,
          "labels": [
            "Fitness",
            "Health"
          ]
        },
        "suggested_searches": [
          "cold plunge benefits",
          "cold plunge"
        ],
        "on_screen_text": [
          {
            "text": "3 minutes at 4°C",
            "start_ms": 0,
            "end_ms": 2500
          }
        ],
        "chapters": null,
        "ai_generated": false,
        "is_pinned": null,
        "format": "short",
        "slides": null,
        "reactions": null,
        "most_replayed": null,
        "audio_languages": null,
        "is_sponsored": null,
        "sponsor": null,
        "snapshot": {
          "at": "2026-09-08T09:14:04.219Z",
          "views": 1284000,
          "likes": 143200,
          "comments": 2810,
          "shares": 9040,
          "saves": 21600
        },
        "engagement": {
          "at": "2026-09-08T09:14:04.219Z",
          "views": 1284000,
          "likes": 143200,
          "comments": 2810,
          "shares": 9040,
          "saves": 21600
        },
        "scores": {
          "outlier": 4.21,
          "outlier_p90": 1.6,
          "percentile": 95,
          "velocity": {
            "views_per_hour": 6698.6,
            "window": "snapshot",
            "since": "2026-10-03T08:00:00.000Z"
          },
          "engagement_rate": 0.1376,
          "anomaly": false,
          "reason": null,
          "baseline": {
            "median_views": 305000,
            "p90_views": 802000,
            "engagement_rate": 0.1342,
            "posts_per_week": 4.1,
            "sample": 20,
            "confidence": "high",
            "source": "videos",
            "computed_at": "2026-09-08T09:14:03.902Z",
            "stale": false
          }
        }
      },
      {
        "platform": "tiktok",
        "id": "7300000000000000042",
        "url": "https://www.tiktok.com/@anotherone/video/7300000000000000042",
        "description": "I tried cold plunging before every workout for a week. #coldplunge",
        "posted_at": "2026-09-06T13:04:52.000Z",
        "duration_seconds": 28,
        "thumbnail_url": "https://p16-sign.tiktokcdn.com/obj/tos-cover-7300000000000000042.jpeg",
        "hashtags": [
          "coldplunge",
          "gym"
        ],
        "sound": {
          "id": "7180000000000000099",
          "title": "Winter Air",
          "author": "Northbound",
          "is_original": false,
          "commercial_use": true
        },
        "sound_mix": {
          "sound_volume": 50,
          "original_volume": 0,
          "mix": "music_only"
        },
        "creator": {
          "id": "cre_1a77c0b3de",
          "handle": "anotherone",
          "name": "Another One",
          "follower_count": 21400,
          "avatar_url": null,
          "verified": null
        },
        "region": "GB",
        "language": "en",
        "title": null,
        "commerce": {
          "is_ad": false,
          "paid_partnership": null,
          "affiliate": null,
          "shop_url": null,
          "anchors": [],
          "products": [],
          "seller_ids": null,
          "sales_event": null
        },
        "people": null,
        "location": null,
        "topics": null,
        "suggested_searches": null,
        "on_screen_text": null,
        "chapters": null,
        "ai_generated": null,
        "is_pinned": null,
        "format": "short",
        "slides": null,
        "reactions": null,
        "most_replayed": null,
        "audio_languages": null,
        "is_sponsored": null,
        "sponsor": null,
        "snapshot": {
          "at": "2026-09-08T09:14:04.219Z",
          "views": 96200,
          "likes": 8140,
          "comments": 212,
          "shares": 401,
          "saves": 1180
        },
        "engagement": {
          "at": "2026-09-08T09:14:04.219Z",
          "views": 96200,
          "likes": 8140,
          "comments": 212,
          "shares": 401,
          "saves": 1180
        },
        "scores": null
      }
    ],
    "creators": [
      {
        "platform": "tiktok",
        "id": "cre_9d4b2a7f1c",
        "handle": "someone",
        "name": "Someone",
        "follower_count": 184300,
        "url": "https://www.tiktok.com/@someone",
        "avatar_url": "https://p16-sign.tiktokcdn.com/obj/tos-avatar-someone.jpeg",
        "video_count": 3,
        "best_outlier": 4.21,
        "median_views": 305000,
        "total_views": 1611400,
        "video_ids": [
          "tiktok:7300000000000000000"
        ]
      }
    ],
    "hashtags": [
      {
        "value": "coldplunge",
        "platforms": [
          "instagram",
          "tiktok"
        ],
        "video_count": 34,
        "total_views": 18402000,
        "video_ids": [
          "tiktok:7300000000000000000",
          "instagram:C9xExampleShortcode"
        ]
      }
    ],
    "sounds": [
      {
        "value": "7180000000000000000",
        "title": "original sound - someone",
        "author": "someone",
        "is_original": true,
        "platforms": [
          "tiktok"
        ],
        "video_count": 4,
        "total_views": 2140000,
        "video_ids": [
          "tiktok:7300000000000000000"
        ]
      }
    ],
    "research": {
      "requested": 50,
      "completed": 48,
      "failed": 2,
      "cached": 11,
      "fresh": 37,
      "max_videos": 50,
      "included_videos": 50
    }
  }
}
```

200 · With `estimate=true`: the price, no Run, no charge.

```json
{
  "estimate_credits": 1036,
  "cached": false
}
```

[Next Read a research's status](https://www.shortsintel.com/docs/reference/research/get-research)
