/x-trends/healthPublic service health and latest configured location snapshots.
Trends API
X trending topics by WOEID, cached in MySQL and exposed through private SOUND.RADAR endpoints.
Overview
This API collects public X trend pages from trends24.in, stores snapshots in MySQL, and serves cached results by location slug or WOEID-compatible IDs.
Access
https://api.soundradar.co/x-trendsX-API-Key.Endpoints
/x-trends/healthPublic service health and latest configured location snapshots.
/x-trends/locationsSupported location slugs and WOEIDs. Requires X-API-Key.
/x-trends/trends/{location_slug}Latest cached trends by slug, e.g. worldwide, south-korea, seoul, tokyo.
/x-trends/trends/by-woeid/{woeid}Latest cached trends by numeric WOEID.
/x-trends/refreshManually fetch and cache one location from the configured public trend source.
Examples
curl -H "X-API-Key: $SOUND_RADAR_API_KEY" \
"https://api.soundradar.co/x-trends/trends/worldwide?limit=20"
curl -H "X-API-Key: $SOUND_RADAR_API_KEY" \
"https://api.soundradar.co/x-trends/trends/by-woeid/1118370?limit=20"
Operations
The service runs from /opt/soundradar-collectors/x-trends on internal port 8060. The refresh timer is active and stores public trend snapshots in the xtrend MySQL database.