curl -X POST "https://api.hooked.ai/v1/social/account/analyze" \ -H "x-api-key: your_api_key_here" \ -H "Content-Type: application/json" \ -d '{ "username": "fitnessguru", "platform": "tiktok" }'
{ "success": true, "message": "Account analyzed successfully", "data": { "account": { "id": "clx123abc", "username": "fitnessguru", "platform": "tiktok", "displayName": "Fitness Guru", "bio": "Helping you get fit one video at a time", "avatarUrl": "https://cdn.tiktok.com/avatar.jpg", "isVerified": true, "stats": { "followers": 1500000, "following": 250, "videos": 342, "likes": 45000000 }, "analytics": { "engagementRate": 12.5, "viralityScore": 78.3, "avgViews": 890000 }, "topHashtags": ["fitness", "workout", "gym"], "keywords": ["fitness", "exercise", "motivation"], "lastAnalyzed": "2024-01-15T10:30:00Z", "createdAt": "2024-01-15T10:30:00Z", "profileUrl": "https://www.tiktok.com/@fitnessguru" } } }
Analyze a social media account and extract insights
tiktok
youtube
Show data
Show account
Account already analyzed
{ "success": false, "message": "Account already analyzed. Use refresh endpoint to update." }
Account not found
{ "success": false, "message": "Account not found: username" }
Account analyzed successfully