REST API · v1

API docs

A small, fast REST API for the UGC Growth Engineer hook & reaction library: search, inspect script beats, and download clean 1080×1920 clips straight from Claude Code, Codex, or your own scripts.

Quick start

1. Unlock a lifetime license to receive your API key (prefix ugcg_live_).

2. Save it in your shell environment. Never commit your key to git or print it in logs.

Terminal
export UGCG_API_KEY="ugcg_live_your_key_here"

3. Query reaction hooks for consumer apps:

curl
curl -sS -H "Authorization: Bearer $UGCG_API_KEY" \
  "https://api.ugcgrowthengineer.com/v1/hooks?type=reaction&niche=apps-software&limit=5"

Authentication

Pass your key as a Bearer token in the Authorization header on every request. Base URL: https://api.ugcgrowthengineer.com/v1.

Query-string API keys are rejected so tokens never leak into browser history or proxy logs. Each license includes up to 5 active keys, revocable anytime.

List hooks

GET /v1/hooks — returns matching hooks sorted by tracked views descending.

Query paramExampleDescription
typereaction, pov, open-loopFilter by hook mechanism category.
nicheapps-software, skincareFilter by product category or vertical.
formatreaction-video, demoFilter by video format.
min_views1000000Minimum observed views threshold.
limit20 (max 100)Number of hooks to return per page.

Get one hook

GET /v1/hooks/{id} — returns the full structured breakdown: first 3 seconds, timestamped script beats, why it works, variables, and pattern template.

curl
curl -sS -H "Authorization: Bearer $UGCG_API_KEY" \
  "https://api.ugcgrowthengineer.com/v1/hooks/DdA58VyRFq2"
Example response (200 OK)
{
  "id": "DdA58VyRFq2",
  "category": "reaction",
  "niche": "apps-software",
  "views": 5780000,
  "opening": {
    "visual": "Creator pulls sunglasses down in disbelief while looking at camera.",
    "on_screen_text": "wait this AI actually built that??",
    "spoken": null
  },
  "pattern_template": "[Disbelief reaction] -> [3-second app demo] -> [unexpected payoff]",
  "download_url": "https://api.ugcgrowthengineer.com/v1/hooks/DdA58VyRFq2/download"
}

Download clean clip

GET /v1/hooks/{id}/download — streams the clean 1080×1920 MP4 reaction/opener file directly with zero watermark.

curl
curl -sS -H "Authorization: Bearer $UGCG_API_KEY" \
  -o hook-DdA58VyRFq2.mp4 \
  "https://api.ugcgrowthengineer.com/v1/hooks/DdA58VyRFq2/download"

Use with Claude Code & Codex

Paste this prompt into Claude Code in any repo containing a demo.mp4 screen recording to generate 3 ready-to-post TikTok/Reels creatives automatically:

Claude Code prompt
Using my UGC Growth Engineer API key in $UGCG_API_KEY (never print it):
1. Query https://api.ugcgrowthengineer.com/v1/hooks?type=reaction&niche=apps-software&limit=3
2. Download the top 3 reaction clips as hook-1.mp4, hook-2.mp4, hook-3.mp4
3. For each clip, burn a 3-second TikTok-style caption tailored to my app from ./README.md
4. Stitch each hook to ./demo.mp4 and export 3 vertical 1080x1920 videos in ./exports/ using ffmpeg.

Browse 10 ready-to-paste hook prompts →

Rate limits & errors

Standard license keys allow 120 metadata requests/minute and 60 clip downloads/hour. Standard HTTP status codes apply:401 invalid key, 404 unknown hook ID, 429 rate limit exceeded.