Skip to main content

Get TikTok Trending Sound

Overview

The Get TikTok Trending Sound endpoint allows you to fetch trending songs and sounds from TikTok. You can retrieve trending music based on country, genre, and date range, which can then be used when scheduling image or video posts to TikTok.

Base URL:

https://www.oneupapp.io

Endpoint

GET /api/gettiktoktrendingsound

Request Parameters

ParameterRequiredDescription
apiKeyYesYour personal API key generated from the API Access page.
country_codeYesCountry code for trending songs. See Available Country Codes below.
date_rangeYesDate range for results. See Available Date Ranges below.
genreYesMusic genre filter. See Available Genres below.
social_account_idYesYour TikTok social account ID to authenticate the request.

Available Country Codes

CodeCountryCodeCountryCodeCountry
USUnited StatesADAndorraAEUnited Arab Emirates
AFAfghanistanAGAntigua and BarbudaAIAnguilla
ALAlbaniaAMArmeniaAOAngola
AQAntarcticaARArgentinaASAmerican Samoa
ATAustriaAUAustraliaAWAruba
AXAlandAZAzerbaijanBABosnia & Herzegovina
BBBarbadosBDBangladeshBEBelgium
BFBurkina FasoBGBulgariaBHBahrain
BIBurundiBJBeninBLSaint Barthélemy
BMBermudaBNBruneiBOBolivia
BQCaribbean NetherlandsBRBrazilBSCommonwealth of the Bahamas
BTBhutanBVBouvet IslandBWBotswana
BYBelarusBZBelizeCACanada
CCCocos (Keeling) IslandsCDDemocratic Republic of the CongoCFCentral African Republic
CGRepublic of the CongoCHSwitzerlandCICote D'Ivoire
CKCook IslandsCLChileCMCameroon
CNthe Chinese mainlandCOColombiaCRCosta Rica
CUCubaCVCape VerdeCXChristmas Island
CYCyprusCZCzech RepublicDEGermany
DJDjiboutiDKDenmarkDMDominica
DODominican RepublicDZAlgeriaECEcuador
EEEstoniaEGEgyptEHWestern Sahara
EREritreaESSpainETEthiopia
FIFinlandFJFijiFKFalkland Islands
FMMicronesiaFOFaroe IslandsFRFrance
GAGabonGBUnited KingdomGDGrenada
GEGeorgiaGFFrench GuianaGGGuernsey
GHGhanaGIGibraltarGLGreenland
GMGambiaGNGuineaGPGuadeloupe
GQEquatorial GuineaGRGreeceGSSouth Georgia and the South Sandwich Islands
GTGuatemalaGUGuamGWGuinea-Bissau
GYGuyanaHKHong Kong, ChinaHMHeard Island and McDonald Islands
HNHondurasHRCroatiaHTHaiti
HUHungaryIDIndonesiaIEIreland
ILIsraelIMIsle of ManINIndia
IOBritish Indian Ocean TerritoryIQIraqIRIran
ISIcelandITItalyJEJersey
JMJamaicaJOJordanJPJapan
KEKenyaKGKyrgyzstanKHCambodia
KIKiribatiKMComorosKNSaint Christopher and Nevis
KPNorth KoreaKRSouth KoreaKWKuwait
KYCayman IslandsKZKazakhstanLALaos
LBLebanonLCSaint LuciaLILiechtenstein
LKSri LankaLRLiberiaLSLesotho
LTLithuaniaLULuxembourgLVLatvia
LYLibyaMAMoroccoMCMonaco
MDMoldovaMEMontenegroMGMadagascar
MHMarshall IslandsMKMacedoniaMLMali
MMMyanmarMNMongoliaMOMacao, China
MPNorthern Mariana IslandsMQMartiniqueMRMauritania
MSMontserratMTMaltaMUMauritius
MVMaldivesMWMalawiMXMexico
MYMalaysiaMZMozambiqueNANamibia
NCNew CaledoniaNENigerNFNorfolk Island
NGNigeriaNINicaraguaNLNetherlands
NONorwayNPNepalNRNauru
NUNiueNZNew ZealandOMOman
PAPanamaPEPeruPFFrench Polynesia
PGPapua New GuineaPHPhilippinesPKPakistan
PLPolandPMSaint Pierre and MiquelonPNPitcairn Islands
PRPuerto RicoPSPalestinePTPortugal
PWPalauPYParaguayQAQatar
RERéunionRORomaniaRSSerbia
RURussiaRWRwandaSASaudi Arabia
SBSolomon IslandsSCSeychellesSDSudan
SESwedenSGSingaporeSHSaint Helena
SISloveniaSJSvalbard and Jan MayenSKSlovakia
SLSierra LeoneSMSan MarinoSNSenegal
SOSomaliSRSurinameSSSouth Sudan
STSao Tomé and PríncipeSVEl SalvadorSYSyria
SZSwazilandTCTurks and Caicos IslandsTDChad
TFFrench Southern and Antarctic LandsTGTogoTHThailand
TJTajikistanTKTokelauTLTimor-Leste
TMTurkmenistanTNTunisiaTOTonga
TRTurkeyTTTrinidad and TobagoTVTuvalu
TWTaiwan, ChinaTZTanzaniaUAUkraine
UGUgandaUMUnited States Minor Outlying IslandsUYUruguay
UZUzbekistanVAVatican CityVCSaint Vincent and The Grenadines
VEVenezuelaVGBritish Virgin IslandsVIVirgin Islands of the United States
VNVietnamVUVanuatuWFWallis and Futuna
WSSamoaYEYemenYTMayotte
ZASouth AfricaZMZambiaZWZimbabwe

