TikTok Popular & Trending Music Charts
Retrieve TikTok trending audio and viral music chart leaderboard with track ID, song title, artist, album, duration, and usage counts.
curl -sG "https://api.agentapigate.ai/v1/tiktok/songs/popular" \ --data-urlencode "scene=1" \ --data-urlencode "count=15" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# TikTok Popular & Trending Music Charts (`tiktok.songs.popular`) **scene**: 1 · **count**: 15 ## songs - [1] rank: 1, music_id: 7211105586333632514, title: Beauty School Dropout - From “Grease”, author: Frankie Avalon, album: Grease - The Original Motion Picture Soundtrack - [2] rank: 2, music_id: 7698515848231372806, title: Gangster Bxtch, author: Additup, album: Gangster Bxtch - [3] rank: 3, music_id: 222454852260487168, title: All I Want For Christmas Is You, author: Mariah Carey, album: Merry Christmas - [4] rank: 4, music_id: 7609830978302887953, title: Bounce it, author: Biggs money, album: Bounce it - [5] rank: 5, music_id: 7690864823584065542, title: Acting Like You Kanye, author: Raud, album: Acting Like You Kanye - [6] rank: 6, music_id: 7499039068946679809, title: Dior (feat. Chrystal), author: MK, album: Dior (feat. Chrystal) - [7] rank: 7, music_id: 7066194878719363074, title: Time (2011 Remastered Version), author: Pink Floyd, album: The Dark Side Of The Moon (2011 Remastered Version) - [8] rank: 8, music_id: 6921336004851566593, title: Don't You Worry 'Bout A Thing, author: Tori Kelly, album: Don't You Worry 'Bout A Thing - From "Sing" Original Motion Picture Soundtrack - [9] rank: 9, music_id: 7646573656474961936, title: Can I Ride, author: SIDEPIECE & 95 South, album: Can I Ride - [10] rank: 10, music_id: 7704835141992515585, title: Top Uh It, author: Lil Baby, album: FRESH - [11] rank: 11, music_id: 7604378777355929616, title: wonder wander, author: Bella Kay, album: a couple minutes out - [12] rank: 12, music_id: 6749591031634724865, title: The One That Got Away - Acoustic, author: Katy Perry, album: Teenage Dream: The Complete Confection - [13] rank: 13, music_id: 7585687637122631696, title: DIP ON EM, author: SouthMemphisHypeman, album: SHAWT THE WORLD DOWN - [14] rank: 14, music_id: 6548796201171424271, title: Rules, author: Killumantii, duration_sec: 15 - [15] rank: 15, music_id: 7646503537715611649, title: the feeling, author: Steve Lacy, album: the feeling
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:tiktok.songs.popular · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| scene | number | optional | 1 | TikTok music chart scene code (default 1 Hot) |
| count | number | optional | 15 | Max tracks (1-30) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0030 / call | $0/mo · Balance never expires |
| Remote MCP Tool | tiktok_songs_popular | OAuth 2.1 Hub & /mcp/social |
| x402 Base USDC | $0.0030 / call | Zero-signup USDC enabled |
| P50 Latency | 742 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 9149t → 543t (-94%) | Partner credit: paid_usd / x402 |
More Social & Video Real-Time APIs
Fetch TikTok account profile bio, verification badge, follower count, heart count, and video count.
List recent short videos posted by a TikTok creator with view, like, comment, and share counts.
Fetch full metadata, audio track, author details, and engagement metrics for a TikTok video URL or ID.
Fetch top comments on a TikTok video URL or ID with author handles and like counts.
Search TikTok short videos by keyword with view, like, and creator statistics.
Fetch currently trending viral TikTok videos in a target country code.
Frequently Asked Questions
How do I call TikTok Popular & Trending Music Charts (tiktok.songs.popular) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/tiktok/songs/popular with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool tiktok_songs_popular on https://mcp.agentapigate.ai/mcp.
What does tiktok.songs.popular cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.003 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on tiktok.songs.popular?
Passing ?format=md transforms the response into normalized Markdown (~543 tokens vs ~9149 raw tokens, saving 94% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only social endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["social"], optional allowed_endpoints: ["tiktok.songs.popular"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.