Social Media Scraper

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, and youtube.shorts_trending
  • Supporting trend routes: instagram.audio_reels, tiktok.song_videos, and github.trending_repositories
  • Flat $0.003 per request across every trend feed ($1.08 for 3 platforms polled 4x daily for 30 days)
  • Built for scheduled snapshot diffing, headless cron workers, and MCP morning briefings
Original technical illustration showing a magnifying glass over public post cards feeding an ordered list of source links
instagram.reels_trending

A 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.

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 persistSourceAnalytical purpose
captured_atYour worker UTC clockEstablishes interval length between consecutive observations
platform, region, item_idQuery context + data.items[].idComposite key for tracking first appearance and persistence streaks
positiondata.items[].positionCaptures feed slot order within that specific snapshot
url, title, text, authordata.items[]Creative hook inspection, keyword clustering, and clickable citations
views, likes, comments, sharesdata.items[].metricsCompute 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.

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.

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).

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.