---
title: "Tiki API: Search | Perceptlayer"
description: "Search from Tiki as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/tiki/search
---

[APIs](https://perceptlayer.com/apis) / [Tiki](https://perceptlayer.com/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`.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Optional | Up to 120 characters |
| `category` | integer | Optional | Any |
| `url_key` | string | Optional | Up to 120 characters |
| `page` | integer | Optional | Any |
| `sort` | string | Optional | default, top\_seller, newest, price\_asc, price\_desc |
| `min_price` | number | Optional | Any |
| `max_price` | number | Optional | Any |
| `brand` | integer | Optional | Any |
| `rating` | integer | Optional | Any |

## 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 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/tiki?try=search#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.

| Field | Type |
| --- | --- |
| `currency` | string |
| `results` | object\[\] |
| `pagination` | object |
