APIs / Tiki / Search

Tiki: Search

Search from Tiki as JSON. 1 credit per successful call.

GET /v1/tiki/search

Parameters

Send parameters in the query string.

Required Send query or category.

ParameterTypeRequiredAllowed values
querystringOptionalUp to 120 characters
categoryintegerOptionalAny
url_keystringOptionalUp to 120 characters
pageintegerOptionalAny
sortstringOptionaldefault, top_seller, newest, price_asc, price_desc
min_pricenumberOptionalAny
max_pricenumberOptionalAny
brandintegerOptionalAny
ratingintegerOptionalAny

Example request

Tiki
GET/v1/tiki/search?query=dien+thoai&sort=price_asc
{
  "success": true,
  "data": {
    "query": "dien thoai",
    "currency": "VND",
    "results": [
      {
        "id": "279839266",
        "sku": "4726483401865",
        "name": "Điện thoại Samsung Galaxy A08 LTE (4GB/64GB) - Hàng chính hãng",
        "brand_name": "Samsung",
        "brand_id": 18802,
        "price": 4790000,
        "original_price": 4790000,
        "rating_average": 0,
        "review_count": 0,
        "seller_id": 162514,
        "seller_product_id": 279839268,
        "thumbnail_url": "https://salt.tikicdn.com/ts/product/21/dd/be/757024e14d1ff46e9478a654ff85af4e.jpg",
        "url_path": "dien-thoai-samsung-galaxy-a08-lte-4gb-64gb-hang-chinh-hang-p279839266.html?spid=279839268",
        "availability": true,
        "currency": "VND",
        "images": [
          "https://salt.tikicdn.com/ts/product/21/dd/be/757024e14d1ff46e9478a654ff85af4e.jpg"
        ],
        "url": "https://tiki.vn/dien-thoai-samsung-galaxy-a08-lte-4gb-64gb-hang-chinh-hang-p279839266.html?spid=279839268"
      },
      {
        "id": "279839222",
        "sku": "3625086555086",
        "name": "Điện thoại Xiaomi Redmi A7 Pro (4GB/128GB) - Hàng chính hãng",
        "brand_name": "Xiaomi",
        "brand_id": 25422,
        "price": 4490000,
        "original_price": 4490000,
        "rating_average": 0,
        "review_count": 0,
        "seller_id": 162514,
        "seller_product_id": 279839224,
        "thumbnail_url": "https://salt.tikicdn.com/ts/product/db/cf/57/f91597104e5f20a7f39dadc95aa7fd44.jpg",
        "url_path": "dien-thoai-xiaomi-redmi-a7-pro-4gb-128gb-hang-chinh-hang-p279839222.html?spid=279839224",
        "availability": true,
        "currency": "VND",
        "images": [
          "https://salt.tikicdn.com/ts/product/db/cf/57/f91597104e5f20a7f39dadc95aa7fd44.jpg"
        ],
        "url": "https://tiki.vn/dien-thoai-xiaomi-redmi-a7-pro-4gb-128gb-hang-chinh-hang-p279839222.html?spid=279839224"
      },
      {
        "id": "279829326",
        "sku": "5699822918512",
        "name": "Điện thoại Oppo A6c (4GB/64GB) - Hàng chính hãng",
        "brand_name": "OPPO",
        "brand_id": 25643,
        "price": 4690000,
        "original_price": 4690000,
        "rating_average": 0,
        "review_count": 0,
        "seller_id": 162514,
        "seller_product_id": 279829328,
        "thumbnail_url": "https://salt.tikicdn.com/ts/product/dd/cc/8f/4ba6cf9fe9df8df3dc5acaec2ce16cbc.jpg",
        "url_path": "dien-thoai-oppo-a6c-4gb-64gb-hang-chinh-hang-p279829326.html?spid=279829328",
        "availability": true,
        "currency": "VND",
        "images": [
          "https://salt.tikicdn.com/ts/product/dd/cc/8f/4ba6cf9fe9df8df3dc5acaec2ce16cbc.jpg"
        ],
        "url": "https://tiki.vn/dien-thoai-oppo-a6c-4gb-64gb-hang-chinh-hang-p279829326.html?spid=279829328"
      }
    ],
    "pagination": {
      "page": 1,
      "per_page": 40,
      "has_next": true,
      "total_results": 2000
    },
    "filters": {
      "sorts": [
        "default",
        "top_seller",
        "newest"
      ]
    }
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_58cfb669bcd149ecbbecf2d38a170554",
    "credits_charged": 1,
    "credits_remaining": 4858
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

data has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
currencystring
resultsobject[]
paginationobject