Home / Use cases / How composio.dev uses social data + build your own with…

How composio.dev uses social data + build your own with Scrapall

composio.dev is a developer platform/SDK that gives AI agents secure, authenticated access to 1,500+ apps through tool calls and sandboxed execution, as stated on its website. Products like composio.dev depend on fresh public web and social context for AI agents. With Scrapall you can pull the same kind of public data from TikTok, TikTok Ad Library, TikTok Shop through 8 REST endpoints and build your own version.

Updated · by the Scrapall team

Platforms and endpoints

ProductPlatformEndpointWhat it returns
composio.devTikTok Ad Library/v1/tiktok/ads_adAd Library Ad
composio.devTikTok Ad Library/v1/tiktok/ads_searchAd Library Search
composio.devTikTok/v1/tiktok/collection_videosCollection Videos
composio.devTikTok/v1/tiktok/get_trending_feedTrending Feed
composio.devTikTok/v1/tiktok/liveLive Info
composio.devTikTok Shop/v1/tiktok/productProduct Details
composio.devTikTok/v1/tiktok/userProfile
composio.devTikTok/v1/tiktok/user_regionProfile Region

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/ads_ad?ad_id=1869335220395266" \
  -H "X-Scapi-Key: YOUR_API_KEY"

What you can build

To build a tool in the same space as composio.dev, collect fresh public web and social context for AI agents from TikTok, TikTok Ad Library, TikTok Shop with the endpoints below, keep the responses in your own database, and add the analysis or workflow your users pay for. The facts about composio.dev on this page come from the sources listed at the bottom.

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/ads_ad first to check the response fields you need.
  3. Add the other endpoints (/v1/tiktok/ads_search, /v1/tiktok/collection_videos, /v1/tiktok/get_trending_feed) 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 TikTok, TikTok Ad Library, TikTok Shop, 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