Use cases/Trend research

Social trend research API

Trends show up as views piling onto a topic, hashtags gaining videos, and new searches people type. Read those signals from YouTube, TikTok and Instagram on a schedule and chart them over time.

Endpoints

The endpoints trend research uses, each a GET request with your key in the x-api-key header.

EndpointRequestReturns
SearchYouTubeGET /v1/youtube/search?q=runningVideos and shorts that match a search; is_short tells them apart.
Hashtag shortsYouTubeGET /v1/youtube/hashtags/shorts?tag=funnyA hashtag's shorts, 36 a page.
HashtagTikTokGET /v1/tiktok/hashtags?tag=fypA hashtag's details: its description, video count and views.
Search suggestionsTikTokGET /v1/tiktok/search/suggestions?q=dogsThe searches TikTok suggests for what has been typed so far, usually 10.
TopicInstagramGET /v1/instagram/topics?topic=harry+potterInstagram's page for a topic or a hashtag: its summary, related searches, and the posts and reels it shows.

How it works

  1. 1Watch what's viewedSearch YouTube for a topic with sort popular and time week, in the regions you care about.
  2. 2Count hashtagsRecord a TikTok hashtag's video count and views every day; the change is the trend.
  3. 3Read what people searchTikTok's search suggestions show how people phrase a topic as they type.
  4. 4Chart itStore each day's numbers and plot them; compare topics side by side.

Try it

Save your key and the base URL, then make the first calls:

export API_KEY="your-api-key"
export API_URL="https://api.socialparse.dev"

curl -H "x-api-key: $API_KEY" "$API_URL/v1/youtube/search?q=running"

curl -H "x-api-key: $API_KEY" "$API_URL/v1/youtube/hashtags/shorts?tag=funny"

curl -H "x-api-key: $API_KEY" "$API_URL/v1/tiktok/hashtags?tag=fyp"

Why it fits

  • No YouTube quota: a search costs one credit, like any other call.
  • Region-aware YouTube search, so you can compare markets.
  • The same envelope across platforms, so one job collects every signal.

FAQ

How often should I sample?

Daily is enough for most trends; hourly for launches and live events.

Can I search TikTok videos by keyword?

Not yet: use hashtag stats and search suggestions for TikTok, and YouTube search for videos by keyword.

Does a YouTube search use quota?

No. There's no daily quota, only your credits and the per-minute rate limit.

Guides

Other use cases