npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-tiktok-business-api

v0.0.6

Published

n8n community node for interacting with TikTok Business API

Readme

n8n-nodes-tiktok-business-api

⚠️ DEPRECATION NOTICE

This package has been deprecated. Please migrate to the new package: n8n-nodes-tiktok-business

The new package provides improved functionality, better maintenance, and ongoing support. This package will no longer receive updates.

This is an n8n community node. It lets you use TikTok Business API in your n8n workflows.

TikTok Business API is a comprehensive platform that allows advertisers to programmatically manage their TikTok advertising campaigns, creative assets, and account information.

n8n is a fair-code licensed workflow automation platform.

Installation
Operations
Credentials
Compatibility
Usage
Resources

Installation

Follow the installation guide in the n8n community nodes documentation.

Operations

User Actions

  • Get User Info: Retrieve up-to-date information about the authenticated user

Advertiser Actions

  • Get Authorized Ad Accounts: Retrieve all ad accounts that the authenticated user has access to
  • Get Ad Account Details: Get detailed information about specific advertiser accounts

Image Actions

  • List Images: Retrieve a paginated list of images in an advertiser account
  • Get Info About Images: Get detailed information about specific images
  • Update Image Name: Rename an existing image in your account
  • Upload Image: Upload new images to your TikTok Business account from binary data, URLs, or file IDs

Creative Tool Actions

  • Delete Creative Assets: Remove images and videos from your creative asset library
  • Edit an Image: Modify images using various editing methods (fix size, gaussian padding, etc.)

Credentials

This node supports two authentication methods:

OAuth2 Authentication

  1. Create a TikTok Business API application in the TikTok for Business Developer Portal
  2. Obtain your Client ID and Client Secret
  3. Configure the OAuth2 redirect URL in your TikTok app settings
  4. Use the "TikTok Business OAuth2 API" credential type in n8n

Easy Auth (Simplified OAuth2)

  1. Use the "TikTok Business Easy Auth OAuth2 API" credential type
  2. Provide the authorization URL, access token URL, and advertiser get URL
  3. This method is useful for custom OAuth2 implementations or when using pre-configured endpoints

Cookie Authentication

  1. Use the "TikTok Business Cookie API" credential type
  2. Provide the CSRF token and session ID

Prerequisites:

  • A TikTok Business account
  • A registered application in the TikTok for Business Developer Portal
  • Appropriate permissions for the operations you want to perform

Compatibility

  • Minimum n8n version: 1.100.0
  • Tested with n8n versions: 1.100.0+
  • Node.js version: 20.15+
  • TikTok Business API versions: v1.2, v1.3 (default)

Usage

Basic Workflow Examples

Getting Started:

  1. Set up your TikTok Business API credentials
  2. Use "Get Authorized Ad Accounts" to retrieve your advertiser IDs
  3. Use the advertiser ID in subsequent operations

Image Management:

  • Upload images from your workflow using binary data or URLs
  • List and manage your creative assets
  • Edit images programmatically with various methods

Account Management:

  • Retrieve user information and account details
  • Get comprehensive advertiser account information including contact details, balance, and settings

Important Notes

  • Some operations require specific advertiser permissions
  • Image uploads support multiple formats and methods (binary data, URLs, file IDs)
  • The node supports both v1.2 and v1.3 of the TikTok Business API
  • Rate limits apply according to TikTok's API documentation

Resources