▶️ LWF YouTube Tools

🧩 LWF API & Webhooks

Use LWF YouTube research in n8n, Make, Zapier or your own code, and send tracker alerts straight into your automations.

🔑
One key
Create a key, send it as Authorization: Bearer …. Same key works for the MCP.
🛠️
27 tools
Channel stats, outliers, niches, tags, title scores, swipe file, tracker and your own channel analytics.
⚡
Webhooks
Breakouts and new uploads from channels you track, sent to n8n, Make or Zapier within minutes.
Sign up free to get an API key.

Free tools are free over the API too; research tools use your daily free uses, then credits.

How to call the API

Base URL https://learnwithfidelis.com/api · Sign in with Authorization: Bearer <key> (or X-API-Key: <key>) · JSON in, JSON out. Every reply has ok; tool results are in data, and what it cost is in billing.

GET/api/me: your account, credits and today's API use GET/api/tools: every tool with its inputs POST/api/tools/{name}: run a tool; the JSON body is its inputs GET/api/webhooks/events: event names with sample data GET/api/webhooks: your webhooks · POST /api/webhooks {"url", "events", "name"} adds one (returns its secret) PATCH/api/webhooks/{id} {"events", "name", "enabled"} · DELETE /api/webhooks/{id} · POST /api/webhooks/{id}/test

Errors: 401 bad key · 400 missing input · 402 not enough credits · 403 needs a plan · 404 unknown tool · 429 too many calls (60 a minute) or your daily limit · 503 switched off.

curl
curl -X POST https://learnwithfidelis.com/api/tools/youtube_channel_stats \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"channel": "@mkbhd"}'
{
  "ok": true,
  "data": { "channel": { "title": "…", "subscribers": 19800000, … }, "best_recent_videos": [ … ], … },
  "billing": { "credits_used": 0, "credit_balance": 240, "free_uses_left_today": 4, "charged_as": "allowance" }
}
n8n (HTTP Request node, or import a ready-made workflow)
  1. Add an HTTP Request node. Method POST, URL https://learnwithfidelis.com/api/tools/youtube_find_outliers.
  2. Authentication: Generic Credential Type → Header Auth. Name Authorization, value Bearer YOUR_API_KEY.
  3. Send Body: JSON, e.g. {"niche": "ai-tools", "days": 7, "max_subs": 100000}. Results are in data.videos.

Download: daily outliers → Google Sheets Download: breakout alert → Telegram

In n8n: Workflows → Import from file. Put your key in the HTTP node, connect Google Sheets or Telegram, then activate. For the Telegram one, copy the Webhook node's Production URL into a webhook above.

Make
  1. Run a tool: add HTTP → Make a request. URL https://learnwithfidelis.com/api/tools/{tool name}, method POST, header Authorization: Bearer YOUR_API_KEY, body type Raw, content type JSON, request content e.g. {"channel": "@mkbhd"}, and turn on Parse response.
  2. Get alerts: start a scenario with Webhooks → Custom webhook, copy its address into a webhook above, then click Send test so Make learns the data shape.
Zapier
  1. Get alerts: trigger Webhooks by Zapier → Catch Hook. Copy the URL into a webhook above and click Send test.
  2. Run a tool: action Webhooks by Zapier → Custom Request, method POST, URL https://learnwithfidelis.com/api/tools/{tool name}, data {"channel": "@mkbhd"}, headers Authorization = Bearer YOUR_API_KEY and Content-Type = application/json.
Webhook format and checking the signature
{
    "id": "evt_9f2c1a7b3d4e5f60",
    "event": "tracker.breakout",
    "created_at": "2026-11-25T14:05:00Z",
    "data": {
        "kind": "breakout",
        "channel_id": "UCxxxxxxxxxxxxxxxxxxxxxx",
        "channel_title": "Example Channel",
        "video_id": "dQw4w9WgXcQ",
        "video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
        "title": "Example video title",
        "is_short": false,
        "views": 48210,
        "score": 6.4,
        "tracker_url": "https://learnwithfidelis.com/tools/yt-tracker"
    }
}

Headers: X-LWF-Event, X-LWF-Delivery, X-LWF-Timestamp and X-LWF-Signature: sha256=…, the HMAC-SHA256 of timestamp + "." + raw body with your webhook's secret. Answer with any 2xx within 15 seconds; otherwise LWF retries after 1 min, 5 min, 30 min, 2 h and 6 h. 20 failures in a row pause the webhook.

// Node.js
const crypto = require('crypto');
function isFromLWF(rawBody, headers, secret) {
  const expected = 'sha256=' + crypto.createHmac('sha256', secret)
    .update(headers['x-lwf-timestamp'] + '.' + rawBody).digest('hex');
  return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(headers['x-lwf-signature'] || ''));
}
// PHP
$body = file_get_contents('php://input');
$expected = 'sha256=' . hash_hmac('sha256', $_SERVER['HTTP_X_LWF_TIMESTAMP'] . '.' . $body, $secret);
$ok = hash_equals($expected, $_SERVER['HTTP_X_LWF_SIGNATURE'] ?? '');

