# Overview

What the tiktornado API and MCP server can do, the base URL, and how accounts, posts, uploads, stats, comments and posting times fit together.

tiktornado gives you managed TikTok accounts. The API and the MCP server let your own code, or an AI agent, work with those accounts the way the tiktornado app does.

## What you can do [#what-you-can-do]

- List your accounts and see which ones can take posts.
- Upload videos and photos, or post from a public `https` link.
- Schedule a post for a time, post it now, or give it the account's next free posting time.
- Use every TikTok post setting: music, cover, privacy, comments, duets and stitches, branded content, the AI label, a location and ads only.
- Edit, move and cancel posts until 10 minutes before they go out.
- Send a post to the account's TikTok drafts instead of publishing it.
- Set each account's weekly posting times.
- Read each post's stats, and daily totals per account or for all accounts.
- Read the comments on your posts and reply to them.

Every post you make through the API or MCP is an ordinary tiktornado post. It shows in the tiktornado app and follows the same rules as a post made there.

<Callout type="warn" title="There is no test mode">
Every request acts on your real accounts. A post you schedule goes to TikTok.
</Callout>

## Two ways in [#two-ways-in]

| | REST API | MCP server |
| --- | --- | --- |
| Address | `https://api.tiktornado.com/api/v1` | `https://api.tiktornado.com/mcp` |
| Best for | Scripts, backends, scheduled jobs | Claude Code, Codex and Cursor |
| Sign in | Your API key as a bearer token | The same API key |

Both use the same keys, scopes, limits and rules. Each MCP tool is a call to the REST API with your key, so anything an agent does, your code could do too. See [Authentication](/getting-started/authentication) and [MCP server](/mcp).

## The objects [#the-objects]

```text
Account ──< Post ──< Comment ──< Reply
   │          │
   │          ├── Media (from an upload or a public link)
   │          └── Stats
   ├── Posting times
   └── Daily stats
```

- **Account.** One of your TikTok accounts, with an `id`, a `username` and a `status`. Only `active`, `shadow_banned` and `needs_reconnecting` accounts take new posts. `GET /accounts` lists them.
- **Upload.** A link to send one file to, and a `mediaRef` to put in a post afterwards. You can also skip the upload and use a public `https` link to the file. See the [quickstart](/getting-started/quickstart).
- **Post.** A video, or 1 to 35 photos, for one account, with a caption, optional [settings](/posting/post-settings) and a time. Its `status` tells you where it is: see [Post statuses](/posting/post-statuses).
- **Stats.** A post's views, likes, comments, shares and saves, read from TikTok over time, plus what each UTC day added. See [Stats](/posting/stats).
- **Comment.** A TikTok comment on one of your posts, with the replies you sent from tiktornado. See [Comments and replies](/posting/comments).
- **Posting times.** An account's weekly time slots. A post sent with `queue: true` takes the next free one. See [Posting queues](/posting/posting-queues).

## How requests work [#how-requests-work]

- Bodies are JSON, at most 64 KB. A body must have exactly the fields the route lists: an unknown field is refused with `invalid_request`, never ignored. A field sent as `null` is refused too, unless the route says it takes `null`.
- Query parameters work the other way round: a route reads the ones it lists and ignores any other.
- Ids are strings of letters and digits. An id that isn't yours answers 404, exactly like one that doesn't exist.
- Times you send are ISO 8601 with a time zone, such as `2026-12-02T15:00:00Z` or `2026-12-02T16:00:00+01:00`. Times we send are in UTC, such as `2026-12-02T15:00:00.000Z`. Days are `YYYY-MM-DD` in UTC.
- Every error has the same shape. See [Errors](/getting-started/errors).
- The API answers when you ask and never calls you back. To follow a post, read it again with `GET /posts`.

## Next [#next]

<Cards>
<Card href="/getting-started/quickstart" title="Quickstart">
From a new key to a scheduled post.
</Card>

<Card href="/api-reference" title="API reference">
Every route, field and answer.
</Card>
</Cards>