Social Media Scraper

Solutions

Content Trend Discovery API: From Rising Signal to Driving Posts

Turn fragmented platform feeds into a repeatable content trend discovery pipeline. Social Media Scraper combines short-form trending feeds, search autocomplete suggestions, audio reuse lookups, hashtag searches, Reddit communities, and GitHub trending repositories behind one REST and MCP interface at $0.003 per request.

  • Sweep trending feeds across TikTok, Instagram Reels, and YouTube Shorts in normalized JSON
  • Catch emerging phrasing early with tiktok.search_suggestions and youtube.search_typeahead
  • Pivot straight from a rising sound ID or hashtag to the actual videos, captions, and Reddit threads driving it
  • Flat $0.003 per request (3 credits; $3.00 per 1,000) — point-in-time snapshots you diff on your own schedule
Illustration of an editorial diagram showing public conversation bubbles gathered with a magnifying glass and neutral topic markers
instagram.reels_trending

Search-interest charts tell you a phrase climbed last week, but editorial teams and creator studios need the actual videos, audio clips, hashtags, and community debates propelling it today. Social Media Scraper exposes each public signal layer as a point-in-time snapshot—giving your pipeline the raw records needed to detect first-seen movers and trace every brief back to live source links, without pretending a snapshot is a performance forecast.

Five Public Signal Layers for Trend Discovery

Relying on a single trending tab catches topics only after peak saturation. Pairing broad short-form feeds with search autocomplete, sound clusters, and niche communities surfaces early movement across multiple formats—all at $0.003 per request (3 credits).

Discovery layerVerified endpointsKey query parametersWhat the response surfaces
Short-form trending feedstiktok.get_trending_feed, instagram.reels_trending, youtube.shorts_trendingregion* on TikTok (US, etc.); no required params on Reels/Shorts trendingCurrent public trending items (id, url, text, author, available metrics)
Search suggestions & typeaheadtiktok.search_suggestions, youtube.search_typeaheadquery*, optional region on TikTok suggestionsAutocomplete expansions revealing exact phrases audiences type right now
Audio & sound reusetiktok.song_videos, instagram.audio_reelsclipId (TikTok) or audio_id* (Instagram) as string + cursorPublic videos adopting the same sound track or remix template
Hashtag & Reddit drill-downtiktok.search_hashtag, instagram.search_hashtag, youtube.search_hashtag, reddit.subreddithashtag*, date_posted, media_type, type, or subreddit* + sort (rising, hot, top) + timeframeConcrete videos, captions, and subreddit debates explaining why a tag is moving
Developer & web breakoutgithub.trending_repositories, google.searchlanguage, since (daily, weekly, monthly), spoken_language_code; query*, region, date_postedFast-rising open-source repos and fresh web coverage for tech and B2B beats

Three-Stage Trend Detection and Snapshot-Diffing Pipeline

Because every API response captures public state at fetch time, real trend detection comes from comparing consecutive snapshots on a consistent schedule.

  1. Stage 1: Run a broad sweep across trending feeds and typeahead

    Schedule a daily or twice-daily sweep covering your target regional TikTok trending feed, Instagram Reels trending, YouTube Shorts trending, and seed-topic expansions in tiktok.search_suggestions and youtube.search_typeahead. Include x-api-key and a fresh Idempotency-Key on every call:

    tiktok-trending-sweep.sh
    curl --get 'https://socialmediascraper.org/v1/tiktok/get_trending_feed' \
      --data-urlencode 'region=US' \
      -H "x-api-key: $SOCIALSCRAPER_API_KEY" \
      -H 'Idempotency-Key: trend-tt-us-20261202-0800'

    Pair that feed call with GET /v1/tiktok/search_suggestions?query=skincare&region=US and GET /v1/youtube/search_typeahead?query=skincare to capture newly appearing long-tail search modifiers before they hit mainstream headlines.

  2. Stage 2: Store timestamped snapshots and compute deltas

    Append every sweep into an immutable trend_snapshots table with fetched_at, platform, string item_id, position, extracted hashtags or sound identifiers, and nullable metrics.{views,likes,comments,shares}. Run a SQL diff against the prior 24-hour and 72-hour windows to flag three concrete signals: first-seen autocomplete phrases or audio IDs, repeat appearances across consecutive sweeps, and metric deltas on surviving posts (excluding null values rather than coercing them to 0).

  3. Stage 3: Drill into moving topics with hashtag, audio, and community lookups

    Once a phrase, hashtag, or audio track crosses your threshold, trigger targeted drill-down calls: tiktok.song_videos (clipId) or instagram.audio_reels (audio_id) for sound-led formats; tiktok.search_hashtag, instagram.search_hashtag, or youtube.search_hashtag for visual hooks; and reddit.subreddit (sort=rising or sort=top) plus google.search to verify whether broader audience discussion backs up the spike. Emit a compact editorial brief with clickable source URLs for human review.

