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

5

Total users

2

Monthly active users

20 days 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.