Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

TikTok Shop Search

Documentazione API
https://api.sandbase.ai/v1/api/tiktok-shop/search

Search TikTok Shop products by keyword across 15 countries: price, sales, rating, and seller info per product, in one normalized response.

Prezzo
Da $0.00095USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 3 opzionali

Playground

Input
Search keyword for TikTok Shop products (e.g. wireless earbuds).
Maximum products to return, honoured on US searches up to 30. Other countries and larger values return every product TikTok Shop gives for the query, typically about 30 and occasionally more than 50. The price per call is the same either way. Minimo: 1.
Country code of the TikTok Shop market to search (e.g. US).
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `currency`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when 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.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

TikTok Shop Search API

Returns a list of TikTok Shop products that match a search keyword. Each product has a price, a sold count, the shop name, and a product link. You send a query and can pick a country market.

Use cases

  • Compare prices for the same product type across competing TikTok Shop sellers.
  • Spot fast-selling products in a niche by sorting results on soldCount.
  • Build a list of shops that sell in a category by collecting shopName and sellerId.
  • Run the same query with different country values to check which markets carry a product.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok-shop/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit": 3, "query": "phone case"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
querystringYesSearch keyword for TikTok Shop products (e.g. wireless earbuds).
countrystringNoCountry code of the TikTok Shop market to search (e.g. US).
limitintegerNoMaximum products to return, honoured on US searches up to 30. Other countries and larger values return every product TikTok Shop gives for the query, typically about 30 and occasionally more than 50. The price per call i
requireFieldsarrayNoOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example currency, and it is served only by a source that returns every one o

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "items": [
      {
        "currency": "USD",
        "image": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/b369a4c…",
        "price": 1.89,
        "productId": "1732493173845955041",
        "sellerId": "7494773196461475297",
        "shopName": "L-PureShell",
        "soldCount": 29,
        "title": "Magnetic Fit Slim Clear-1 Protector Cover for iPhone 17,16 Pro Max,16,15,14,13,1…",
        "url": "https://www.tiktok.com/shop/pdp/1732493173845955041"
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.items[].titleProduct title as listed in the shop. Long titles may be cut.
data.items[].price / data.items[].currencyListed price of the product and the currency code for that price, such as USD.
data.items[].soldCountNumber of units sold for the product.
data.items[].ratingProduct rating, for example 4.7. Some products have no rating in the response.
data.items[].productIdID of the product on TikTok Shop. Use it to look up more product detail.
data.items[].shopName / data.items[].sellerIdName and ID of the shop that sells the product.
data.items[].urlLink to the product page on TikTok Shop.
data.items[].imageLink to the product image.
foundtrue when the search returned products.

Notes

  • Pass the productId to TikTok Shop Product for full product detail, or to TikTok Shop Product Reviews for reviews.
  • Use sellerId with TikTok Shop Store Products to list more products from the same shop.
  • Set limit to cap the number of products. It is honoured only on US searches up to 30. Other countries return every product found.
  • rating is missing on some products, so handle items without it. To require currency or reviewCount in the output, list them in requireFields.

Pricing

Billed at the actual cost of each call, about $0.00095 for the request above. Failed calls are not charged.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
TikTok ShopDa $0.00095 per chiamataJSON
TikTok ShopDa $0.0012 per chiamataJSON
TikTok ShopDa $0.0055 per chiamataJSON
TikTok ShopDa $0.0012 per chiamataJSON
TikTok ShopDa $0.00095 per chiamataJSON
TikTok ShopDa $0.00095 per chiamataJSON

Guide:Best TikTok Shop API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API TikTok Shop Search?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/tiktok-shop/search con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API TikTok Shop Search?

A partire da $0.00095 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API TikTok Shop Search?

Richiesti: query (string). Facoltativi: limit (integer), country (uno tra US, VN, TH, PH, MY, ID, GB, SG, ES, MX, DE, IT, FR, BR, JP) e requireFields (array). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API TikTok Shop Search?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API TikTok Shop?

No. TikTok Shop Search funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API TikTok Shop.