TikTok Profile Scraper

TikTok Profile Scraper

by neuro-scraper

πŸ”₯ Dive into the minds behind TikTok profiles! 🧠 Uncover real stats, secrets, and patterns hidden beneath the surface β€” instantly. ⚑ No setup, no fluff...

98 runs
8 users
Try This Actor

Opens on Apify.com

About TikTok Profile Scraper

πŸ”₯ Dive into the minds behind TikTok profiles! 🧠 Uncover real stats, secrets, and patterns hidden beneath the surface β€” instantly. ⚑ No setup, no fluff, just pure insight. πŸ‘οΈβ€πŸ—¨οΈ Let curiosity drive you β€” run it now and see what others can’t. πŸš€

What does this actor do?

TikTok Profile Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

--- # README.md # 🌟 TikTok User Info Fetcher β€” Fast profile insights & safe exports πŸ“– Summary A production-ready Apify Actor that fetches public TikTok user profile summary data and metrics (followers, posts, bio, avatar) from a trusted third‑party endpoint β€” plug-and-play on Apify Console, privacy-conscious, and built for reliable batch runs. --- ## πŸ’‘ Use cases / When to use * Bulk-collect TikTok profile summaries for research, monitoring, or analytics * Enrich internal databases with follower counts, usernames, and avatars * Build lightweight lists for outreach, verification, or compliance checks * Quick audits of account metadata without full video scraping --- ## ⚑ Quick Start (Console β€” one-click) 1. Open this Actor in the Apify Console. 2. Paste a JSON input (see input.example.json) into the Console Input field. 3. Click Run Actor β€” the Actor will fetch each username and push results to the Dataset and the OUTPUT key-value store. > Designed for speed and safe data collection β€” runs in seconds for single profiles and scales with concurrency. --- ## βš™οΈ Quick Start (CLI + API) CLI (apify-cli) bash apify run --input input.example.json Python (apify-client) β€” minimal example python from apify_client import ApifyClient client = ApifyClient('<APIFY_TOKEN>') run = client.actor('<ACTOR_ID>').call(run_input={ "usernames": ["example_user1", "example_user2"], "concurrency": 2 }) print('Run finished, dataset available at:', run['defaultDatasetId']) > Replace <APIFY_TOKEN> and <ACTOR_ID> with your values. --- ## πŸ“ Inputs (fields & schema) This Actor accepts a flexible input schema that supports a single username, a list, or pasted multi-line values. Key fields: * usernames / username / user_value β€” required (one or more): username strings, full profile URLs, or comma/newline-separated values. * concurrency β€” optional: how many usernames to fetch in parallel. Default: 2 (min 1). * timeout_seconds β€” optional: request timeout for external API calls (default reasonable value used by Actor). Console JSON input example json { "usernames": [ "farhanahmedprottoy_09", "example_user2" ], "concurrency": 2 } --- ## βš™οΈ Configuration | πŸ”‘ Name | πŸ“ Type | ❓ Required | βš™οΈ Default | πŸ“Œ Example | 🧠 Notes | | ----------- | ------- | ----------- | ---------- | ----------------- | ---------------------------------------------------------------- | | usernames | array | βœ… Yes | None | ["user1","user2"] | Accepts single username, URL, or comma/newline-separated string. | | concurrency | integer | βš™οΈ Optional | 2 | 4 | Parallel fetches; increase for batch runs but watch rate limits. | | timeout | integer | βš™οΈ Optional | 30 | 60 | Per-request timeout for external calls (seconds). | --- ## πŸ“„ Outputs (Dataset / KV examples) One dataset item is pushed per requested username. All run results are available under the OUTPUT key-value store. Example Dataset item json { "_requested_username": "example_user", "user_name": "example_user", "full_name": "Example Name", "profile_pic_url": "https://.../avatar.jpg", "profile_pic_url_hd": "https://.../avatar_hd.jpg", "biography": "Short bio...", "followers_exact": 12345, "followers_short": "12.3K", "following_exact": 100, "following_short": "100", "posts": 42, "heart": 123456, "_http_status": 200 } --- ## πŸ”‘ Environment Variables * APIFY_TOKEN β€” required for CLI / API runs. Use Console secrets or CI secrets. * APIFY_RUN_ID β€” provided by Apify Console (read-only). * HTTP_PROXY / HTTPS_PROXY β€” optional when using custom proxies (see Proxy Configuration). Placeholders used in examples: <APIFY_TOKEN>, <PROXY_USER:PASS@HOST:PORT> --- ## ▢️ How to Run (Console, CLI, API) Console * Paste the JSON input and click Run Actor. CLI bash apify run --input input.example.json API Use apify-client (example above) to call the Actor programmatically. Results are stored in the Dataset and OUTPUT KV on completion. --- ## ⏰ Scheduling & Webhooks * Use the Apify Console scheduler to run on cron schedules for regular monitoring. * Add a Webhook to receive run:finished events and trigger downstream workflows (notifications, ETL, or storage transfer). --- ## πŸ•ΎοΈ Logs & Troubleshooting * Console logs stream live while the run executes. * Common issues: malformed usernames, network timeouts, or API rate-limits from the upstream service. * If an item contains an _error or non-200 _http_status, check the raw preview fields in the dataset row and retry with the same input. --- ## πŸ”’ Permissions & Storage Notes * The Actor does not log secrets. Provide any secrets via Console secrets only. * Dataset rows may contain publicly available profile metadata. Respect platform terms when storing or sharing collected data. --- ## πŸ”Ÿ Changelog / Versioning * v1.0 β€” Initial release: username extraction, external API fetch, flexible input parsing, transformation to consistent output schema, and Dataset/KV export. --- ## πŸ–Œ Notes / TODOs * TODO: Confirm preferred default request timeout and expose it in the input schema if desired. * TODO: Add optional rate-limit/backoff policy controls for large batches. --- ## 🌍 Proxy Configuration This Actor performs outbound requests to a third‑party endpoint. Use Apify Proxy or your own proxy to mitigate geo or network restrictions. Quick enable (Console): Toggle Use Apify Proxy in the Run form or set HTTP_PROXY / HTTPS_PROXY environment variables. Custom proxy example bash export HTTP_PROXY="http://<PROXY_USER:PASS@HOST:PORT>" export HTTPS_PROXY="http://<PROXY_USER:PASS@HOST:PORT>" Security note: Store proxy credentials as Console secrets β€” never paste them as plaintext in public inputs or logs. Advanced: TODO: Consider proxy rotation and backoff strategies for high-volume runs. --- ## πŸ“š References * Apify Actor README best practices β€” (official Apify Console docs) * Apify input/output schema docs β€” (official Apify docs) * Apify CLI & apify-client usage β€” (official Apify docs) --- ## πŸ€” What I inferred from main.py * Input parsing is flexible: accepts single usernames, arrays, comma or newline-separated lists, or prefill values from actor.json. * The Actor sends requests to a third‑party endpoint and normalizes various possible response shapes into a consistent profile record. * Results are pushed to the Dataset and saved to an OUTPUT file (data_result.json) in the run workspace. * Concurrency is supported and can be tuned via the concurrency input. --- # input.example.json json { "usernames": [ "farhanahmedprottoy_09", "example_user2" ], "concurrency": 2 } # CONFIG.md # CONFIG.md β€” Quick deploy notes * Set your APIFY_TOKEN in your environment or Console secrets before using the CLI or API. * If you depend on an external third-party endpoint, verify its Terms of Service before batch usage. * Consider adding a run-level backoff if you expect large batches to avoid upstream rate limits. ---

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try TikTok Profile Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
neuro-scraper
Pricing
Paid
Total Runs
98
Active Users
8
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support