Accounts

Search music for an account

Tracks the account may put on a post, from its network's library. TikTok: its Commercial Music Library's trending list (up to 100), filtered by genre, country and period; there is no search. The same filters answer the same list for 30 minutes, and searches beyond Rizamo's limits on TikTok answer 429 with when to try again. Instagram (accounts connected through Facebook Login): a search with q, or what is trending without it, up to 25, music or original sounds. Facebook adds no music through its API. A filter of the other network is refused. Attach a track's id in the target's music option.

get/accounts/{id}/music

Request

  • Base URL
    https://api.rizamo.com/v1
  • Auth
    HTTP bearer

Path parameters

idstring required

The account (acc_) the post goes to: a TikTok account, or an Instagram account connected through Facebook Login.

Query parameters

qstring

Instagram: words to search for. Left out, Instagram's trending tracks. TikTok has no search.

type'music' | 'original'

Instagram: music (the default) or original sounds from other reels.

genre'ALL' | 'ROCK' | 'POP' | 'LATIN' | 'METAL' | 'ELECTRONIC' | 'HIP_HOP/RAP' | 'ALTERNATIVE/INDIE' | 'FOLK' | 'R&B/SOUL' | 'COUNTRY' | 'CLASSICAL' | 'JAZZ' | 'REGGAE' | 'CHILDHOOD' | 'BLUES' | 'EASY_LISTENING' | 'NEW_AGE' | 'WORLD_MUSIC' | 'EXPERIMENTAL' | 'DEVOTIONAL' | 'CHINESE_TRADITION' | '8_BIT' | 'A_CAPPELLA' | 'AFRO-POP' | 'ALTERNATIVE_HIP_HOP' | 'ALTERNATIVE_ROCK' | 'AMBIENT' | 'ARABIC_POP' | 'BASS_HOUSE' | 'BGM' | 'BOOMBAP' | 'BOSSA_NOVA' | 'BRAZILIAN_FUNK_STYLE' | 'BUDDHIST_MUSIC' | 'CANTOPOP' | 'CELTIC_POP' | 'CHAMBER_MUSIC' | 'CHILL_BEATS' | 'CHILLOUT' | 'CHINESE_FOLK' | 'CHINESE_OPERA' | 'CHINESE_POP' | 'CHINESE_STYLE' | 'CHINOISERIE_ELECTRONIC' | 'CHINOISERIE_RAP' | 'CHRISTIAN_MUSIC' | 'CONTEMPORARY_R&B' | 'COUNTRY_POP' | 'DANCE_POP' | 'DISCO' | 'DJ' | 'DRUM&BASS' | 'DUBSTEP' | 'EDM' | 'EDM_TRAP' | 'ELECTRO_POP' | 'EPIC' | 'FOLK_POP' | 'FUNK' | 'FUTURE_BASS' | 'GOSPEL' | 'GUFENG_MUSIC' | 'HARD_ROCK' | 'HIP_HOUSE' | 'HOLIDAY_MUSIC' | 'HOUSE' | 'INDIAN_POP' | 'INDIE_FOLK' | 'INDIE_POP' | 'INDIE_ROCK' | 'INSTRUMENTAL_HIP_HOP' | 'INSTRUMENTAL_ROCK' | 'IRISH_FOLK' | 'J_ROCK' | 'JAPANESE_TRADITIONAL_MUSIC' | 'JAZZ_FUSION' | 'JAZZ_HIP_HOP' | 'JAZZ_POP' | 'J-POP' | 'K-POP' | 'LATIN_POP' | 'LO-FI' | 'MC' | 'NOISE' | 'OLD_SCHOOL' | 'OTHERS' | 'POP_RAP' | 'POP_ROCK' | 'POP_SOUL' | 'PSYCHEDELIC_ROCK' | 'PUNK' | 'R&B_RAP' | 'REGGAETON' | 'RUSSIAN_POP' | 'SERTANEJO' | 'SON_CUBANO' | 'SOUL' | 'SOUNDTRACK' | 'SYMPHONY' | 'SYNTH_POP' | 'TANGO' | 'TECHNO' | 'TEEN_POP' | 'TRADITIONAL_CHINESE_FOLK' | 'TRANCE' | 'TRAP_RAP' | 'TRIP_HOP' | 'TROPICAL_HOUSE' | 'TURKISH_POP'

TikTok: one of TikTok's genres. Default ALL.

countrystring

TikTok: where the tracks are trending, as a two-letter code such as PT. Default US (TikTok's).

period'1d' | '7d' | '30d' | '90d'

TikTok: trending over the last day, week (the default), 30 or 90 days.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.