[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [TikTok Shop products by category](https://spiral.ai/integrations/gemini/tiktok-shop-products-by-category)

# How to Use TikTok Shop products by category in Gemini

Returns product listings from a selected TikTok Shop category. Use it to examine an assortment without choosing a keyword; batches can contain fewer than 20 products.

|  |  |
| --- | --- |
| Model | TikTok Shop products by category |
| Available through | TikHub |
| Category | E-commerce |
| Price | $0.0013 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with TikTok Shop products by category in Gemini

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

## How to set up TikTok Shop products by category in Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Gemini 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 Shop products by category**: 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-shop-web-fetch-products-by-category-id",
    "input": {
      "category_id": 963976
    }
  }'
```

Then paste one of the prompts above: Gemini finds TikTok Shop products by category on Spiral, shows the price and runs it.

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

## TikTok Shop products by category tools and prices

- [TikTok Shop · Get products by category ID](https://spiral.ai/tools/tikhub/tikhub/tiktok-shop-web-fetch-products-by-category-id) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| offset |  | 0 | Offset for pagination |
| region |  | US | GB and BR are unavailable. |

## What can you do with TikTok Shop products by category in Gemini?

Create a TikTok Shop product shortlist with listing facts and buyer feedback for a buying discussion. A chat app can explain the returned category structure, compare discovered listings, and turn review text into product-specific questions.

### 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.

### 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.

### 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.

## Overview

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

## TikTok Shop products by category in other agents

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

## More Gemini guides

- [TikTok Shop product search](https://spiral.ai/integrations/gemini/tiktok-shop-product-search)
- [TikTok Shop seller products](https://spiral.ai/integrations/gemini/tiktok-shop-seller-products)
- [TikTok Shop product reviews](https://spiral.ai/integrations/gemini/tiktok-shop-product-reviews)
- [TikTok Shop store products](https://spiral.ai/integrations/gemini/tiktok-shop-store-products)
- [TikTok Shop product page data](https://spiral.ai/integrations/gemini/tiktok-shop-product-page-data)
- [TikTok creator showcase products](https://spiral.ai/integrations/gemini/tiktok-creator-showcase-products)

## Questions about TikTok Shop products by category in Gemini

**Can Gemini use TikTok Shop products by category?**

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run TikTok Shop products by category like any built-in tool.

**How much does TikTok Shop products by category cost in Gemini?**

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

**Do I need a TikHub account to use TikTok Shop products by category in Gemini?**

No. Spiral runs TikTok Shop products by category 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 products by category in Gemini?**

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Does Gemini wait while TikTok Shop products by category runs?**

TikTok Shop products by category runs in the background. Gemini 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.

