Spiral gives your agent every tool with one account. Browse the tools →

Muse Code · E-commerce

How to Use TikTok Shop product search in Muse Code

Returns product listings matching a keyword in the selected market. Use it for targeted product discovery across supported regions; page sizes vary, so follow the returned pagination values.

Prompts to try with TikTok Shop product search in Muse Code

Copy an example into Muse Code, or ask in your own words.

Use TikTok Shop product search to retrieve 'CeraVe cleanser' listings in the United States and add a deduplicated product research table to this project.

TikTok Shop product searchMuse Code
Try asking
  • Use TikTok Shop product search 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 search and tell me what changed since last week.

  • Check TikTok Shop product search and summarize what you find in three bullet points.

  • Pull the newest data from TikTok Shop product search and give me the result as a table.

How to set up TikTok Shop product search in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run TikTok Shop product search

    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-search-products-list",
        "input": {
          "search_word": "labubu"
        }
      }'

Then paste one of the prompts above: Muse Code finds TikTok Shop product search on Spiral, shows the price and runs it.

TikTok Shop product search providers and prices

Spiral runs TikTok Shop product search through TikHub. Open a card for today's price, with every fee included.

TikHubE-commerce
TikTok Shop · Search products list V1
tikhub/tiktok-shop-web-fetch-search-products-list

Settings you can ask for

Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Offseta whole number0

Offset

Every API field of TikTok Shop · Search products list V1 is on its tool page: open its card above.

What can you do with TikTok Shop product search in Muse Code?

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.

Plan a regional assortment

Combine keyword results, category browsing, and hot-selling discovery to assemble products for a buying review. Keep each market's category tree attached to its own product results.

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.

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.

Map category coverage

Build a market-specific category map and compare category browsing with keyword discovery. Use the differences to identify product areas that deserve a closer manual assortment review.

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.

Questions about TikTok Shop product search in Muse Code

Can Muse Code use TikTok Shop product search?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run TikTok Shop product search like any built-in tool.

How much does TikTok Shop product search cost in Muse Code?

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

Do I need a TikHub account to use TikTok Shop product search in Muse Code?

No. Spiral runs TikTok Shop product search 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 search in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while TikTok Shop product search runs?

TikTok Shop product search runs in the background. Muse Code 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.

Get started

Start using TikTok Shop product search in Muse Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Muse Code:

Set up Muse Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options