Tiktok Poster avatar

Tiktok Poster

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Tiktok Poster

Tiktok Poster

Automate posting videos to TikTok! Upload videos with captions, hashtags, and privacy settings. Features Video Upload - Post videos from URL Captions & Hashtags - Add descriptions and tags Privacy Controls - Set visibility, comments, duet, stitch Auto-download - Automatically fetches video from URL

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

1

Bookmarked

30

Total users

3

Monthly active users

19 days ago

Last modified

Features

Limited permissions

Share

TikTok Automation - Upload and post videos to TikTok automatically. Browser automation for reliable posting without API access. Perfect for content creators, social media managers, and marketing agencies. Supports video uploads, captions, hashtags, and scheduling.

Bring your own account. You post to your own TikTok account, so you provide exported login cookies (recommended) or a username and password.


Before You Start

This actor posts to a real TikTok account through browser automation (TikTok has no public posting API). You need one of the following:

  • cookies: cookies exported from a browser where you are logged in to TikTok. Use the Cookie-Editor extension on a tiktok.com tab, click Export, choose JSON, and paste the whole array. The export must include the sessionid cookie.
  • cookieStorageKey: the key of a session saved earlier by the Cookie Manager actor. Enter the store name or ID in cookieKvStoreName too, so this run is allowed to read it.
  • username + password: least reliable. TikTok's login often shows a CAPTCHA that automation cannot clear. Prefer cookies.

A residential proxy is strongly recommended (see proxy below). TikTok blocks datacenter IPs, so posting usually fails without one.

The browser is Camoufox, a Firefox build with a realistic fingerprint, so TikTok sees an ordinary desktop browser.


Quick Start

Run with real data

{
"cookies": "[{\"name\":\"sessionid\",\"value\":\"...\",\"domain\":\".tiktok.com\"}]",
"videoUrl": "https://your-storage.example.com/clip.mp4",
"caption": "New drop is live",
"hashtags": ["fyp", "smallbusiness"],
"allowComments": true,
"allowDuet": true,
"allowStitch": true,
"isPrivate": false,
"timeout": 180,
"proxy": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}

Running without credentials

If you run the actor without TikTok credentials or session cookies (or with demoMode: true), it returns a labeled simulated post result so you can preview the output format. Sample items carry demo: true and a _notice field, no video is posted, and no task events are charged. Supply your own credentials or cookies for live posting.


Input Parameters

ParameterTypeDefaultRequiredDescription
usernamestring-NoTikTok account username or email
passwordstring-Yes*TikTok account password
cookiesstring-Yes*Exported cookies from logged-in session (strongly recommended - TikTok has aggressive bot detection)
videoUrlstring-NoURL of the video file to upload (MP4 recommended)
captionstring-NoCaption for your video (max 2200 characters)
hashtagsarray-NoHashtags to add (without # prefix)
allowCommentsbooleantrueNoAllow comments on the video
allowDuetbooleantrueNoAllow others to duet with this video
allowStitchbooleantrueNoAllow others to stitch this video
isPrivatebooleanfalseNoMake the video private (only you can see it)
timeoutinteger180NoMaximum time to wait for the video upload to complete
webhookUrlstring-NoURL to receive a POST request when the actor run finishes. Useful for integrations with Zapier, Make, n8n, or custom automation workflows.
indexNowKeystring-NoOptional IndexNow API key for instant search engine indexing of posted content. Get your key at https://www.bing.com/indexnow
cookieStorageKeystring-NoKey to load cookies from the Cookie Manager's Named KV Store. Use this instead of manually pasting cookies. Run Cookie Manager in 'capture' mode first to store cookies, then reference the same storageKey here.
cookieKvStoreNamestring"cookie-sessions"NoName of the Named Key-Value Store where Cookie Manager saved the session. Defaults to 'cookie-sessions'.
proxyobjectApify ResidentialNoProxy configuration. Residential is strongly recommended. TikTok blocks datacenter IPs, so posting usually fails without it.
demoModebooleanfalseNoReturn a labeled sample result without posting. Also activates automatically when no credentials or cookies are supplied. Charges no task events.

* Provide either cookies/cookieStorageKey or username+password. Cookies are strongly preferred.


Pricing

This actor uses pay-per-event billing:

EventWhen it is chargedPrice
Actor startOnce when the run starts, one event per GB of memory (minimum one). At the default 2 GB of memory a run starts at $0.20$0.10 per GB
Video PostedPer video posted$0.05
ResultEach item written to the default dataset$0.00001

Demo runs (no credentials, or demoMode: true) charge no Video Posted events. If the maximum cost per run is too low to cover one posted video, the run posts nothing, ends with one row whose status is max_charge_too_low, and charges no Video Posted event. If TikTok shows an error after Post is clicked, the row has success: false with TikTok's message and no Video Posted event is charged.


Webhook

Set webhookUrl and the actor sends one POST request with a JSON body when the run finishes, after the result is saved. The run waits for the delivery, and a failed delivery is logged without failing the run.

{
"status": "success",
"actorId": "...",
"runId": "...",
"result": { "success": true, "videoUrl": "https://www.tiktok.com/@you/video/..." }
}

status is error when nothing was posted, and result then holds the same row as the dataset, including the reason. A run that fails with an error (for example a video URL that cannot be downloaded) still sends the webhook, with status set to error and the reason in result.error, before the run ends.


Troubleshooting

"Not logged in: TikTok did not accept the cookies"

Your TikTok session expired or was signed out. Log in to tiktok.com in your browser, export fresh cookies with Cookie-Editor (Export, then JSON), and paste them into cookies. If you use Cookie Manager, run it again to capture a fresh session. The run ends with one row whose status is not_logged_in, no video is posted, and no Video Posted event is charged.

"The TikTok cookies do not include sessionid"

The export was made from a tab that was not logged in, or only part of it was pasted. Export again from a logged-in tiktok.com tab and paste the whole array.

Check the key spelling, run Cookie Manager in capture mode for that key, and enter the store name or ID in cookieKvStoreName so this run is allowed to read it.

Username and password login fails

TikTok's login often shows a CAPTCHA that automation cannot clear. Use cookies instead.

Post never completes / times out

  • Add a residential proxy (proxy → Apify Residential group). TikTok blocks datacenter IPs, so uploads stall or fail without one.
  • Raise timeout (max 600s) for large videos on slow connections.

Video won't upload

  • Make sure videoUrl points at a directly downloadable MP4 (not a web page).
  • Keep captions under 2200 characters.

How do I test without posting?

Run the actor without credentials/cookies, or set demoMode: true. You get a labeled sample result, no video is posted, and no task events are charged.


Built by John Rippy | Actor Arsenal