Social Trends Scraper: TikTok & Instagram Reels
The Social Trends Scraper collects trending TikTok videos and Instagram Reels for up to 20 hashtags or keywords in one run and returns a single normalised schema: platform, post ID, URL, caption, author details, engagement metrics for likes, views, comments and shares, media URL and duration. No login or cookies are needed. Posts cost $1.50 per 1,000, and a dry run validates inputs for free. Run it from Apify Console or the API.
from $0.0015 per social post extracted, $1.50 per 1,000 · Updated Nov 2026, version 0.1.10
Key facts
- Price
- from $0.0015 per social post extracted, $1.50 per 1,000
- Pricing model
- Pay per event
- Output
- JSON, CSV, Excel, XML, RSS via Apify datasets
- Access
- Apify Console, REST API, Python and JS clients
- Version
- Updated Nov 2026, version 0.1.10
- Actor
subimpact/social-trends-hashtag-scraper
Who it is for
- Social media managers comparing TikTok and Reels trends side by side
- Brands monitoring hashtags in their category without two separate pipelines
- Creators researching which formats and creators gain traction
- Agencies assembling trend reports from one normalised dataset
Use cases
Compare TikTok and Reels in one dataset
Pass platforms as both tiktok and instagram and list hashtags such as malaysianfood and klfoodie. Every row carries platform, so you can group by it and compare likes, views, comments and shares without writing two parsers or reconciling two column sets. The same field names hold the same meaning on both platforms.
Find the creators behind a trend
The author object holds username, display name, avatar and a verified flag, and media.durationSec gives clip length. Sort by metrics.views and group by author.username to see whether a hashtag is dominated by a few large accounts or spread across many small ones, which tells you whether the trend is broad or manufactured.
Validate a hashtag list for free
Set dryRun true on a new keyword list. The run checks platform connectivity and returns one validation row with validatedHashtags, validatedPlatforms and resultsLimit, saving no posts and charging nothing. That is the cheap way to catch a typo or an empty hashtag before a scheduled job spends money on results nobody asked for.
Feed a daily trend board
Schedule the actor daily with resultsLimit at 20 and maxItems as a spend cap. publishedAt orders the rows in time, so a board can show the newest posts per hashtag first. On Instagram, multi-word terms are searched as one hashtag with the spaces removed, so coffee malaysia becomes coffeemalaysia rather than two separate words.
Harvest video URLs for a review queue
media.videoUrl and media.coverImageUrl give a playable link and a thumbnail per row, with caption carrying the full text and hashtags. Pair them with url for provenance, then sort by likes to queue the strongest clips for human review. Duplicate post ids are removed before delivery, so a review queue never repeats the same clip.
Output fields
| Field | Type | Description |
|---|---|---|
platform | string | Origin social media platform ('tiktok' or 'instagram') |
hashtag | string | Target hashtag or keyword query used to discover this post |
id | string/null | Unique platform identifier of the post or reel |
url | string | Canonical web link to the video or reel |
caption | string | Full text caption and hashtags included in the post |
author | object | Creator profile details including username, display name, avatar, and verification badge |
metrics | object | Engagement counters including likes, views/plays, comments, and shares |
media | object | Media assets including video download URL, cover thumbnail, and duration |
publishedAt | string | Original publication timestamp in ISO 8601 format |
scrapedAt | string/null | Timestamp when this item was extracted in ISO 8601 format |
status | string/null | 'error' on an uncharged status/error row summarising a failed or empty platform lane; absent on normal post rows |
error | string/null | Human-readable reason carried by an uncharged status/error row |
Show all 17 fields
| Field | Type | Description |
|---|---|---|
dryRun | boolean/null | true on the single validation row pushed by free dry runs; absent on normal post rows |
validatedHashtags | array/null | Hashtags validated by a dry run (dry-run rows only) |
validatedPlatforms | array/null | Platforms reported by a dry run (dry-run rows only) |
resultsLimit | integer/null | Per-hashtag results limit echoed by a dry run (dry-run rows only) |
timestamp | string/null | ISO 8601 timestamp of a dry-run validation row (dry-run rows only) |
Sample output
From one of our own test runs on 20 Nov 2026, trimmed. Personal data is redacted.
2 rows, first 3 shown
[
{
"platform": "instagram",
"hashtag": "malaysianfood",
"id": "3987290199670918186",
"url": "https://www.instagram.com/reel/DdVs0-fyAwq/",
"caption": "Malaysian Creamy Butter Chicken (Lai Yao Gai)🧈🌟\nOne of my favourite Malaysian comfort foods! ꒰ঌ( ᴗ͈ˬᴗ͈)໒꒱\n\nMethods:\nChicken Marinade (20mins) \n500g chicken thigh ( I used chicken breast in this video but thigh is better!) \n1 egg\n1 tbsp s...",
"author": {
"username": "sammyy.loh",
"name": "Samantha Loh",
"avatar": "",
"verified": false
},
"metrics": {
"likes": 3185,
"comments": 61,
"shares": 0,
"views": 0
},
"media": {
"type": "video",
"videoUrl": "https://scontent-cdg4-3.cdninstagram.com/o1/v/t16/f2/m84/AQPZk4hqf2KGiQfkn6G7DQz6eZ8oxhD-NoxnhUn1eH4m4mSM0s5HoZTCxQDUyfPgghT8LK1f2E3FDcBLihkPIYYNLC7HeDJy8-50oUI.mp4?_nc_cat=101&_nc_sid=5e9851&_nc_ht=scontent-cdg4-3.cdninstagram.com&_nc_o...",
"coverImageUrl": "https://scontent-cdg4-1.cdninstagram.com/v/t51.82787-15/809519098_18627802786036479_3098824088244236022_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=104&_nc_map=urlgen_bucketless&ig_cache_key=Mzk4NzI5MDE5OTY3MDkxODE4NjE4NjI3ODAyNzgzMDM2NDc5.3-ccb7-...",
"durationSec": 0
},
"publishedAt": "2026-09-16T07:02:10.000Z",
"scrapedAt": "2026-11-20T03:58:06.518Z"
},
{
"platform": "instagram",
"hashtag": "malaysianfood",
"id": "3784921199089364458",
"url": "https://www.instagram.com/reel/DSGvcb2kS3q/",
"caption": "Malaysia Chicken Curry | 马来风味咖喱鸡\n\nNo fancy tricks… just Malaysian curry chicken the way we all grew up eating it. Creamy, spicy, lemak just nice it’s a kind of aroma that already makes you hungry before you even plate it. Malaysian curry...",
"author": {
"username": "cook.n.plate",
"name": "Sharilyn",
"avatar": "",
"verified": true
},
"metrics": {
"likes": 5665,
"comments": 50,
"shares": 0,
"views": 0
},
"media": {
"type": "video",
"videoUrl": "https://scontent-atl3-2.cdninstagram.com/o1/v/t16/f2/m69/AQMb1ibf7JdZf1vnfUNRAsbPIiRRrkJNtVOqRHAf6lcJREqt9f5_SfPV9t5eSfiiPWGbzrWIgMyQ8OPIFSV2bY7L.mp4?strext=1&_nc_cat=108&_nc_sid=5e9851&_nc_ht=scontent-atl3-2.cdninstagram.com&_nc_ohc=JqB...",
"coverImageUrl": "https://scontent-atl3-1.cdninstagram.com/v/t51.82787-15/590411092_18048224780701286_402442297521058596_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=109&_nc_map=urlgen_bucketless&ig_cache_key=Mzc4NDkyMTE5OTA4OTM2NDQ1ODE4MDQ4MjI0Nzc3NzAxMjg2.3-ccb7-5...",
"durationSec": 0
},
"publishedAt": "2025-12-11T01:50:07.000Z",
"scrapedAt": "2026-11-20T03:58:06.518Z"
}
]Input
| Field | Type | Required | Description | Default |
|---|---|---|---|---|
hashtags | array | Yes | List of hashtags or search keywords to monitor (e.g. ['malaysianfood', 'coffee malaysia', 'travel']). '#' prefixes are automatically handled. At most 20 entries are used per run. | ["malaysianfood","coffee malaysia"] |
platforms | array | No | Select social media platforms to scrape. | ["tiktok","instagram"] |
resultsLimit | integer | No | Maximum number of posts/reels to collect per hashtag per selected platform. | 5 |
maxItems | integer | No | Optional hard cap on total posts retrieved across all hashtags and platforms. Leave empty for no limit. | - |
dryRun | boolean | No | When enabled, verifies target connectivity without saving records or charging Pay-Per-Event fees. | false |
proxyConfiguration | object | No | Proxy settings. Residential proxies are recommended for bypassing anti-scraping protections. | {"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]} |
Example input
{
"hashtags": [
"malaysianfood",
"coffee malaysia"
]
}Pricing
| Event | What it means | Price | Lowest tier |
|---|---|---|---|
social-post | One normalized TikTok video or Instagram reel extracted with caption, creator metrics, engagement stats, and media metadata. | $0.0015 | $0.0015 |
apify-actor-start | Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). | $0.00005 | $0.00005 |
$1.50 for 1,000 social post extracted units at the listed price.
Prices from the Apify Store on 20 November 2026. Apify shows the final price before each run.
How it compares with other Apify actors
Price per 1,000 posts at Apify Store list prices. Every row is a live listing on the Store, read on 20 Nov 2026, so a buyer can check each number at the source.
| Actor | Price per 1,000 posts (Free plan) | Higher plans (Gold) | Start fee per run | Platform usage | Users | Rating | Last build |
|---|---|---|---|---|---|---|---|
| Social Trends Scraper — Unified TikTok & Instagram Reels This API | $1.50 | $1.50 | $0.00005 | Included | 5 | No reviews yet | 19 Nov 2026 |
| Instagram Hashtag Scraper | $2.60 | $1.90 | None | Included | 160,300 | 3.5 (91 reviews) | 19 Nov 2026 |
| Social Media Hashtag Research | The listing publishes no per event price, so no unit comparison is possible. | None | n/a | 1,804 | 5.0 (8 reviews) | 25 Mar 2025 | |
| Instagram Hashtag Scraper | $0.45 | $0.45 | $0.00005 | Included | 1,715 | 4.2 (6 reviews) | 19 Nov 2026 |
| Instagram Reels Search & Trend Discovery · No Login | $2.50 | $1.50 | $0.002 | Included | 5,190 | 5.0 (3 reviews) | 8 Oct 2026 |
Where Instagram Hashtag Scraper is stronger
Where Instagram Hashtag Scraper is stronger
- Larger user base and a long review history on the Apify Store
- Keyword search as well as hashtags, plus a choice of posts or reels
- Deep Instagram fields such as audio, tagged users and child posts
Where this API is stronger
- TikTok and Instagram posts in one normalised schema from a single run
- Dry run mode validates hashtags and platforms before a paid run
- Results are pushed as they arrive, so an interrupted run bills only what it collected
Where Social Media Hashtag Research is stronger
Where Social Media Hashtag Research is stronger
- Four platforms in one run: Instagram, YouTube, TikTok and Facebook
- Very simple inputs: hashtags, platforms and a per site cap
Where this API is stronger
- Normalised schema with platform, metrics, media and author objects
- Dry run validates hashtags and platforms before a paid run
- Charged per social post pushed as rows arrive
Where Instagram Hashtag Scraper is stronger
Where Instagram Hashtag Scraper is stronger
- Minimal setup: hashtags plus a per hashtag cap
- Bulk hashtags handled in one run
- No login required for public hashtag feeds
Where this API is stronger
- TikTok alongside Instagram in the same run and schema
- Metrics, media and author grouped into one object per post
- Small start event on top of the per post charge
Where Instagram Reels Search & Trend Discovery · No Login is stronger
Where Instagram Reels Search & Trend Discovery · No Login is stronger
- Keyword search across Instagram Reels for trend discovery
- No login and no cookies needed
- Detailed reel fields including play counts and media type
Where this API is stronger
- Hashtag driven pulls across both TikTok and Instagram
- One schema for every platform so downstream work stays the same
- Small start event on top of the per post charge
Most hashtag actors on the Store cover one platform at a time, and Instagram is the busiest of them. The two Apify listings and the smaller scrapesmith and data-slayer actors are strong within Instagram. Ours is for buyers who want TikTok and Instagram trend posts in one normalised dataset, charged per post with a dry run to test inputs first.
Prices are Apify Store list prices, checked 20 Nov 2026. Platform usage 'Paid separately' means Apify bills compute on top of the event price. Check each listing before you buy.
How to run it
- List your topics in hashtags, for example ["malaysianfood", "coffee malaysia"]. A leading # is stripped, and at most 20 entries are used.
- Choose platforms, tiktok, instagram or both. Give the run at least 300 seconds of run time when both are selected.
- Set resultsLimit, for example 10, and maxItems if you want a hard cap across every hashtag and platform.
- Run with dryRun true first to confirm the hashtags resolve without spending anything.
- Switch dryRun off for the real run, then export the dataset as JSON, CSV or Excel, or read it through the Apify API.
cURL
curl -X POST "https://api.apify.com/v2/acts/subimpact~social-trends-hashtag-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"hashtags":["malaysianfood","coffee malaysia"]}'Python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("subimpact/social-trends-hashtag-scraper").call(run_input={"hashtags":["malaysianfood","coffee malaysia"]})
for item in client.dataset(run["default_dataset_id"]).iterate_items():
print(item)JavaScript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('subimpact/social-trends-hashtag-scraper').call({"hashtags":["malaysianfood","coffee malaysia"]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);n8n
Use the Apify node (Run an Actor).
Actor ID: subimpact/social-trends-hashtag-scraper
Input JSON: paste the example input above.Limits
- At most 20 hashtags per run, and resultsLimit is capped at 50 per hashtag per platform.
- Instagram keyword search needs a login, so multi-word topics are reduced to a single hashtag.
- Public posts only, with no private accounts or login-walled content.
- A run shorter than about 300 seconds may cut one platform lane short when both are selected.
Questions people ask
What does a post cost?
Each delivered post or reel is billed at $0.0015, which is $1.50 per 1,000 results, plus a tiny start fee of $0.00005. The run's total is the sum of the TikTok and Instagram lanes it used. A dry run charges nothing, and a post is never billed twice even when it appears under two hashtags.
Do I need TikTok or Instagram accounts?
No. There is no login, no cookies and no session from your own accounts. The actor reads public posts only, so private accounts and content behind a login are out of reach. Residential proxies are recommended in the proxy field for the most stable results.
How many hashtags and posts can one run handle?
Up to 20 hashtags or keywords per run, with extra entries ignored. resultsLimit sets posts per hashtag per platform and accepts 1 to 50, defaulting to 5. maxItems adds a global cap across every hashtag and platform, which is the simplest way to keep a scheduled run inside a fixed budget.
How does the Instagram side handle multi-word topics?
Instagram keyword search needs a login, so multi-word terms are searched as a single hashtag with the spaces removed. coffee malaysia becomes coffeemalaysia. Keep that in mind when a topic only exists as a phrase rather than a hashtag, since the Instagram lane may then return little.
What happens when one platform fails?
The actor writes an uncharged status row with status error and a message naming the failed or empty platform lane, while rows from the other platform still arrive. A run cut short by its timeout still delivers what was collected and reports which platform was stopped.
Are duplicate posts removed?
Yes. Deduplication runs across the two platforms before rows are delivered, so the same post id never fills the dataset twice when hashtags overlap. You are also not charged twice for a post that matched several of your hashtags.
Can I call it from Python or n8n?
Yes. Use the Apify API or a client library, sending hashtags, platforms, resultsLimit and maxItems as the run input, then read the default dataset. The same input works from n8n, Make, a cron job or an MCP client, and a dry run input is a cheap way to test a connection.
Need a data source that is not here?
We build and run scrapers for sites that have no public API. Tell us the site, the fields and how often you need them.