Analysis Tools

Monetization checks, video analysis, and terminated-channel search.

llms.txt Full docs for LLMs

GET /api/channel-monetization/:channel_id

Full monetization profile for one channel — what it sells, each method with its own evidence + source link, products, and store URLs. If the channel isn't classified yet it runs the classifier live (≤60s) and persists the result; pass ?skip_live=true to skip that and get an immediate unclassified response.

Path Parameters
NameTypeRequiredDescription
channel_idstringRequiredYouTube channel id (UC…, 24 chars). Use /api/channels/resolve for handles/URLs.
Query Parameters
NameTypeRequiredDefaultDescription
skip_livebooleanOptionalfalseSkip the live classifier and return immediately (classified:false if not already known).
Example Request
curl "https://api.algrow.online/api/channel-monetization/UCX6OQ3DkcsbYNE6H8uQQuVA" \ -H "Authorization: Bearer YOUR_API_KEY"
200 Success 401 Auth failed
POST /api/analyze-video

Analyze a YouTube video with AI vision — hooks, pacing, visual storytelling, on-screen text, B-roll usage, content strategy, and any other prompt-driven breakdown. Returns structured analysis text. Currently free during preview — no credit cost, no plan requirement — only an API key and the per-user concurrency cap apply. Repeat prompts on the same video within 2 hours reuse a cached upload automatically (faster on the backend, returns cached: true).

Request Body (JSON)
NameTypeRequiredDescription
video_urlstringRequiredYouTube video URL. Accepts watch links, youtu.be short links, and Shorts URLs.
promptstringRequiredPlain-English instruction describing what to analyze. Max 4,000 characters.
media_resolutionstringOptionalAnalysis fidelity: low (default, recommended for hook / pacing / strategy prompts) or default (higher visual detail at greater backend cost — useful when fine on-screen text or subtle visual cues matter).
Limits: Maximum video length is 3 hours. Live streams, private, deleted, and age-restricted videos are rejected with clear error messages. Concurrency cap applies (5 / 10 / 20 active jobs by tier).
Example Request (Hook breakdown)
curl -X POST "https://api.algrow.online/api/analyze-video" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "prompt": "Break down the hook in the first 3 seconds. What grabs attention?", "media_resolution": "low" }'
Example Request (Pacing analysis on a Short)
curl -X POST "https://api.algrow.online/api/analyze-video" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "video_url": "https://youtube.com/shorts/abc123XYZ", "prompt": "Identify the pacing, energy shifts, on-screen text timing, and where attention is most likely to drop." }'
Response 200 200
{ "success": true, "job_id": "f12d4a8b-2e1f-44e1-9aa1-2dfa20c5c7d3", "status": "pending", "duration_seconds": 187.4, "message": "Video analysis queued. Poll /api/job-status/{job_id} for progress." }
Completed Job Response (via /api/job-status/:job_id)
{ "success": true, "job_id": "f12d4a8b-2e1f-44e1-9aa1-2dfa20c5c7d3", "job_type": "video_analysis", "status": "completed", "analysis_text": "The opening 3 seconds use a hard cut from black to a wide shot of...", "duration_seconds": 187.4, "video_id": "dQw4w9WgXcQ", "cached": false, "completed_at": 1774203012.45 }
Processing time: Typically 5–25 seconds for Shorts, 30–90 seconds for 5-minute videos, several minutes for hour-long content. The first analysis on a video is slower than follow-up prompts on the same video (which hit the cache and skip download + upload). Poll /api/job-status/:job_id every 5 seconds for updates.
Caching: When you run multiple prompts on the same video_url within 2 hours, the source video is reused from cache — the response includes cached: true. Cache is keyed per (user, video) so each user pays the cold-path cost once per video per 2 hours.
200 Queued 400 Validation / unsupported video 401 Auth failed 429 Concurrency cap

esc
×

Buy More Credits

Boost
150
credits
$4.99
Good for:
  • ~12 min caption removal
Studio
1,000
credits
$31.49
Good for:
  • ~80 min caption removal