TikTok Profile Scraper
Pricing
$5.00/month + usage
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. ๐
Pricing
$5.00/month + usage
Rating
5.0
(1)
Developer

Neuro Scraper
Actor stats
0
Bookmarked
5
Total users
2
Monthly active users
20 days ago
Last modified
Categories
Share
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)
- Open this Actor in the Apify Console.
- Paste a JSON input (see input.example.json) into the Console Input field.
- Click Run Actor โ the Actor will fetch each username and push results to the Dataset and the
OUTPUTkey-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)
$apify run --input input.example.json
Python (apify-client) โ minimal example
from apify_client import ApifyClientclient = 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(min1).timeout_secondsโ optional: request timeout for external API calls (default reasonable value used by Actor).
Console JSON input example
{"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
{"_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
$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:finishedevents 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
_erroror 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
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
OUTPUTfile (data_result.json) in the run workspace. - Concurrency is supported and can be tuned via the
concurrencyinput.
input.example.json
{"usernames": ["farhanahmedprottoy_09","example_user2"],"concurrency": 2}
CONFIG.md
CONFIG.md โ Quick deploy notes
- Set your
APIFY_TOKENin 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.