[Integrations](https://spiral.ai/integrations) › [Devin](https://spiral.ai/integrations/devin) › [TikTok account posts](https://spiral.ai/integrations/devin/tiktok-account-posts)

# How to Use TikTok account posts in Devin

Returns homepage video records for a TikTok account across successive pages. Use it to build a public brand content inventory from the posts it published.

|  |  |
| --- | --- |
| Model | TikTok account posts |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.0013 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with TikTok account posts in Devin

- Use TikTok account posts to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from TikTok account posts and tell me what changed since last week.
- Check TikTok account posts and summarize what you find in three bullet points.
- Pull the newest data from TikTok account posts and give me the result as a table.
- Check TikTok account posts every morning and tell me only when something changed.

## How to set up TikTok account posts in Devin

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add a custom MCP**: Open Customize › MCPs. Click + and choose New MCP. Fill in:

2. **Sign in to Spiral and approve**: In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

3. **Check it**: On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

### Use the Spiral skill

1. **Send Devin this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run TikTok account posts**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "tikhub",
    "model": "tikhub/tiktok-app-v3-fetch-user-post-videos-v2",
    "input": {
      "count": 20
    }
  }'
```

Then paste one of the prompts above: Devin finds TikTok account posts on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/devin

## TikTok account posts tools and prices

- [TikTok App · Get user homepage video data V2](https://spiral.ai/tools/tikhub/tikhub/tiktok-app-v3-fetch-user-post-videos-v2) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| count |  | 20 | Number per page |
| sort_type |  | 0 | Sort type |
| unique_id |  |  | User unique_id |
| max_cursor |  | 0 | Maximum cursor |
| sec_user_id |  |  | User sec_user_id |

## What can you do with TikTok account posts in Devin?

Build a brand research view that keeps TikTok country, content, and public account connections in separate sections. A coding agent can turn retrieved records into project data and add pagination for longer lists.

### Prepare a brand account brief

Build a brief for a public brand such as Duolingo: find candidate accounts, add account country, inventory posts and music, and separate reposts from visible likes. Review only public business and creator accounts in follower and following results.

### Compare public brand activity

Compare Red Bull and GoPro using the same research scope: account discovery, country, published videos, music lists, reposts, visible likes, and connections to public organizations. Keep each activity separate so the comparison shows what each brand publishes and selects.

### Research a potential content collaboration

Prepare questions for a collaboration with a public artist or business. Review account country, published work, music, reposts, visible likes, and public creator or business connections; use account search to investigate additional candidates.

### Maintain a weekly brand research digest

Compare scheduled retrievals for a fixed list of public brands. Report changes in account discovery, country, published videos, music, reposts, visible likes, and connections to public organizations, with separate sections for each type of evidence.

### Separate published and selected content

Create an editorial review of a brand's own videos alongside its reposts, visible liked videos, and music list. Give each record its source category so the review preserves the difference between publishing and selecting content.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All Devin guides](https://spiral.ai/integrations/devin)

## TikTok account posts in other agents

- [Amp](https://spiral.ai/integrations/amp/tiktok-account-posts)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/tiktok-account-posts)
- [Claude](https://spiral.ai/integrations/claude-desktop/tiktok-account-posts)
- [Claude Code](https://spiral.ai/integrations/claude-code/tiktok-account-posts)
- [Cline](https://spiral.ai/integrations/cline/tiktok-account-posts)
- [Codex](https://spiral.ai/integrations/codex/tiktok-account-posts)
- [Cursor](https://spiral.ai/integrations/cursor/tiktok-account-posts)
- [dots](https://spiral.ai/integrations/dots/tiktok-account-posts)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/tiktok-account-posts)
- [Gemini](https://spiral.ai/integrations/gemini/tiktok-account-posts)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/tiktok-account-posts)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/tiktok-account-posts)
- [goose](https://spiral.ai/integrations/goose/tiktok-account-posts)
- [Grok](https://spiral.ai/integrations/grok/tiktok-account-posts)
- [Grok Build](https://spiral.ai/integrations/grok-build/tiktok-account-posts)
- [Hermes](https://spiral.ai/integrations/hermes/tiktok-account-posts)
- [Instinct](https://spiral.ai/integrations/instinct/tiktok-account-posts)
- [Manus](https://spiral.ai/integrations/manus/tiktok-account-posts)
- [Muse](https://spiral.ai/integrations/muse/tiktok-account-posts)
- [Muse Code](https://spiral.ai/integrations/muse-code/tiktok-account-posts)
- [n8n](https://spiral.ai/integrations/n8n/tiktok-account-posts)
- [Notion](https://spiral.ai/integrations/notion/tiktok-account-posts)
- [OpenClaw](https://spiral.ai/integrations/openclaw/tiktok-account-posts)
- [opencode](https://spiral.ai/integrations/opencode/tiktok-account-posts)
- [Perplexity](https://spiral.ai/integrations/perplexity/tiktok-account-posts)
- [Raycast](https://spiral.ai/integrations/raycast/tiktok-account-posts)
- [VS Code](https://spiral.ai/integrations/vscode/tiktok-account-posts)
- [Windsurf](https://spiral.ai/integrations/windsurf/tiktok-account-posts)
- [Zapier](https://spiral.ai/integrations/zapier/tiktok-account-posts)

## More Devin guides

- [TikTok account music list](https://spiral.ai/integrations/devin/tiktok-account-music-list)
- [TikTok account reposts](https://spiral.ai/integrations/devin/tiktok-account-reposts)
- [TikTok account liked videos](https://spiral.ai/integrations/devin/tiktok-account-liked-videos)
- [TikTok account search](https://spiral.ai/integrations/devin/tiktok-account-search)
- [TikTok account following](https://spiral.ai/integrations/devin/tiktok-account-following)
- [TikTok account secUid](https://spiral.ai/integrations/devin/tiktok-account-secuid)

## Questions about TikTok account posts in Devin

**Can Devin use TikTok account posts?**

Yes. Add Spiral to Devin as an MCP server, and Devin can find and run TikTok account posts like any built-in tool.

**How much does TikTok account posts cost in Devin?**

$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Devin plan is separate.

**Do I need a TikHub account to use TikTok account posts in Devin?**

No. Spiral runs TikTok account posts on its own TikHub account. You sign in to Spiral once and never paste a key.

**How long does it take to set up TikTok account posts in Devin?**

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

**Does Devin wait while TikTok account posts runs?**

TikTok account posts runs in the background. Devin starts the run, checks on it and gives you the json when it's ready.

**How fresh is the TikTok data?**

TikHub describes each API request as fetching fresh, real-time data, including repeated requests with identical inputs.

**Can deleted or private TikTok content be retrieved?**

TikHub says TikTok content that has been deleted or made private returns a 400 response.

**How many TikTok followers can one page contain?**

The follower list documentation caps the requested page size at 20 and says to keep it fixed while paging.

**Does data access include ownership or unrestricted reuse?**

TikHub says it does not own the underlying data. Users remain responsible for how retrieved data is used, stored, and processed.