What Editorial and Creator Teams Ship From Daily Sweeps

Daily source-linked pitch sheets

Deliver a morning digest of newly appearing autocomplete phrases, rising subreddit threads, and top trending Reels or Shorts—each paired with five clickable source examples so writers verify context in minutes.

Audio-led short-form format trackers

Track recurring clipId and audio_id clusters via tiktok.song_videos and instagram.audio_reels to spot editing templates and hook structures gaining traction across multiple unrelated creators.

Developer and tech beat monitors

Combine github.trending_repositories (since=daily), niche reddit.subreddit (sort=rising), youtube.search_typeahead, and google.search to flag open-source breakouts and tool migrations early.

Point-in-Time Snapshots vs Predictive Forecasts

Treat every response as an observation, never a guarantee

A trending feed or rising hashtag proves what attracted public attention at fetch time—it never guarantees that a follow-up video or article published tomorrow will perform well. Frame alerts as candidate leads for editorial review.

Account for regional vs global endpoint behavior

tiktok.get_trending_feed, tiktok.search_suggestions, tiktok.search_hashtag, and google.search accept explicit region filters, whereas instagram.reels_trending and youtube.shorts_trending take no country parameter. Tag every stored row with its geographic scope so local and global signals never mix.

Require multi-run persistence to cut one-day noise

Single-sweep spikes often come from brief algorithm tests or giveaway posts. Weight topics higher when the same phrase or sound appears across two consecutive sweeps or crosses from TikTok into YouTube typeahead and Reddit.

Guard automated brief generators against injected text

When an LLM summarizes trending captions, comments, or GitHub READMEs into daily briefs, isolate every fetched string as untrusted data outside system prompts and preserve original URLs for human sign-off.

Daily Sweep Budget for Editorial and Creator Teams

Every discovery operation listed above shares the standard $0.003 per request rate (3 credits; $3.00 per 1,000 requests), funded by one-time $5 (5,000 credits, ~1,666 requests), $20 (20,000 credits, ~6,666 requests), or $50 (50,000 credits, ~16,666 requests) prepaid USD packs with no recurring subscription.

Daily trend sweep componentCalls / day30-day USD cost
Trending feeds: 3 regions of tiktok.get_trending_feed + instagram.reels_trending + youtube.shorts_trending5$0.45
Autocomplete watch: 10 seed terms on tiktok.search_suggestions + 10 on youtube.search_typeahead20$1.80
Community & tech heat: 5 reddit.subreddit (sort=rising) + 2 github.trending_repositories7$0.63
Automated drill-down on daily movers: 10 hashtag/audio calls + 8 google.search lookups18$1.62
Total daily discovery loop (50/day · 1,500/month)50 / day$4.50 / mo

A full cross-platform newsroom sweep running every day for 30 days totals $4.50/month—inside a single $5 balance pack (5,000 credits, ~1,666 standard requests) with ~166 requests ($0.50) left for ad-hoc deep dives or MCP queries. Check current rates (2026-12-02.credits-3) in Pricing or /pricing-data.json.

Who Runs Automated Content Trend Discovery

Short-form creator studios

Production teams monitoring audio clusters, Reels trends, and TikTok search suggestions across two or three regional markets to brief editors every morning.

Content-intelligence SaaS builders

Product teams powering trend calendars, hook libraries, and topic-ideation dashboards that need clean multi-platform JSON without building custom scrapers per network.

Editorial desks and developer advocates

Small media and DevRel teams pairing GitHub trending repos, Reddit rising threads, YouTube typeahead, and Google search snapshots to choose timely tutorials and video topics.

Operational Limits, Rate Controls, and Data Scope

