Developers
API & MCP
Ask your AI assistant “find winning ads for posture correctors and tear down the best one”. ViralOwl does the research with your account and credits.
Create an API keyConnect with MCP
Endpoint (Streamable HTTP): https://viralowl.app/api/mcp. ChatGPT and Claude sign in with OAuth, so you do not need a key. Other clients send a key as Authorization: Bearer adr_….
ChatGPT (Plus, Pro, Business)
- Settings → Apps & Connectors → Advanced settings → turn on Developer mode.
- Create connector: name it ViralOwl, paste
https://viralowl.app/api/mcp, choose OAuth. - Sign in to ViralOwl and click Allow. Then pick ViralOwl from the + menu in a chat.
Claude (claude.ai)
- Settings → Connectors → Add custom connector.
- Paste
https://viralowl.app/api/mcp, then Connect, sign in to ViralOwl and click Allow.
Claude Desktop / Cursor (mcp.json)
{
"mcpServers": {
"viralowl": {
"url": "https://viralowl.app/api/mcp",
"headers": { "Authorization": "Bearer adr_YOUR_KEY" }
}
}
}Claude Code
claude mcp add --transport http viralowl https://viralowl.app/api/mcp --header "Authorization: Bearer adr_YOUR_KEY"
Tools: search_ads_and_videos, teardown_item, list_teardowns, get_teardown, list_boards, get_board, analyze_landing_page, get_watchlist, get_credits.
REST API
curl -X POST https://viralowl.app/api/v1/search \
-H "Authorization: Bearer adr_YOUR_KEY" -H "Content-Type: application/json" \
-d '{"query":"glow pajama","country":"US"}'| Method | Path | What it does |
|---|---|---|
| GET | /api/v1/me | Plan and remaining credits |
| POST | /api/v1/search | { query, country, limit? } → top results per source (default 20, max 50): Meta ads, TikTok ads, TikTok, Shorts and Reels (1 search credit unless cached) |
| GET | /api/v1/teardowns | Your and your team's teardowns (?id= for one) |
| POST | /api/v1/teardowns | { itemId } → AI teardown (1 teardown credit) |
| POST | /api/v1/landing | { url } → landing page analysis (1 teardown credit) |
| GET | /api/v1/boards | Your and team boards |
| GET | /api/v1/boards/:id | Items on a board |
| GET | /api/v1/boards/:id/export | Board as CSV |
| GET | /api/v1/watchlist | Tracked competitors and alerts |
Errors return JSON { "error": "..." } with HTTP 401 (bad key), 402 (out of credits), 429 (daily limit). Keys can be revoked any time in settings.