Music Intelligence API

Songbrain API

The AI music intelligence platform for developers, AI video tools, playlist curators, distributors and music tech companies. One API call — complete song analysis in under 60 seconds.

What you get

🔥
Virality Score (0–100)
Predict how shareable a track is across TikTok, Reels, Shorts and Spotify. Verified by 10+ AI models.
⏱️
Best Moments + Timestamps
Get the exact 3–15 second hooks with confidence scores. Perfect for auto-generating short-form video clips.
🧬
Full Song DNA
Tempo, key, energy, mood, loudness, danceability, acousticness — every audio feature in one call.
🔗
Reel Reverse-Engineering
POST a TikTok or Reel URL → we analyze visuals, engagement (8h snapshots × 14 days), and comments, cross-reference with the song analysis, return concrete recos (clip timing, caption, hashtags, visual energy match).
📈
Live Trend Database
Query viral clips by subgenre with sec-precise viral timestamps, sound-IDs, ISRC, lyric snippets, hashtags and engagement metrics. Refreshed weekly across 37 subgenres.
🎤
Lyrics Transcription + Scoring
Full lyrics extraction with emotional impact scoring, structure analysis and originality rating.
🎹
Instrument & Genre Detection
Multi-model instrument recognition + genre/subgenre classification mapped to Spotify categories.
📊
Production Quality Insights
Benchmark any track against current chart production standards. LUFS, dynamic range, frequency balance.

Built for every music-powered product

From AI video generators to label A&R — one API covers it all.

🎬AI Video & Content Generation

AI video generators
Auto-select the best music moments for AI-generated video content
TikTok / Reels automation
Find viral hooks and auto-cut clips at the exact right timestamps
YouTube Shorts tools
Match music energy to video pacing with Song DNA data
Viral Reel reverse-engineering tools
Submit creator Reel URLs → return cross-referenced clip-timing, caption, visual and hashtag recommendations
AI slideshow & montage tools
Sync transitions to beat drops and energy peaks
Podcast highlight extractors
Detect emotional peaks and key moments in audio content

📈Trend Intelligence & Discovery

Trend dashboards
Query the live viral-clip database per subgenre — sec-precise hooks, sound-IDs, lyric snippets, hashtags
A&R early-warning tools
Stream the trend-velocity feed to detect subgenre waves before they peak
Creator-economy platforms
Match creators to songs by analyzing which clips trend in their niche right now
Sound-design / sample tools
Reverse-engineer the audio fingerprints of currently viral tracks per subgenre

🎵Music Platforms & Distribution

Music distributors & labels
Pre-screen tracks for viral potential before release
Playlist curation platforms
Auto-match tracks to playlists by genre, mood and virality
Streaming analytics tools
Enrich artist dashboards with deep song-level insights
A&R and talent scouting
Find breakout tracks early based on virality signals

📱Creator & Marketing Tools

Social media schedulers
Auto-suggest best music clips for scheduled content
Influencer marketing platforms
Match songs to creator audiences by mood and trend data
Ad creative tools
Select music moments that maximize engagement in ads
Artist marketing dashboards
Show artists which parts of their songs perform best

🤖AI Music & Audio Tech

AI music generators
Validate generated tracks for quality, virality and genre accuracy
AI mastering services
Feed Song DNA into mastering pipelines for genre-aware processing
Music recommendation engines
Use Song DNA vectors for similarity search and discovery
Audio fingerprinting services
Combine with Song DNA for richer track identification
Music education platforms
Break down any song into learnable components automatically

Simple integration

// 1. Upload a track and get full analysis
POST https://api.songbrain.ai/api/v1/upload
// Response includes:
{
"virality_score": 92,
"best_moments": [{ "start": 47.2, "end": 58.1, "confidence": 0.94 }],
"song_dna": { "tempo": 128, "key": "F#m", "energy": 0.82, ... },
"lyrics": { "text": "...", "emotional_score": 0.87 },
"genre": { "primary": "Electronic", "subgenre": "Future Bass" }
}
// 2. Reverse-engineer a Reel for that track
POST https://api.songbrain.ai/api/v1/jobs/{job_id}/track-video
{ "url": "https://tiktok.com/@you/video/7421..." }
// Returns reverse recos cross-referenced with the song:
{
"clip_recommendation": { "use_sec": 106.4, "reason": "stronger recurring chorus" },
"caption_recommendation": { "use_line": "don't be afraid of the dark" },
"visual_match": { "song_energy": 0.9, "visual_energy": 0.4, "fix": "faster cuts" },
"hashtag_recommendations": ["deathcore", "motivational"],
"snapshots": [{ "t": "+8h", "views": 12400, "likes_ratio": 0.031 }, ...]
}
// 3. Query the live trend database
GET https://api.songbrain.ai/api/v1/trends/similar?genre=deathcore&position=106.4
// Returns viral clips in that subgenre near that timestamp

Technical Specs

Format
JSON
Response time
< 60 seconds
Input
MP3, WAV, FLAC
Protocol
REST API
Callbacks
Webhooks
Auth
API Key
Status: Early Access

Get API access now

We are onboarding selected developers and companies.

Why Songbrain API?

Songbrain is a music analysis API that replaces 5 separate integrations — no more stitching together Essentia, a transcription service, a genre classifier and a separate mood detector. One API call returns virality prediction, best moment timestamps, full Song DNA, lyrics with scoring, genre/subgenre classification, instrument detection and production quality metrics — all in under 60 seconds.

Unlike basic audio feature APIs, Songbrain runs 10+ specialized AI models on every track. The result is a comprehensive analysis that goes far beyond tempo and key — you get actionable insights about what makes a song shareable, which moments trigger engagement, and how a track compares to current chart standards.

And it doesn't stop at the song. Two endpoints downstream go further than any other music API: Reel Reverse-Engineeringtakes a TikTok/Reel URL and returns concrete cross-referenced recommendations (clip timing, caption, visuals, hashtags) — not generic analytics, but recos that know what's in the song. And the Live Trend Databaseexposes the weekly viral-clip index per subgenre, with sec-precise hooks, sound-IDs and engagement metrics — the data layer competitors don't have.

Songbrain vs. alternatives

AcousticBrainz was discontinued in 2022. Spotify Audio Features API was deprecated in November 2024. ACRCloud focuses on audio fingerprinting and recognition, not song analysis. Essentia is an open-source library that requires self-hosting, ML expertise and significant infrastructure.

Songbrain is the only music analysis API that combines virality prediction, timestamp-level moment detection and full song analysis in a single hosted API call. No other service offers this combination — making it the best music analysis API for developers building AI video generators, TikTok automation tools, playlist curators, recommendation engines and music tech products.