Commerce6 min readBy Purrkey teamUpdated

How to search TikTok Shop products by keyword and country

Search TikTok Shop products by keyword across 15 countries and get price, sales, rating, and seller details in one normalized response

On this page

You need to scan 30 phone-case listings on TikTok Shop in the US and the same keyword in Germany before you set a promotional price band for the next campaign. The deliverable is one table of product rows from both searches, with price, sales, rating and seller details, so you can compare the two markets and feed a pricing and assortment decision

No run has been executed for this guide, so the table is a design, not a result

Example input and worksheet design

Example input, invented for this guide: query is phone case, with country set to US and then DE. Values in the worksheet below are placeholders showing the shape, not product data

productIdtitlepriceoriginalPricediscountPctcurrencysoldCountratingreviewCountshopNamesellerIdurlcountry searched
(id)(title)(number)(number or empty)(number or empty)(currency)(integer)(number or empty)(integer or empty)(shop name)(seller id)(product URL)US
(id)(title)(number)(number or empty)(number or empty)(currency)(integer)(number or empty)(integer or empty)(shop name)(seller id)(product URL)DE

The country searched column keeps the two runs apart when the same keyword appears in both markets. The table is the deliverable for the pricing and assortment review

What the search takes

anyapi.tiktok_shop.search takes query as the required keyword. country is optional and defaults to US; the enum covers US, VN, TH, PH, MY, ID, GB, SG, ES, MX, DE, IT, FR, BR and JP. limit is optional and set from the desired row count

requireFields is optional and takes currency, reviewCount, or both. Omit it and routing is unchanged, with the cheapest source serving. Name a field and the request is served only by a source that returns that field. If the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge

Set the limit for each country

limit is honoured on US searches up to 30. For the US search set limit to 30. Other countries and larger values return the result set TikTok Shop gives for the query, typically about 30 and occasionally more than 50, at the same per-call price. For Germany, a limit of 30 is not a hard row cap, so plan for roughly that many rows and check the response length before you compare

How to read the output fields

The response has found and data. When data is not null, data.items is an array of product records. productId, title and url are the must-populate fields. price is the current sale price. originalPrice is omitted when the product is not on sale, and discountPct is omitted when the product is not discounted. currency is the ISO currency name. soldCount is units sold. rating is omitted when the product has no rating yet. reviewCount is omitted when the lane that served the request does not report it. shopName is the seller shop name, and sellerId joins to the seller's other products

Compare price, soldCount and shopName in the table for the pricing and assortment decision. Use url for a manual check. When found is false, reason is not_found. That is a successful call, not an error, and the row set is empty

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to search TikTok Shop products by keyword and country.

Check the current inputs and price of anyapi.tiktok_shop.search before running anything. Use this Example input, invented for the guide: query "phone case", country US with limit 30, then the same query with country DE and limit 30. Call anyapi.tiktok_shop.search once for the US search and once for the Germany search.

Return one table with these columns: productId, title, price, originalPrice, discountPct, currency, soldCount, rating, reviewCount, shopName, sellerId, url, country searched. Keep rows for both countries, use the country you searched in the last column, and leave a field empty when the response omits it. If found is false, add no product row for that country and note reason not_found. Do not invent product records.

Estimated tool cost

Prices from the Purrkey catalog, read on November 13, 2026, price revision anyapi-catalog-2026-11-05. Agents call it through POST /v1/runs with toolId anyapi.tiktok_shop.search, and the tool id is anyapi.tiktok_shop.search. The catalog lists the unit as max_call: Maximum per call. Successful runs settle at the actual AnyAPI charge. The totals below are ceilings, not settled charges. Model fees for the agent are not counted

StepFormulaUnit pricePlanned quantityTotal
One keyword search1 call x up to $0.0015up to $0.0015 per call1 callat most $0.0015
US and Germany plan2 calls x up to $0.0015up to $0.0015 per call2 callsat most $0.0030
Five country searches5 calls x up to $0.0015up to $0.0015 per call5 callsat most $0.0075

The two-country plan covers the US search and the Germany search in this guide. One keyword search is one call, and five country searches are five calls

Run the first two searches

Open the TikTok Shop search tool to check the current inputs and price, then run the US search with limit 30 and the Germany search with the same query

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with TikTok Shop.
Explore TikTok Shop tools and pricing

FAQ

How do I search TikTok Shop products by keyword and country?

Use anyapi.tiktok_shop.search with query and country; country defaults to US. Set limit to the row count you want, then read the items table.

What inputs does anyapi.tiktok_shop.search take?

It takes required query, optional country from the 15-country enum, optional limit, and optional requireFields with currency or reviewCount.

Does the limit work for TikTok Shop searches outside the US?

limit is honoured on US searches up to 30. Other countries and larger values return the result set TikTok Shop gives for the query, typically about 30 and occasionally more than 50, at the same per-call price.

Which output fields drive a price comparison?

price, originalPrice, discountPct, currency, soldCount, shopName, sellerId, rating and reviewCount support the comparison, along with productId, title and url.

What happens when no product is found?

found is false, reason is not_found, and the call is successful rather than an error.

What does requireFields change?

Naming currency or reviewCount makes the request serve only from a source that returns each named field. If the cheapest source cannot, a dearer source serves and its price is quoted and charged; a combination no source returns together is refused as invalid input, with no charge.

How much does one search or five country searches cost?

At up to $0.0015 per call, one keyword search is at most $0.0015 and five country searches are at most $0.0075. Successful runs settle at the actual AnyAPI charge, and model fees for the agent are not counted.

Next step

Try this with TikTok Shop

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See TikTok Shop tools

Share this article