How to Use TikTok collection contents in Devin
Returns the list for a selected TikTok collection. Use it to examine one collection rather than an account's full posting history.
Prompts to try with TikTok collection contents in Devin
Copy an example into Devin, or ask in your own words.
Use TikTok collection contents for collection 7101538765474106158 and adapt our collection parser to the actual returned list.
Use TikTok collection contents to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from TikTok collection contents and tell me what changed since last week.
Check TikTok collection contents and summarize what you find in three bullet points.
Pull the newest data from TikTok collection contents and give me the result as a table.
How to set up TikTok collection contents in Devin
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add a custom MCP
Open Customize › MCPs. Click + and choose New MCP. Fill in:
- 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.
- Check it
On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.
Use the Spiral skill
- Send Devin this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run TikTok collection contents
One request; the result comes back by polling or a webhook.
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-web-fetch-user-mix", "input": { "mixId": "7101538765474106158" } }'
Then paste one of the prompts above: Devin finds TikTok collection contents on Spiral, shows the price and runs it.
TikTok collection contents providers and prices
Spiral runs TikTok collection contents through TikHub. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Devin for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Count | a whole number | 30 | Number per page |
| Cursor | a whole number | 0 | Page cursor |
Every API field of TikTok Web · Get user mix list is on its tool page: open its card above.
What can you do with TikTok collection contents in Devin?
Build a TikTok research importer that handles content lists and identifier responses correctly. A coding agent can inspect actual responses, adapt your project's parsers, and keep account, video, collection, and LIVE room records distinct.
Prepare a brand content review
Review a public brand's profile, published posts, playlist organization, selected collections, and reposts before drafting an editorial brief.
Compare public creator content
Compare the returned profiles and content lists of public creators being considered for a campaign. Examine published work, organized collections, and reposts separately.
Build an internal editorial inventory
Organize a brand's returned profile, posts, playlists, collection contents, and reposts into an internal reference for content planning.
Review changes to a brand's TikTok presence
Compare successive retrievals of a public brand's profile and content lists. Report observed additions or differences in posts, playlists, collections, and reposts.
Create TikTok response fixtures
Collect actual responses for an internal parser test suite: account profiles, content lists, extracted identifiers, generated email hashes, and web device ID responses.
Debug a TikTok data importer
Inspect the actual response at each failing stage: link resolution, hash generation, web device ID generation, profile retrieval, or content-list retrieval. Use those responses to locate the parser or identifier mismatch.
More on TikTok collection contents and Devin
Overview
TikTok collection contents in other agents
Questions about TikTok collection contents in Devin
Can Devin use TikTok collection contents?
Yes. Add Spiral to Devin as an MCP server, and Devin can find and run TikTok collection contents like any built-in tool.
How much does TikTok collection contents 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 collection contents in Devin?
No. Spiral runs TikTok collection contents 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 collection contents in Devin?
About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.
Does Devin wait while TikTok collection contents runs?
TikTok collection contents runs in the background. Devin starts the run, checks on it and gives you the json when it's ready.
Can TikHub retrieve private TikTok content?
TikHub states that it accesses only publicly available data. Its documented scope excludes private, restricted, and password-protected content.
Does TikHub guarantee that TikTok data is complete and current?
TikHub disclaims guarantees of data accuracy, completeness, reliability, and timeliness. A returned content list therefore carries no guarantee of complete historical coverage or immediate updates.
How many TikTok posts can one page contain?
TikTok creator posts returns up to 15 posts per page, ordered newest first. The deprecated sorting setting does not change that order.
Can I request larger pages of TikTok reposts?
TikTok creator reposts uses a fixed page size of 20. TikHub explicitly says that this size cannot be changed.
What use does TikHub's license permit?
TikHub's service license specifies lawful internal business purposes. TikTok's U.S. terms separately prohibit automated scripts that collect information from or interact with its services.
Start using TikTok collection contents in Devin
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Devin:
set up https://spiral.ai/SKILL.md


