Skip to main content
Creators link their own TikTok Shop accounts in Growi. Growi imports every order line, back to when the shop started, and matches sales to the posts and products behind them. The same numbers the dashboard shows come out of these endpoints, for any date range. All endpoints are GET and live under:

Two kinds of key

An organization key reads an account while all three hold: the creator shares it with your organization, the creator is in one of your programs, and the account is still linked. When a creator turns sharing off, leaves your programs or unlinks the account, it drops out on the next call. Creators share with your main organization, so pass no organization_id; a child brand answers 403. A creator key reads the creator’s own accounts, exactly what their dashboard shows, and nothing shared with them by anyone else. It works only on these endpoints: every other endpoint and the MCP server answer 401 to it. The full key is shown once, when it’s created. Revoking a key stops it right away.

Choosing creators and accounts

With user_id, q and exclude_account_ids are ignored. To go creator by creator, list GET /creators (or GET /accounts), then pass each user_id.

Dates

Comparisons (overview, daily) use the same number of days just before from.

Paging

  • Lists (creators, posts, products, showcase) take page (from 1), per_page (1 to 100) and sort / dir.
  • Order lines page with a cursor: pass limit (1 to 100) and then cursor=<next_cursor> from each answer until next_cursor is null.
  • For a whole range at once, export the order lines as one CSV file. One export runs at a time per key; a second one while the first is still running answers 429 with export_in_progress. Past the row cap the file stops and the response carries X-Truncated: true; split the range and export again.

Posts

GET /posts has two tabs: tab=with_sales (posts that sold something in the range) and tab=no_sales (posts with no sales, with the product they tagged). Rows carry views, likes, comments, shares and saves. TikTok counts slideshows (photo carousels) as videos in its order data. Each post row says what it really is in post_kind: video, slideshow, live, other, or null for a post Growi hasn’t fetched yet. LIVEs show their sales per LIVE; LIVE viewer counts aren’t included.

Rate limits

Creator analytics calls have their own budget per key, apart from your other API calls: Neither budget affects the other: paging through order lines doesn’t make your other integrations wait, and the reverse. Every answer counts, errors included (404, 422, 503); calls refused before they run (401, 403, 429) don’t. The X-RateLimit-* headers and Retry-After work as described in rate limits. At 100 order lines a page that’s up to 100,000 lines an hour.

Errors

Examples

Set your key and the base URL once:
With a creator key, leave out user_id: every call reads your own accounts.

Pulling everything

1

List the accounts

GET /accounts (or GET /creators for one row per account with its numbers).
2

Pull the order lines

GET /orders with from and to, then cursor=<next_cursor> until it’s null. Or GET /orders/export for one CSV per range.
3

Add posts, products, samples and showcase

Per creator with user_id, or across everyone at once (showcase needs user_id or account_ids with an organization key).