Track
List Top YouTube Shorts for a Track
Return the top YouTube Shorts videos associated with a track. View/like/comment counts may exceed int32.
get/api/track/youtube/{id}/topShorts
Request
- Base URLhttps://api.chartmetric.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Chartmetric track ID.
Query parameters
type'likes' | 'views' | 'comments' | 'trending' | 'created_at'
Sort metric for the returned Shorts. Defaults to likes; allowed values come from YouTube engagement stats.
limitinteger
Maximum number of Shorts to return. Max 100.
bySoundIdboolean
If true, treat id as a YouTube sound ID rather than a Chartmetric track ID. Defaults to false.
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.