API Reference
Complete REST API and MCP endpoint reference generated from the OpenAPI 3.1 specification.
Account & Operations
Research
/research/demandresearch_demandQuery Hitfactor global attention map topic demand across YouTube tech channels, filtered by query, time window (d30, d90, d365), and signal stability (distributed vs fragile). Costs 1 credit.
/research/radarresearch_radarRead the latest cached Hitfactor Tech Radar snapshot of breakout stories across GitHub, Hacker News, Reddit, X, Hugging Face, and RSS with YouTube coverage counts. Never triggers live external API calls. Costs 1 credit.
Retention
/retention/channelanalyze_channel_retentionAnalyze the channel's audience retention: which hook signals hold viewers at 30 seconds, the openings that held best, and the steepest mid-video drop-offs with the exact spoken lines. Needs retention curves for at least 5 videos; with fewer, it returns state insufficient_data and charges 0 credits. Costs 1 credit otherwise.
/retention/critiquecritique_retentionCritique a hook or script draft against this channel's own retention evidence (hook signals, best openings, steepest drop-offs). Returns risk, issues with suggested rewrites, and a rewritten draft. Runs async: poll the operation or pass webhookUrl. Costs 8 credits; credits are released if the run fails (for example, fewer than 5 videos with retention curves).
Packaging & Hooks
/titles/generategenerate_titlesGenerate and score YouTube title candidates for a concept, conditioned on the connected channel avatars, title-v2-sft, and study-008 structural levers. Costs 4 credits.
/hooks/generategenerate_hooksGenerate 30-second-capped, fact-checked spoken YouTube hooks across requested formats using hook-lora-v2 and channel WPM/messaging defaults, with optional reference exemplars. Costs 3 credits.
/packages/rankrank_packagesRun swapped-order dual-judge pairwise ranking on 1 to 10 title or title+thumbnail package pairs. Costs 2 credits per pair.
/thumbnails/generategenerate_thumbnailGenerate a blueprint-backed YouTube thumbnail PNG asynchronously using corpus winner blueprints, channel brand context, and optional reference images or presenter headshot. Costs 15 credits.
Ideation & Scripts
/concepts/ideateideate_conceptsGenerate evidence-grounded YouTube video concepts for the connected channel using published knowledge base facts, cached Tech Radar stories, TopicDemand trends, outlier exemplars, and proven title formats. Async operation; costs 25 credits.
/scripts/generategenerate_scriptGenerate a full YouTube script grounded in the connected channel voice, knowledge base, and exemplars, with the rewrite loop capped to 1 pass. Async operation; costs 100 credits.