# TikTok Marketing API (TikTok API for Business) > TikTok for Business is TikTok's advertising platform. The TikTok API for Business — > Marketing API — is a REST API at business-api.tiktok.com/open_api/v1.3 for managing > advertiser accounts, campaigns, ad groups, ads, creatives, catalogs, audiences, > Business Centers, conversion measurement and reporting. TikTok also operates a hosted > Model Context Protocol server that packages roughly 400 of these endpoints as MCP tools. Generated by the API Evangelist enrichment pipeline on 2026-08-13. TikTok publishes no llms.txt of its own — /llms.txt returns 404 on business-api.tiktok.com, ads.tiktok.com and developers.tiktok.com. Three things dominate correct use of this API: - HTTP status is not the error channel. Almost every response is HTTP 200; success is `code == 0` inside the JSON body. A client that checks `response.ok` reads every error as a success. - There is no idempotency key. No write on this API is safe to blind-retry. - Every endpoint path ends in a trailing slash, and the slash is required. ## APIs - [TikTok Marketing API v1.3](https://business-api.tiktok.com/portal/docs): REST API, base https://business-api.tiktok.com/open_api/v1.3 - [Sandbox environment](https://business-api.tiktok.com/portal/docs?id=1738855331457026): base https://sandbox-ads.tiktok.com/open_api/v1.3, 21 supported endpoints - [TikTok for Business MCP Server](https://business-api.tiktok.com/portal/docs/tiktok-ads-mcp-server/v1.3): remote MCP, OAuth, ~400 tools ## MCP endpoints - https://business-api.tiktok.com/open_mcp/tt-ads-mcp-flat — full disclosure, ~400 tools at connect - https://business-api.tiktok.com/open_mcp/tt-ads-mcp-layer — progressive disclosure, ~40 core tools - Auth: OAuth 2.1 authorization code + PKCE, scope `mcp:tt4b`, dynamic client registration, 30-day grant - No developer app or API key required for MCP ## Specs - [OpenAPI 3.0.1 — 202 operations, 19 tags](https://raw.githubusercontent.com/api-evangelist/tiktok-ads/main/openapi/tiktok-ads-marketing-api-openapi.yml) - [Source fragments published by TikTok](https://github.com/tiktok/tiktok-business-api-sdk/tree/main/yml_files) ## Docs - [Developer portal](https://business-api.tiktok.com/portal) - [Get started](https://business-api.tiktok.com/portal/docs?id=1735713609895937) - [API reference](https://business-api.tiktok.com/portal/docs?id=1735713875563521) - [Authorization](https://business-api.tiktok.com/portal/docs?id=1738373141733378) - [Authentication](https://business-api.tiktok.com/portal/docs?id=1738373164380162) - [Permission scope reference](https://business-api.tiktok.com/portal/docs?id=1753986142651394) - [Rate limits](https://business-api.tiktok.com/portal/docs/rate-limits/v1.3) - [Return codes](https://business-api.tiktok.com/portal/docs?id=1737172488964097) - [HTTP status codes](https://business-api.tiktok.com/portal/docs?id=1749734684478466) - [Versioning and timelines](https://business-api.tiktok.com/portal/docs?id=1740029169927169) - [What's New changelog](https://business-api.tiktok.com/portal/docs?id=1740029165513730) - [Webhooks](https://business-api.tiktok.com/portal/docs?id=1759977800177665) - [Sandbox accounts](https://business-api.tiktok.com/portal/docs?id=1738855331457026) - [Postman collection](https://business-api.tiktok.com/portal/docs?id=1747849403155521) - [API service status](https://business-api.tiktok.com/portal/api-service-status) - [Status RSS](https://business-api.tiktok.com/marketing_api/api/status_page/incident/rss/) ## SDKs - Python: `pip install tiktok-business-api-sdk-official` (1.1.3, 2026-02-27) - JavaScript: `npm install tiktok-business-api-sdk-official` (1.1.3, 2026-02-27) - Java: source-only, `io.swagger:business_api_client:1.0.0`, build from the repo - iOS events: CocoaPods `TikTokBusinessSDK` (1.7.1, 2026-07-24) - Android events: `com.tiktok:tiktok-business-android-sdk` 1.7.0, GitHub release only - Source: https://github.com/tiktok/tiktok-business-api-sdk ## API Evangelist artifacts - [apis.yml](https://raw.githubusercontent.com/api-evangelist/tiktok-ads/main/apis.yml) - [Authentication profile](https://raw.githubusercontent.com/api-evangelist/tiktok-ads/main/authentication/tiktok-ads-authentication.yml) - [Permission scopes](https://raw.githubusercontent.com/api-evangelist/tiktok-ads/main/scopes/tiktok-ads-scopes.yml) - [Error codes](https://raw.githubusercontent.com/api-evangelist/tiktok-ads/main/errors/tiktok-ads-error-codes.yml) - [Rate limits](https://raw.githubusercontent.com/api-evangelist/tiktok-ads/main/rate-limits/tiktok-ads-rate-limits.yml) - [API conventions](https://raw.githubusercontent.com/api-evangelist/tiktok-ads/main/conventions/tiktok-ads-conventions.yml) - [MCP server](https://raw.githubusercontent.com/api-evangelist/tiktok-ads/main/mcp/tiktok-ads-mcp.yml) - [MCP tool crosswalk](https://raw.githubusercontent.com/api-evangelist/tiktok-ads/main/mcp/tiktok-ads-tool-crosswalk.yml) - [Webhook catalog](https://raw.githubusercontent.com/api-evangelist/tiktok-ads/main/asyncapi/tiktok-ads-webhooks.yml) - [Sandbox](https://raw.githubusercontent.com/api-evangelist/tiktok-ads/main/sandbox/tiktok-ads-sandbox.yml) - [Lifecycle](https://raw.githubusercontent.com/api-evangelist/tiktok-ads/main/lifecycle/tiktok-ads-lifecycle.yml) - [Agent skills](https://raw.githubusercontent.com/api-evangelist/tiktok-ads/main/skills/_index.yml) ## Optional - [TikTok for Business](https://www.tiktok.com/business/) - [Ads Manager](https://ads.tiktok.com/) - [Help center](https://ads.tiktok.com/help/) - [Developer blog](https://business-api.tiktok.com/portal/blog) - [Terms of service](https://www.tiktok.com/legal/page/global/terms-of-service/en) - [Privacy policy](https://www.tiktok.com/legal/page/global/privacy-policy/en) - [Security vulnerability reporting](https://hackerone.com/tiktok)