Social Media Scraper is a read-only public data API. It does not bundle cron schedulers, Slack/webhook spike alerting, automated content drafting, or social media publishing—your application, n8n workflow, or agent orchestrates schedules and alerts.

  • Rate limits and retries: Accounts default to 60 accepted requests/minute and 5 concurrent in-flight requests (GET /v1/limits). Respect Retry-After on HTTP 429 using the identical Idempotency-Key, and poll GET /v1/requests/{request_id} on HTTP 202.
  • No raw video downloads: Responses provide normalized JSON metadata, captions, source URLs, and thumbnails where present—never downloadable MP4 files.
  • Snapshot timing: Result ordering reflects public upstream feeds at request time; historical trend archives are built by storing your own snapshots.
  • Telemetry and rights: Check Service Status and API Docs before launching recurring sweeps, and follow source terms, copyright, and privacy requirements.

Content Trend Discovery API Questions

What is a content trend discovery API?

It is a programmable HTTP interface for collecting public trending feeds, search autocomplete suggestions, hashtag clusters, audio-linked videos, and rising community discussions in structured JSON so your software can detect emerging topics and link straight to the posts driving them.

How do I move from a rising search suggestion to actual driving videos?

Run tiktok.search_suggestions or youtube.search_typeahead on seed keywords to spot new query phrases, then pass the emerging term or hashtag into tiktok.search_hashtag, instagram.search_hashtag, youtube.search_hashtag, or google.search to collect actual video URLs, captions, and creators.

How is this different from Google Trends or the Google Trends API?

Google Trends gives scaled relative web search interest curves over multi-year windows, which is useful for macro seasonality, but it does not return social videos, audio tracks, hashtags, or Reddit discussions. Pairing Google Trends with Social Media Scraper bridges search demand and concrete social examples.

Do I need TikTok Business Partner eligibility to read trending feeds or sounds?

No. You authenticate with a Social Media Scraper x-api-key and call verified public endpoints (tiktok.get_trending_feed, tiktok.search_suggestions, tiktok.song_videos, tiktok.search_hashtag) directly on a pay-per-request basis.

Can I get trending data filtered by country or region?

Yes on operations that document a region parameter—such as tiktok.get_trending_feed (required region), tiktok.search_suggestions, tiktok.search_hashtag, and google.search. Note that instagram.reels_trending and youtube.shorts_trending do not accept a country filter.

How early can a snapshot-diffing workflow detect a rising trend?

Detection lead time depends on your sweep cadence and signal mix. Polling autocomplete suggestions (tiktok.search_suggestions, youtube.search_typeahead), reddit.subreddit (sort=rising), and github.trending_repositories (since=daily) every 12–24 hours catches first-seen phrases and audio reuse earlier than waiting for mainstream trending tabs alone.

Does the API send automatic Slack or webhook alerts when a topic spikes?

No. Social Media Scraper returns raw public JSON snapshots on demand. Your own scheduler, SQL diff job, or n8n workflow evaluates spike thresholds and dispatches Slack, email, or webhook notifications.

Can I track non-English trends and regional languages?

Yes. Send native-language seed queries to tiktok.search_suggestions, youtube.search_typeahead, hashtag endpoints, and google.search paired with the relevant region code, or set spoken_language_code on github.trending_repositories.

How do I track recurring audio tracks on TikTok and Instagram Reels?

Capture audio identifiers from trending or hashtag records, store them as strings, and call GET /v1/tiktok/song_videos (clipId) or GET /v1/instagram/audio_reels (audio_id) to inspect how multiple creators adapt that sound.

Does a trending snapshot guarantee my next post will go viral?

No. Every response is a point-in-time observation of current public feeds and counts, never a performance forecast. Combine observed format patterns with your own audience fit and editorial judgment.

How much does a daily cross-platform trend discovery sweep cost?

A daily 50-request pipeline spanning TikTok, Instagram Reels, YouTube Shorts, autocomplete suggestions, Reddit, GitHub trending, and 18 daily drill-downs equals 1,500 requests per 30-day month—costing $4.50/month at $0.003 (3 credits) per request.

Can AI research agents run ad-hoc trend discovery through MCP?

Yes. Connect any compatible MCP client to https://socialmediascraper.org/mcp via browser OAuth or Authorization: Bearer, or provide https://socialmediascraper.org/SKILL.md so agents can check trending feeds and sound clusters on demand.