AgentAPIGate
Back to Catalog
GET /v1/tiktok/songs/popularPack: social·MCP Tool: tiktok_songs_popular

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.

API Key Price:$0.0030 / call
x402 Base USDC:$0.0030 / call
Partner Credit:paid_usd / x402 only
1. Parameters & Controls
TikTok music chart scene code (default 1 Hot)
Max tracks (1-30)
Get $0.25 Free Key →
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"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-94% tokens
# 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
ParameterTypeReqSample / DefaultDescription
scenenumberoptional1TikTok music chart scene code (default 1 Hot)
countnumberoptional15Max tracks (1-30)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0030 / call$0/mo · Balance never expires
Remote MCP Tooltiktok_songs_popularOAuth 2.1 Hub & /mcp/social
x402 Base USDC$0.0030 / callZero-signup USDC enabled
P50 Latency742 ms$0 billed on empty or 4xx/5xx
Token Economy9149t → 543t (-94%)Partner credit: paid_usd / x402

More Social & Video Real-Time APIs

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.