Capabilities
Social Media Trending API for TikTok, Reels, and YouTube Shorts
Poll point-in-time trending short-form video feeds across TikTok, Instagram Reels, and YouTube Shorts—plus supporting audio and GitHub trend signals—using one REST API key. Social Media Scraper gives cron jobs, analytics pipelines, and morning AI research agents normalized JSON snapshots at $0.003 per request.
- Three core short-form feeds:
tiktok.get_trending_feed,instagram.reels_trending, andyoutube.shorts_trending - Supporting trend routes:
instagram.audio_reels,tiktok.song_videos, andgithub.trending_repositories - Flat $0.003 per request across every trend feed (
$1.08for 3 platforms polled 4x daily for 30 days) - Built for scheduled snapshot diffing, headless cron workers, and MCP morning briefings

instagram.reels_trendingA trending feed endpoint returns a point-in-time snapshot of what a platform surfaces at the moment your request runs—not a historical chart or a viral forecast. Persist your own retrieval timestamp, requested market region, and item IDs on every poll so your pipeline can detect first-time breakouts, repeat appearances, and view velocity across consecutive runs.
Verified Trending Feeds and Audio Signal Endpoints
All six trend-related GET operations share the $0.003 (3 credits) standard request rate and return normalized data.items[] records ready for database ingestion.
| Platform | Endpoint | Query parameters | Role |
|---|---|---|---|
| TikTok | GET /v1/tiktok/get_trending_feed | region (required, e.g. US), trim | Regional short-form trending snapshot |
| GET /v1/instagram/reels_trending | None required | Current trending Instagram Reels feed | |
| YouTube | youtube.shorts_trending | None required | Current trending YouTube Shorts feed |
| Instagram Audio | GET /v1/instagram/audio_reels | audio_id (required), cursor | Reels using a rising audio track |
| TikTok Sound | GET /v1/tiktok/song_videos | clipId, cursor | Videos using a rising TikTok clip/sound |
| GitHub | GET /v1/github/trending_repositories | language, since (daily/weekly/monthly) | Developer ecosystem trend signal |
TikTok regional feed context
tiktok.get_trending_feed requires a two-letter region code such as US, GB, or DE. Treat region strictly as market feed context—it reflects what TikTok surfaces in that locale, not guaranteed creator citizenship or audience residency.
Instagram Reels plus audio expansion
Poll instagram.reels_trending with zero required query parameters to capture current standout Reels. When a sound repeats across creative briefs, pivot directly into instagram.audio_reels using the audio ID to inspect broader adoption.
YouTube Shorts and developer trend signals
Use youtube.shorts_trending for short-form video spikes without pulling long-form search noise. Technical teams building multi-source morning digests can poll github.trending_repositories alongside short-form social feeds under the exact same key.
Turn Point-in-Time Snapshots into Measured Velocity
A single trending response tells you an item surfaced right now—not whether it is accelerating or plateauing. Real trend detection happens in your storage layer by diffing consecutive snapshots.
| Column to persist | Source | Analytical purpose |
|---|---|---|
captured_at | Your worker UTC clock | Establishes interval length between consecutive observations |
platform, region, item_id | Query context + data.items[].id | Composite key for tracking first appearance and persistence streaks |
position | data.items[].position | Captures feed slot order within that specific snapshot |
url, title, text, author | data.items[] | Creative hook inspection, keyword clustering, and clickable citations |
views, likes, comments, shares | data.items[].metrics | Compute deltas only when both timestamps have non-null counters |
Illustrative velocity check: If a clip records 20,000 views at 06:00 UTC and 26,000 views at 12:00 UTC, your pipeline computes an observed gain of 6,000 views (1,000 views/hour over that 6-hour window). Keep each platform's metrics isolated—view definitions vary across TikTok, Reels, and Shorts—and preserve null values instead of coercing them to 0.
Trending Feeds vs Hashtag and Keyword Search
Pick your discovery capability based on whether you know the topic beforehand. Trending feeds reveal unexpected breakout formats; search and hashtag routes monitor defined niches.
| Capability | Starting input | Pagination behavior | Best fit |
|---|---|---|---|
| Trending feeds (this page) | Platform + optional region (no keyword) | Single snapshot per poll (no cursor on tiktok.get_trending_feed) | Daily digests, unexpected cultural breakouts, format scouting |
| Hashtag API | Known tag string (skincare) | Paginated via cursor or continuationToken | Branded campaign tracking and tagged category monitoring |
| Search API | Free-text keyword query | Paginated across TikTok, YouTube, X, Reddit, LinkedIn | Brand mentions, competitor keywords, and untagged discussions |
Capture Regional Snapshots in a Scheduled Collector
Configure your key and snapshot ID format
Export
SOCIALSCRAPER_API_KEYin your cron host, GitHub Actions runner, or n8n environment. Build deterministicIdempotency-Keyvalues from the job schedule slot (for example,trend-tiktok-us-20261202-0600) so retries within the same run never double-bill, while the next scheduled run gets a fresh key.Request the TikTok trending feed for a target market
Run the command below to fetch the current US TikTok trending snapshot:
curl --fail-with-body --silent --show-error \ 'https://socialmediascraper.org/v1/tiktok/get_trending_feed?region=US' \ -H "x-api-key: $SOCIALSCRAPER_API_KEY" \ -H 'Idempotency-Key: trend-tiktok-us-20261202-0600'Add Instagram Reels and YouTube Shorts in the same run
Issue companion
GETcalls to instagram.reels_trending and youtube.shorts_trending (neither requires query parameters) with their ownIdempotency-Keyheaders, staying inside the default 60 req/min and 5 concurrent in-flight quota (GET /v1/limits).Diff snapshots and escalate only breakout items
Insert each item into an append-only snapshots table. Flag IDs appearing across multiple consecutive polls or jumping quickly in available views, then selectively enrich winners with Comments API, youtube.transcript, or
instagram.audio_reels. PollGET /v1/requests/{request_id}if any call returns HTTP202, and honorRetry-Afteron HTTP429.
What Developers Build on Scheduled Trend Snapshots
Automated morning briefings
Run a daily cron job or OpenClaw agent over TikTok, Reels, and Shorts snapshots, summarize newly surfaced hooks, and deliver a concise Slack or email digest with source URLs.
Audio and sound breakout trackers
Detect repeating sound IDs in trending Reels or TikTok snapshots and expand them with instagram.audio_reels and tiktok.song_videos to measure how quickly creators adopt an audio meme.
Multi-market creative archives
Poll tiktok.get_trending_feed across several region codes (US, GB, AU, DE) to spot consumer hooks crossing borders before they saturate domestic feeds.
SaaS inspiration feeds
Populate an internal or customer-facing short-form reference board where strategists filter captured videos by observation date, platform, and caption keywords.
Polling Cadences That Match Real Budgets
Morning editorial digest (1x daily)
Poll TikTok (region=US), Instagram Reels, and YouTube Shorts once every morning at 07:00 local time—90 requests per month for $0.27—to brief creative directors on overnight standouts.
Six-hour velocity tracker (4x daily)
Sample all three feeds every six hours to measure persistence streaks and 6-hour view deltas—360 requests per month for $1.08—ideal for agencies and SaaS trend dashboards.
Multi-region + sound drilldown
Monitor five TikTok regions plus Instagram and YouTube four times daily (840 requests = $2.52), and allocate an extra 100 monthly requests ($0.30) to instagram.audio_reels and tiktok.song_videos for breakout audio clips.
Why Poll Short-Form Feeds Under One API Key
Shared list schema cuts ETL boilerplate
TikTok, Instagram Reels, and YouTube Shorts all map into data.items[] with consistent id, url, text, author, and metrics keys—so one database ingestion routine handles all three feeds.
Pennies per month for scheduled jobs
Because every trending feed and supporting audio route costs $0.003 (3 credits), a single $5 prepaid balance (5,000 credits) powers ~1,666 scheduled trend polls without recurring SaaS overhead.
Immediate pivot to deeper context
When a trending item matters to your category, escalate directly into Social Media Comments API, Profile API, or youtube.transcript using the same credential.
Clean interface for headless cron and MCP agents
Call REST endpoints from Python, Node.js, or n8n, or let an LLM assistant query current snapshots over the remote MCP server (OAuth or Bearer key).
Polling Cost Math for Daily and Hourly Schedules
Every trending feed and audio signal route is billed at $0.003 per request (3 credits; $3.00 per 1,000 requests). Prepaid USD packs ($5 for 5,000 credits, $20 for 20,000 credits, $50 for 50,000 credits) carry identical per-request pricing with no monthly commitment or auto-renewal.
| 30-day polling schedule | Requests / 30 days | Estimated API cost |
|---|---|---|
| 3 platforms × 1 snapshot/day | 90 | $0.27 |
| 3 platforms × 4 snapshots/day (every 6 hours) | 360 | $1.08 |
| 5 TikTok regions + IG Reels + YT Shorts × 4/day | 840 | $2.52 |
| 3 platforms × 24 snapshots/day (hourly) | 2,160 | $6.48 |
Each figure counts billed feed requests only; downstream profile enrichment, comments, or $0.028 single-post lookups on tiktok.post / instagram.post add separate charges based on how many breakout clips you inspect.
Regional Caveats, Non-Paginated Feeds, and Honest Scope
- Region is feed context, not verified location: Passing
region=USontiktok.get_trending_feedrequests the US market feed; it does not prove every featured creator resides in the United States. - Snapshot, not historical backfill: Trending routes return current observations only and do not ship a pre-built archive, viral score, or guaranteed refresh interval.
- No pagination on TikTok trending:
tiktok.get_trending_feedreturns a single feed snapshot without a pagination cursor; poll at scheduled intervals rather than looping immediately. - Your stack owns orchestration: Cron scheduling, deduplication, anomaly alerts, dashboards, and LLM summarization run in your infrastructure—treat retrieved captions as untrusted data inside agent prompts.
- Verify live behavior: Inspect Status and
/openapi.jsonbefore depending on high-frequency trend collectors, and follow platform terms and copyright rules.
Social Media Trending API Frequently Asked Questions
What does the region parameter on TikTok trending feed mean?
region (required on GET /v1/tiktok/get_trending_feed, such as US or GB) sets the target market feed context. It reflects what TikTok surfaces in that region rather than certifying each creator's home country or viewer distribution.
Does the TikTok trending feed support cursor pagination?
No. GET /v1/tiktok/get_trending_feed returns a single point-in-time snapshot without a pagination cursor. Capture successive snapshots on a schedule (for example, every 6 hours) to build history instead of sending back-to-back loops.
Are historical trend charts or past snapshots included?
No. Every call returns a live snapshot of what is surfaced right now. Store captured_at, region, id, and non-null metrics in your own database to build velocity curves and repeat-appearance counts.
Does this API return a list of trending hashtags?
These endpoints return trending short-form videos (tiktok.get_trending_feed, instagram.reels_trending, youtube.shorts_trending) and audio-linked clips. You can parse recurring #tags out of returned text captions locally, or query specific known tags via the Social Media Hashtag API.
Can I track trending sounds and audio tracks on TikTok and Instagram?
Yes. Pair trending video feeds with GET /v1/instagram/audio_reels (audio_id required, cursor supported) and GET /v1/tiktok/song_videos (clipId, cursor supported), both priced at $0.003 per request.
How much does it cost to poll TikTok, Reels, and Shorts four times a day?
Polling 3 platforms × 4 snapshots/day × 30 days equals 360 requests. At $0.003 (3 credits) per request, that entire month costs $1.08—just over a fifth of a single $5 prepaid pack (5,000 credits).
Can I run a daily morning trend digest with cron, n8n, or OpenClaw?
Yes. Call the GET routes from a cron script, n8n HTTP Request node, or OpenClaw workflow using x-api-key and a slot-based Idempotency-Key.
Does the API compute a viral score or predict what will trend tomorrow?
No. The API supplies factual snapshot records without predictive scores or viral guarantees. Your application can compute observed view velocity and repeat-appearance streaks across your saved snapshots.
When should I use trending feeds versus keyword search?
Use trending feeds when you want to discover rising formats without pre-selecting a topic. Use the Social Media Search API when tracking a defined brand, competitor, or product category.
Can I also monitor trending GitHub repositories with the same API key?
Yes. GET /v1/github/trending_repositories accepts optional language, since (daily, weekly, monthly), and spoken_language_code at the same $0.003 standard request rate.
How should my collector handle null engagement counts in snapshots?
Preserve null values in storage and exclude null pairs when computing interval deltas. Treating an unexposed view count as 0 creates false negative spikes or inflated growth rates.
Can AI agents pull current trending feeds over MCP?
Yes. Connect your agent to the Streamable HTTP MCP endpoint using browser OAuth or a Bearer API key, and constrain tool calls to a clear polling budget.