Available Date Ranges

ValueDescription
1DAYLast 1 Day
7DAYLast 7 Days
30DAYLast 30 Days
90DAYLast 90 Days

Available Genres

ValueGenreValueGenreValueGenre
ALLAllROCKRockPOPPop
LATINLatinMETALMetalELECTRONICElectronic
HIP_HOP_RAPHip Hop/RapALTERNATIVE_INDIEAlternative/IndieFOLKFolk
R_B_SOULR&B/SoulCOUNTRYCountryCLASSICALClassical
JAZZJazzREGGAEReggaeCHILDHOODChildhood
BLUESBluesEASY_LISTENINGEasy ListeningNEW_AGENew Age
WORLD_MUSICWorld MusicEXPERIMENTALExperimentalDEVOTIONALDevotional
CHINESE_TRADITIONChinese Tradition8_BIT8 BitA_CAPPELLAA capella
AFRO_POPAfro-PopALTERNATIVE_HIP_HOPAlternative Hip HopALTERNATIVE_ROCKAlternative Rock
AMBIENTAmbientARABIC_POPArabic PopBASS_HOUSEBass House
BGMBGMBOOMBAPBoombapBOSSA_NOVABossa Nova
BRAZILIAN_FUNK_STYLEBrazilian Funk StyleBUDDHIST_MUSICBuddhist MusicCANTOPOPCantopop
CELTIC_POPCeltic PopCHAMBER_MUSICChamber MusicCHILL_BEATSChill Beats
CHILLOUTChilloutCHINESE_FOLKChinese FolkCHINESE_OPERAChinese Opera
CHINESE_POPChinese PopCHINESE_STYLEChinese StyleCHINOISERIE_ELECTRONICChinoiserie Electronic
CHINOISERIE_RAPChinoiserie RapCHRISTIAN_MUSICChristian MusicCONTEMPORARY_R_BContemporary R&B
COUNTRY_POPCountry PopDANCE_POPDance PopDISCODisco
DJDJDRUM_BASSDrum&BassDUBSTEPDubstep
EDMEDMEDM_TRAPEDM TrapELECTRO_POPElectro Pop
EPICEpicFOLK_POPFolk PopFUNKFunk
FUTURE_BASSFuture BassGOSPELGospelGUFENG_MUSICGufeng Music
HARD_ROCKHard RockHIP_HOUSEHip HouseHOLIDAY_MUSICHoliday Music
HOUSEHouseINDIAN_POPIndian PopINDIE_FOLKIndie Folk
INDIE_POPIndie PopINDIE_ROCKIndie RockINSTRUMENTAL_HIP_HOPInstrumental Hip Hop
INSTRUMENTAL_ROCKInstrumental RockIRISH_FOLKIrish FolkJ_ROCKJ-Rock
JAPANESE_TRADITIONAL_MUSICJapanese Traditional MusicJAZZ_FUSIONJazz FusionJAZZ_HIP_HOPJazz Hip Hop
JAZZ_POPJazz PopJ_POPJ-PopK_POPK-Pop
LATIN_POPLatin PopLO_FILo-fiMCMC
NOISENoiseOLD_SCHOOLOld SchoolOTHERSOthers
POP_RAPPop RapPOP_ROCKPop RockPOP_SOULPop Soul
PSYCHEDELIC_ROCKPsychedelic RockPUNKPunkR_B_RAPR&B/Rap
REGGAETONReggaetonRUSSIAN_POPRussian PopSERTANEJOSertanejo
SON_CUBANOSon CubanoSOULSoulSOUNDTRACKSoundtrack
SYMPHONYSymphonySYNTH_POPSynth PopTANGOTango
TECHNOTechnoTEEN_POPTeen PopTRADITIONAL_CHINESE_FOLKTraditional Chinese Folk
TRANCETranceTRAP_RAPTrap RapTRIP_HOPTrip Hop
TROPICAL_HOUSETropical HouseTURKISH_POPTurkish Pop

