Endpoint
POST https://api.ugc.inc/media/social-audio
Overview
Retrieve social audio files imported from TikTok. Returns only social audio, not user-uploaded media. Supports filtering by specific IDs or tags.
Request Body
Filter to specific social audio IDs. Returns only audio matching these IDs.
Filter social audio by tag
Response
Array of social audio objectsShow SocialAudio properties
Custom tag for categorization
Link to a TikTok post using this audio
Direct link to the TikTok audio/music page
ISO timestamp of creation
curl -X POST https://api.ugc.inc/media/social-audio \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tag": "trending"
}'
{
"ok": true,
"code": 200,
"data": [
{
"id": "audio_abc123",
"org_id": "org_xyz789",
"name": "Trending Sound - Artist",
"tag": "trending",
"social_post_link": "https://www.tiktok.com/@user/video/1234567890",
"social_audio_link": "https://www.tiktok.com/music/Trending-Sound-1234567890",
"platform_type": "tiktok",
"preview_url": "https://api.ugc.inc/media/file/audio_abc123/preview",
"audio_url": "https://api.ugc.inc/media/file/audio_abc123/audio",
"created_at": "2024-01-15T10:30:00.000Z",
"media_type": "social_audio",
"type": "social_audio"
}
]
}