Live API · v1

Viral-content intelligence
for AI agents.

MCP server and REST API. Score hooks against proven viral patterns, remix viral videos into fresh scripts, surface what is actually peaking in a niche today. Hand it one TikTok handle and it returns the next 3 tool calls your agent should make — with parameters pre-filled.

100 free credits · no card · 30 seconds to first call

100K+
Viral videos analyzed
7
Tools per Bearer token
<400ms
p50 hook scoring
30s
To first API call
The flagship

One tool. The whole agentic chain.

analyze_account takes one TikTok handle and returns deep intelligence plus a recommended_chain field — pre-filled next-tool calls your agent fires automatically. One call in, four calls out.

Agent input
POST /v1/account/analyze

{
  "handle": "@mrbeast",
  "platform": "tiktok"
}
5 credits · 1h cache
recommended_chain — fired automatically
#1
match_voice

High-signal voice DNA — consistent across top 5 videos

#2
trend_pulse

Verify their formula maps to current trends in challenge_videos

#3
viral_remix

Their #2 video has the highest copyable structure

Claude reads recommended_chain and calls match_voice → trend_pulse → viral_remix on its own. No prompt engineering.

The wedge

Stop shipping AI slop.

Every n8n / Claude / Cursor content workflow has the same problem: generic LLM calls produce hooks that start with "Hey guys! Today I want to talk about..." and get suppressed by every algorithm.

Hooklayer sits between the LLM and the publish step. Score every hook against proven viral patterns. Reject anything below 70. Auto-rewrite to 85+. One MCP call, one credit.

curlresponse
200 OK
curl -X POST https://hooklayer.dev/v1/hook/score \
  -H "Authorization: Bearer hl_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "text": "3 things I wish I knew",
    "platform": "tiktok"
  }'
The toolkit

Seven tools, one Bearer token.

Every endpoint is also exposed as an MCP tool — Claude Desktop, Cursor, n8n, custom agents. One config, full toolkit.

Flagship5cr
POST /v1/account/analyze

TikTok handle → full Viral DNA (scores, format fingerprint, steal map) + recommended_chain telling your agent which tool to call next.

1cr
POST /v1/hook/score

Score a hook 0–100 against proven viral patterns. Returns 3 stronger rewrites + matched pattern + percentile.

3cr
POST /v1/remix

URL or transcript → fresh script that mirrors the original viral DNA. Scene structure, energy pattern, camera shots.

1cr
GET /v1/trends

Real-time rising opportunities + saturated patterns by niche. Format / hook / style trends, not news topics.

1cr
GET /v1/templates

Niche-fit ranked templates with hook patterns, format structures, and example URLs.

2cr
POST /v1/voice/match

Extract a creator's voice from reference samples and rewrite a draft in their style. Returns voice signature.

2cr
POST /v1/predict

Score a draft script for viral potential. Returns viral DNA, retention diagnosis, target emotion, share reason.

MCP integration

Drop into Claude Desktop in 30 seconds.

Hooklayer ships as a hosted MCP server. No local install, no stdio, no compile step. Add the URL + your Bearer token to your client config and every tool is callable from your agent runtime.

mcp.json
200 OK
{
  "mcpServers": {
    "hooklayer": {
      "url": "https://hooklayer.dev/api/mcp",
      "transport": "http",
      "headers": {
        "Authorization": "Bearer hl_live_..."
      }
    }
  }
}

Stop shipping AI slop.

100 free credits. No card. Live in your agent in under 5 minutes.