Home / Use cases / How to build Campaign post performance tracker with a…
How to build Campaign post performance tracker with a social data API
You can build campaign post performance tracker by calling 4 Scrapall REST endpoints for Instagram, TikTok, Twitter, YouTube and storing the JSON they return. The typical buyer is agencies reporting paid campaign results. Collect likes, views and comments of every campaign post into one report.
Updated · by the Scrapall team
Platforms and endpoints
| Product | Platform | Endpoint | What it returns |
|---|---|---|---|
| Campaign post performance tracker | /v1/instagram/post | Post/Reel Info | |
| Campaign post performance tracker | TikTok | /v1/tiktok/video_plus | Video Info |
| Campaign post performance tracker | YouTube | /v1/youtube/video | Video/Short Details |
| Campaign post performance tracker | /v1/twitter/tweet | Tweet Details |
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/instagram/post?url=https://www.instagram.com/p/DeTUk4sDSp-/" \
-H "X-Scapi-Key: YOUR_API_KEY"What you can build
A working campaign post performance tracker 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 agencies reporting paid campaign results what changed. Scrapall handles the data collection, so you only write the product logic.
How to build it, step by step
- Get an API key on the Buy page; new accounts start with 20 free credits.
- Call /v1/instagram/post first to check the response fields you need.
- Add the other endpoints (/v1/tiktok/video_plus, /v1/youtube/video, /v1/twitter/tweet) and store each JSON response with a timestamp.
- 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, Twitter, 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
- https://scrapall.bipsport.com/docs/instagram/#get-v1-instagram-post
- https://scrapall.bipsport.com/docs/tiktok/#get-v1-tiktok-video-plus
- https://scrapall.bipsport.com/docs/twitter/#get-v1-twitter-tweet
- https://scrapall.bipsport.com/docs/youtube/#get-v1-youtube-video