TikTok Profile Scraper avatar
TikTok Profile Scraper

Pricing

$5.00/month + usage

Go to Apify Store
TikTok Profile Scraper

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

Neuro Scraper

Maintained by Community

Actor stats

0

Bookmarked

7

Total users

1

Monthly active users

a month ago

Last modified

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)

  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)

$apify run --input input.example.json

Python (apify-client) β€” minimal example

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

{
"usernames": [
"farhanahmedprottoy_09",
"example_user2"
],
"concurrency": 2
}

βš™οΈ Configuration

πŸ”‘ NameπŸ“ Type❓ Requiredβš™οΈ DefaultπŸ“Œ Example🧠 Notes
usernamesarrayβœ… YesNone["user1","user2"]Accepts single username, URL, or comma/newline-separated string.
concurrencyintegerβš™οΈ Optional24Parallel fetches; increase for batch runs but watch rate limits.
timeoutintegerβš™οΈ Optional3060Per-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: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

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

{
"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.