How to Use TikTok Shop product reviews in opencode
Returns product review ratings, dates, text, images, and purchase-verification information where present. Use it to investigate buyer feedback beyond the listing description, with pagination for additional reviews.
Prompts to try with TikTok Shop product reviews in opencode
Copy an example into opencode, or ask in your own words.
Use TikTok Shop product reviews to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from TikTok Shop product reviews and tell me what changed since last week.
Check TikTok Shop product reviews and summarize what you find in three bullet points.
Pull the newest data from TikTok Shop product reviews and give me the result as a table.
Check TikTok Shop product reviews every morning and tell me only when something changed.
How to set up TikTok Shop product reviews in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 Shop product reviews
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-shop-web-fetch-product-reviews-v2", "input": { "product_id": "1729408816995078528" } }'
Then paste one of the prompts above: opencode finds TikTok Shop product reviews on Spiral, shows the price and runs it.
TikTok Shop product reviews providers and prices
Spiral runs TikTok Shop product reviews through TikHub. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sort rule | a whole number | 2 | Most recent |
| Page start | a whole number | 1 | Page start |
| Filter type | a whole number | 1 | Verified purchase |
| Filter value | a whole number | 6 | For filter_type=1, 6=all and 5-1=star rating; use 1 for filter_type=2 or 3 |
Every API field of TikTok Shop · Get product reviews V2 is on its tool page: open its card above.
What can you do with TikTok Shop product reviews in opencode?
Build an internal TikTok Shop research table that connects discovered listings to product details and buyer feedback. A coding agent can adapt the project's parsers to changing page structures and preserve the different pagination behavior of search and category browsing.
Compare competing listings
Find competing products, inspect their listing information, and compare buyer feedback. Existing compact lookups can contribute the fields they return while being migrated to the documented product-detail response.
Prepare a campaign product brief
Identify shared products or candidates from the hot-selling feed, then assemble listing facts and review themes for an internal campaign brief. Preserve existing compact lookup results only as part of maintaining an established workflow.
Maintain an existing product research pipeline
Check that discovery results, category mappings, shared links, product lookups, and review records still join to the intended listings. Migrate deprecated compact lookups and verify that response changes do not silently remove useful data.
Find recurring product complaints
Discover comparable listings, inspect their product descriptions, and summarize recurring complaints from returned review text. Link each theme to the relevant listing instead of profiling reviewers.
Build a weekly buying shortlist
Combine shared product suggestions with keyword, category, and hot-selling discovery. Add review evidence to each candidate and produce an internal shortlist for the buying team.
Reconcile product research sources
Join products discovered through links, keywords, categories, and the hot-selling feed by product ID. Attach product details and reviews to create one internal research record per listing.
More on TikTok Shop product reviews and opencode
Overview
TikTok Shop product reviews in other agents
Questions about TikTok Shop product reviews in opencode
Can opencode use TikTok Shop product reviews?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run TikTok Shop product reviews like any built-in tool.
How much does TikTok Shop product reviews cost in opencode?
$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need a TikHub account to use TikTok Shop product reviews in opencode?
No. Spiral runs TikTok Shop product reviews 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 Shop product reviews in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while TikTok Shop product reviews runs?
TikTok Shop product reviews runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Is this public TikTok Shop data?
TikHub states that it accesses only publicly available data. The source boundary is public content rather than restricted platform information.
How fresh and complete is the data?
TikHub disclaims guarantees of accuracy, completeness, reliability, and timeliness. Its terms do not promise that a returned TikTok Shop result is a complete or current record.
Does TikTok Shop provide a fixed bestseller ranking here?
The hot-selling feed does not provide sales-ranking fields, and its order can change. A product's position in that response is not a documented sales rank.
Will one product search return the whole assortment?
TikHub documents variable page sizes for product search and batches of fewer than 20 products for category browsing. Category browsing should stop when there are no more results or no new products.
Are the same product details available for every listing?
Product page fields vary by product and region. Even the current product-detail endpoint can return different page structures, so a single fixed structure is not guaranteed.
Start using TikTok Shop product reviews in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


