Support needed? Reach out! 📧

Youtube Music Posts API

Link music IDs to their related YouTube Shorts and discover which tracks are driving short-form video trends on the platform.

python-logo Python
Youtube Music Id To Shorts
1 import requests
2  
3 root = "https://ensembledata.com/apis"
4 endpoint = "/youtube/music/id-to-shorts"
5 params = {
6   "id""4qmFsgKsARIRRkVzZnZfYXVkaW9fcGl2b3QaeENBRHlCVlVLUmhJM0NndGFZVGgwU1VsMlNWVlZkeElMV21FNGRFbEpka2xWVlhjYUMwWkhVRlJDWmtGMGQwNVJJZzRJOEtVREVnZ0lEQkNBZ2Nta0F4b0xSa2RRVkVKbVFYUjNUbEVvc096US12VDZyTG40QVdnQpoCHGJyb3dzZS1mZWVkRkVzZnZfYXVkaW9fcGl2b3Q%3D",
7   "depth"1,
8   "token""YOUR-TOKEN-HERE"
9 }
10  
11 res = requests.get(root+endpoint, params=params)
12 print(res.json())
13  

Why Developer Teams Use Our API

Track Trending Audio on Shorts

See which sounds are gaining traction across YouTube Shorts before they peak.

Usage Count Data

Get a clear count of how many Shorts currently use a given audio track.

Content Timing Insights

Plan Shorts around audio that's actively climbing instead of guessing at trends.

Linked Shorts Discovery

Find the Shorts driving a sound's popularity, not just its raw usage total.

Live Trend Snapshots

Every lookup reflects current usage data pulled directly from YouTube.

Simple Track ID Lookup

Pass a music identifier and get back clean, structured trend metadata.

Scrape Youtube Data Effortlessly

Our music posts API connects audio tracks to the YouTube Shorts they power, useful for music marketers tracking how songs perform in video content.

deco-icon

Shorts Discovery by Track

Find every YouTube Short built around a specific song without browsing.

deco-icon

Cross-Track Comparison

Compare usage counts across tracks to see which audio is winning on Shorts.

deco-icon

Sync Licensing Insight

Give music teams real Shorts usage data to support sync licensing decisions.

Youtube Scraping Features

Find out which music shows up in trending YouTube Shorts and use that data to inform your music promotion or content strategy.

  • Link a specific music ID directly to every YouTube Short built around that track.
  • See cumulative all-time usage counts to measure a song's overall traction on Shorts.
  • Query a creator's original sound the same way as a licensed commercial music track.
  • Compare usage counts across tracks to identify which audio is winning on Shorts right now.
  • Give music teams real Shorts usage data to support sync licensing and promotion timing.

Starting crawling Youtube now!

deco-icon

Get Your API Key in Minutes

Create a free account (no credit card required) and receive an API token instantly to test endpoints, pull live data, and rapidly prototype integrations. Upgrade as your needs grow.

Get started free
deco-icon

Developer Support

Need help integrating or customizing data for your workflows? Our developer success team offers onboarding, guidance, and enterprise support to get your project production-ready.

Contact us

Frequently Asked Questions

It links a specific music/audio ID to the YouTube Shorts using that track, along with usage and reach data.

You provide the music ID, and the endpoint returns the Shorts videos built around that track along with their view counts, showing you how the song is performing.

Yes, it's commonly used by music marketers to see which songs are driving short-form video trends and to time promotion around rising tracks.

Yes, usage counts and linked video data are returned, giving you a measure of a track's overall traction in Shorts.

Extract it from the audio metadata field returned by the Shorts endpoint for any video already using the track you want to analyze.

Yes, original audio created within a Short gets its own trackable ID and can be queried the same way as licensed tracks.

It reflects cumulative all-time usage across all Shorts using that music ID, not a rolling recent window.

The endpoint returns a not-found response for music IDs that are no longer valid on the platform.