Tools

Run any of these with POST /api/tools/{name}. Free tools stay free; research tools use your free daily uses, then the same credits as on the website. Tools from your MCP Hub servers work too (prefix__tool).

NameWhat it doesInputsCost
lwf_get_accountThe signed-in person's name, credit balance, active plans, and today's MCP credit use and daily limit. Free
lwf_list_toolsAll tools on Learn with Fidelis (AI video, prompts, YouTube research…) with what each does, its credit cost, whether it needs a plan, and its link. Free
lwf_my_coursesCourses this person owns, with progress and the lesson to continue, plus free courses they can start. Free
lwf_search_my_lessonsSearch the lessons and modules of courses this person owns. Use it to answer questions from their course material. query* Free
lwf_get_lessonThe text, video link and resources of one lesson the person has access to (lesson_id from lwf_my_courses or lwf_search_my_lessons). lesson_id* Free
lwf_course_catalogCourses and products available on Learn with Fidelis, with links (for recommending what to learn next). query Free
lwf_upcoming_trainingsUpcoming live trainings and webinars on Learn with Fidelis. Free
lwf_affiliate_statusThis person's LWF affiliate status, referral link and earnings summary. Free
youtube_channel_statsStats for any channel: subscribers, age, upload pace, median views (long vs Shorts), best recent videos with outlier scores, estimated monthly views and earnings. channel* content_type audience_country YouTube Channel Stats & ID Finder
youtube_similar_channelsChannels similar to a channel: ones it features or mentions, ones in the same niche, and ones with matching topics. channel* limit YouTube Channel Stats & ID Finder
youtube_video_detailsA video's title, stats, tags, hashtags, duration and the start of its description. video* YouTube Tag Extractor
youtube_list_nichesAll niches LWF tracks with opportunity score, typical views, new channels winning, outliers this month and RPM range. Free. sort faceless_only Free
youtube_niche_channelsChannels in one niche (slug from youtube_list_niches) with filters, e.g. new channels under a year old getting strong views. niche* format max_age_days min_subs max_subs min_views active_days country sort page YouTube Niche Finder
youtube_search_channelsSearch LWF's channel index by keyword (names and channel keywords), with the same filters as the niche channels. keyword* format max_age_days min_subs max_subs min_views active_days country sort page YouTube Niche Finder
youtube_find_outliersVideos getting many times their channel's usual views (proven ideas), filtered by niche, format, age, channel size and score. niche title_contains format days max_subs min_score min_views sort page YouTube Outlier Finder
youtube_keyword_researchResearch one or multiple YouTube keywords side-by-side: opportunity/demand/competition ranking (0-100), live trend direction and tips, whether each keyword works as a YouTube channel title (with channel name ideas), scored video title ideas, audience demographics, estimated RPM, autocomplete long-tails and top ranking videos. Charged per non-repeat keyword researched (repeats within 24h are free). keywords keyword country format YouTube Keyword Research
youtube_estimate_earningsEstimated daily, monthly and yearly ad earnings from views, content type and audience country. Free. views_per_day* content_type audience_country Free
youtube_score_titlesScores titles 0-100 with what to fix (length, phone cut-off, numbers, strong words, caps, emojis, keyword position). Free. titles* keyword Free
youtube_playbookFidelis's YouTube playbooks: niche selection, titles, thumbnails (principles and a brief template, no image generation), hooks and scripts, faceless workflow with LWF tools, monetisation. Free. topic Free
youtube_swipe_file_listVideos, Shorts and channels this person saved, with their notes. type query Free
youtube_swipe_file_saveSave a video, Short or channel to this person's swipe file, with an optional note on why it works. item* note Free
youtube_swipe_file_removeRemove one saved item (id from youtube_swipe_file_list). id* Free
youtube_my_channel_analyticsReal analytics of the person's own connected YouTube channel(s): last 28 days vs the 28 before (views, watch hours, net subscribers, average view duration, revenue if allowed), daily views, top videos, traffic sources, countries, viewer ages, Shorts share, a 30-day forecast, niche comparison and tips. Free. Channels are connected at /tools/yt-my-channels. channel Free
youtube_tracker_overviewChannels this person tracks: uploads from the last 48 hours with views, views per hour and score vs the channel's usual, recent breakout and new-upload alerts, and combined 7-day numbers. Free. hours Free
youtube_tracker_addStart tracking a channel in real time (new uploads and breakouts). Uses one of the person's tracker slots. channel* Free
youtube_tracker_removeRemove a channel from the person's tracker. channel* Free
lwf_hub_serversThe other MCP servers this person connected to LWF (MCP Hub): their status and the tools they add (named prefix__tool). Free. Servers are connected at /tools/mcp-hub. Free

* required. Full input details (types, allowed values): GET /api/tools.