Home / Use cases / How to build Weekly trend newsletter builder with a social…

How to build Weekly trend newsletter builder with a social data API

You can build weekly trend newsletter builder by calling 3 Scrapall REST endpoints for Instagram, TikTok, YouTube and storing the JSON they return. The typical buyer is newsletter writers and marketing teams. Collect the top trending videos of the week into a ready newsletter draft.

Updated · by the Scrapall team

Platforms and endpoints

ProductPlatformEndpointWhat it returns
Weekly trend newsletter builderTikTok/v1/tiktok/get_trending_feedTrending Feed
Weekly trend newsletter builderInstagram/v1/instagram/reels_trendingTrending Reels
Weekly trend newsletter builderYouTube/v1/youtube/shorts_trendingTrending Shorts

Example request

Every endpoint is a plain HTTPS GET or POST with your key in the X-Scapi-Key header. Responses are JSON.

curl "https://api.scrapall.bipsport.com/scapi/v1/tiktok/get_trending_feed?region=US" \
  -H "X-Scapi-Key: YOUR_API_KEY"

What you can build

A working weekly trend newsletter builder needs three parts: a collector that calls the endpoints below on a schedule, a small database that keeps every response with its fetch time, and a view or alert that shows newsletter writers and marketing teams what changed. Scrapall handles the data collection, so you only write the product logic.

How to build it, step by step

  1. Get an API key on the Buy page; new accounts start with 20 free credits.
  2. Call /v1/tiktok/get_trending_feed first to check the response fields you need.
  3. Add the other endpoints (/v1/instagram/reels_trending, /v1/youtube/shorts_trending) and store each JSON response with a timestamp.
  4. Schedule the collector (cron or a queue) and build the view or alert on top of the stored data.

FAQ

Which platforms does this use case need?

It uses public data from Instagram, TikTok, YouTube, all reachable through one Scrapall API key.

How do I authenticate the requests?

Send your key in the X-Scapi-Key header on every request. Responses are JSON.

How much does it cost to start?

New accounts get 20 free credits. After that you pay per request in USDT; see the Pricing page.

Can I run it on a schedule?

Yes. Each endpoint is a plain HTTPS call, so a cron job or queue worker can collect fresh data every day.

Sources

API reference docs

Related use cases

Start free with 20 credits