In Summary
| 📜 Section | 📊 Content |
|---|---|
| 🌐 Introduction to TikTok | Platform launched in 2016, with over 1.5 billion users by 2023. Popular especially among young people in the US and Europe. |
| 🎯 Target and Benefits | Primarily used by Generation Z to increase brand awareness. 87% of marketers find video effective for brand visibility. |
| 🔍 Demographics and Usage | High usage among young people, with detailed statistics on usage by country and advertising impact. |
| 🛠️ TikTok Profile Scraper | Extracts profile data such as profile type, ID, bio, follower count, etc. |
| 🏷️ TikTok Hashtag Scraper | Collects data around specific hashtags, including type, ID, description, and view count. 📈 |
| Why Use TikTok Scraping? To analyze trends, generate leads, and perform sentiment analysis from comments. | 🤖 |
| How to Use TikTok Scraping? Using Python libraries like httpx and parsel to send HTTP requests and parse HTML. | 🔚 |
| Conclusion TikTok scraping is a powerful tool for extracting useful information, requiring ethical and legal practices. | TikTok |
is a popular social media platform launched in September 2016, focused on sharing short, entertaining videos. By 2023, TikTok had over 1.5 billion users, with a forecast of 2 billion by 2024. TikTok is particularly popular among young people in the United States and Europe, with over 500 million active users worldwide. Generation Z is TikTok’s primary target audience, offering a promising opportunity to increase brand awareness and reach new audiences. With 87% of marketers recognizing video as an effective tool for improving brand visibility, TikTok is at the forefront of trends. The app’s content and trends are a goldmine for brands and their marketing strategies. Collecting and analyzing this data is essential for understanding the consumption habits and needs of young users. TikTok Demographics and Usage 34% of users are between 16 and 24 years old, and 32% are between 25 and 34 years old. 25% of TikTok users are between 10 and 19 years old.16% of online adults use the app at least once a day. In the United States, TikTok is more popular than Facebook among 13-16 year-olds, with nearly 35% of users in this age group using TikTok, compared to 32% of 17-21 year-olds. App Annie demographic data for the United States shows that women represent over 60% of active users, with over 26% being young teenage girls. In the United Kingdom, users spend 66 minutes per day on the app and open TikTok 13 times in 24 hours. Users in Norway open the app 17 times per day, totaling 74 minutes. 49% of TikTok users reported purchasing a product or service after seeing an ad, promotion, or review on the platform. Engagement is another indicator of TikTok’s success, with over 73% of monthly users opening the app multiple times per month. TikTok boasts the highest engagement rates, with average engagement rates exceeding 22% for TikTok celebrities with between 100,000 and 10 million followers.TikTok Scraper: Overview TikTok Profile Scraper Our TikTok scraping API allows you to extract valuable data from TikTok profile pages. Enter a TikTok profile URL and collect the necessary data: Profile Type Influencer ID Biography Private or Verified Profile Bio LinkProfile Picture URL ID Nickname
Avatar Number of Followers Number of Following Hearts Number of Videos Top Videos Example of data extracted from a TikTok profile:
{"type": "profile", "influencer_id": "6615209867715051526", "biography": "Paris Saint-Germain’s official account 🔴🔵 Official account #ICICESTPARIS", "is_private": false, "is_verified": true, "bio_link": "linktr.ee/PSG", "profile_pic_url_hd": "https://example.com/profile_pic_hd.jpg", "id": "6615209867715051526","nickname": "PSG",
"avatar": "https://example.com/avatar.jpg", "follower_count": 1000000, "following_count": 100, "hearts": 5000000, "video_count": 100, "top_videos": [ { "id": "123456789","description": "Amazing goal!", "comments": 500, "shares": 200, "plays": 1000000, "thumbnail": "https://example.com/thumbnail.jpg", "username": "psg_official","video_info": {...},
"music_info": {...}
- } ], "image": "https://example.com/profile_image.jpg"}
TikTok Hashtag Scraper Extract and collect all data related to a hashtag with our TikTok scraping API. Fill in the hashtag and get the necessary data:Type
{"collected_videos_count": 30, "id": "1601336200518658", "title": "catsoftiktok", "desc": "Meow.","profileLarger": "https://example.com/profile_larger.jpg", "profileMedium": "https://example.com/profile_medium.jpg", "profileThumb": "https://example.com/profile_thumb.jpg", "coverLarger": "https://example.com/cover_larger.jpg","coverMedium": "https://example.com/cover_medium.jpg", "coverThumb": "https://example.com/cover_thumb.jpg" } import asyncioimport json
from typing import List, Dict from httpx import AsyncClient, Responsefrom parsel import Selector from loguru import logger as log client = AsyncClient( http2=True, headers={ “Accept-Language”: “en-US,en;q=0.9”, “User-Agent”: “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36”,
def parse_profile(response: Response): selector = Selector(response.text) profile_data = json.loads(data)[“__DEFAULT_SCOPE__”][“webapp.user-detail”][“userInfo”]return profile_dataasync def scrape_profiles(urls: List[str]) -> List[Dict]:
Écrit par
Kevin Grillot
Consultant Webmarketing & Expert SEO.