Sample Request

curl --location --request GET \
"https://www.oneupapp.io/api/gettiktoktrendingsound?apiKey=621544d93ffe2db52b01&country_code=US&date_range=7DAY&genre=POP&social_account_id=tiktok_account_id"

Example with different date range:

curl --location --request GET \
"https://www.oneupapp.io/api/gettiktoktrendingsound?apiKey=621544d93ffe2db52b01&country_code=GB&date_range=30DAY&genre=HIP_HOP_RAP&social_account_id=tiktok_account_id"

Example with all genres:

curl --location --request GET \
"https://www.oneupapp.io/api/gettiktoktrendingsound?apiKey=621544d93ffe2db52b01&country_code=CA&date_range=90DAY&genre=ALL&social_account_id=tiktok_account_id"

Sample Response

{
"message": "OK",
"error": false,
"data": [
{
"artist": "Ted D'souza & Dani Audiomix",
"commercial_music_name": "Luxury, Elegance, Refined",
"duration": 183,
"full_duration_song_clip": {
"duration": 183,
"preview_url": "https://sf16-ies-music-sg.tiktokcdn.com/obj/tos-alisg-ve-2774/o0LVVFtSYFy1DxLgI2YIpzhCgMgeYeepa9sAQG",
"song_clip_id": "7579631264467240961"
},
"genres": ["JAZZ"],
"preview_url": "https://sf16-ies-music-sg.tiktokcdn.com/obj/tos-alisg-ve-2774/o0LVVFtSYFy1DxLgI2YIpzhCgMgeYeepa9sAQG",
"rank_position": "1",
"thumbnail_url": "https://p16-sg.tiktokcdn.com/aweme/100x100/tos-alisg-v-2774/oYCpRGKRACAlAZGogEFOMQQDkfpIfqEEBtBAwE.jpeg",
"trending_history": [
{"date": "2026-05-16", "rank_position_daily": "1"},
{"date": "2026-05-15", "rank_position_daily": "1"},
{"date": "2026-05-14", "rank_position_daily": "1"}
],
"trending_song_clip": {
"duration": 183,
"preview_url": "https://sf16-ies-music-sg.tiktokcdn.com/obj/tos-alisg-ve-2102/o0IFMgheIhbIXbGzRQYSyQLQ9nKGfsADEfpGwC",
"song_clip_id": "7579631264467240961"
}
}
]
}

Result: The response contains an array of trending TikTok sounds with all the information needed to add music to your posts.

Once you retrieve trending sounds, map the response fields to the TikTok post parameters:

API Response FieldTikTok Post Parameter
commercial_music_namemusic_title
artistmusic_author
trending_song_clip.song_clip_idmusic_sound_id
trending_song_clip.preview_urlmusic_url
thumbnail_urlmusic_thumbnail

For Image Posts:

curl --location --request POST \
"https://www.oneupapp.io/api/scheduleimagepost" \
--data-urlencode "apiKey=621544d93ffe2db52b01" \
--data-urlencode "category_id=49839" \
--data-urlencode 'social_network_id=["tiktok_account_id"]' \
--data-urlencode "scheduled_date_time=2026-05-20 14:30" \
--data-urlencode "content=Check out this trending sound!" \
--data-urlencode "image_url=https://example.com/image.jpg" \
--data-urlencode 'tiktok={"music_title":"Luxury, Elegance, Refined","music_sound_id":"7579631264467240961","music_url":"https://sf16-ies-music-sg.tiktokcdn.com/obj/tos-alisg-ve-2102/o0IFMgheIhbIXbGzRQYSyQLQ9nKGfsADEfpGwC","music_thumbnail":"https://p16-sg.tiktokcdn.com/aweme/100x100/tos-alisg-v-2774/oYCpRGKRACAlAZGogEFOMQQDkfpIfqEEBtBAwE.jpeg","music_author":"Ted D'\''souza & Dani Audiomix"}'

For Video Posts: See the Create Video Post documentation for the full example.

Tips & Notes

  • Make sure your TikTok social account is active and not expired before fetching trending sounds.
  • The social_account_id must exactly match the TikTok account ID retrieved from the List Social Accounts endpoint.
  • Different country_code values return different trending songs based on regional popularity.
  • Use shorter date_range values (e.g., 7DAY) for the most current trending songs.
  • When using trending sounds in posts, map the API response fields correctly: use trending_song_clip data for the music parameters, not full_duration_song_clip.
  • The trending_history array shows the song's daily rank position over time, useful for identifying rising or falling trends.

Next Step: Combine this with the Create Image Post or Create Video Post endpoints to schedule TikTok posts with trending music.