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

[APIs](https://perceptlayer.com/apis) / [Tokopedia](https://perceptlayer.com/apis/tokopedia) / Search

# Tokopedia: Search

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

GET `/v1/tokopedia/search`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 120 characters |
| `page` | integer | Optional | Any |
| `sort` | string | Optional | relevance, price\_asc, price\_desc, rating |
| `min_price` | number | Optional | Any |
| `max_price` | number | Optional | Any |
| `min_rating` | number | Optional | Any |
| `category` | string | Optional | Up to 120 characters |
| `location` | string | Optional | Up to 120 characters |

## Example request

Tokopedia

GET /v1/tokopedia/search?query=sepatu+lari 

```
{
  "success": true,
  "data": {
    "query": "sepatu lari",
    "currency": "IDR",
    "results": [
      {
        "product_id": "103966754913",
        "title": "SALOMON XT-6 Unisex Outdoor Running Shoes Sepatu Lari Pria Hiking Shoes Sports Sneakers - L45406100",
        "price": 3869000,
        "original_price": 3899000,
        "discount_percent": 0.77,
        "currency": "IDR",
        "review_count": 0,
        "shop": {
          "id": "7494273546126722546",
          "name": "SALOMON Indonesia",
          "location": "Jakarta Utara",
          "is_official": true,
          "url": "https://www.tokopedia.com/salomon-indonesia"
        },
        "location": "Jakarta Utara",
        "category_id": "0",
        "image": "https://p16-images-sign-sg.tokopedia-static.net/tos-alisg-i-aphluv4xwc-sg/021762c50ed644228084d6de53f46d25",
        "url": "https://www.tokopedia.com/salomon-indonesia/salomon-xt-6-unisex-outdoor-running-shoes-sepatu-lari-pria-hiking-shoes-sports-sneakers-l45406100-1737664240586294770-1737664157653435890?extParam=ivf%3Dfalse%26keyword%3Dsepatu+lari%26search_id%3…",
        "shop_domain": "salomon-indonesia",
        "product_key": "salomon-xt-6-unisex-outdoor-running-shoes-sepatu-lari-pria-hiking-shoes-sports-sneakers-l45406100-1737664240586294770-1737664157653435890"
      },
      {
        "product_id": "103325892444",
        "title": "SPOTEC Running Epic 978 Sepatu Olahraga Lari Pria Wanita - 0182",
        "price": 376105,
        "original_price": 439900,
        "discount_percent": 14.5,
        "currency": "IDR",
        "review_count": 0,
        "shop": {
          "id": "11162592",
          "name": "Spotec",
          "location": "Kab. Sidoarjo",
          "is_official": true,
          "url": "https://www.tokopedia.com/spotec"
        },
        "location": "Kab. Sidoarjo",
        "category_id": "0",
        "image": "https://p16-images-sign-sg.tokopedia-static.net/tos-alisg-i-aphluv4xwc-sg/50ba995293ba4dc38219b562daccf173",
        "url": "https://www.tokopedia.com/spotec/spotec-running-epic-978-sepatu-olahraga-lari-pria-wanita-0182-1735375374927890409-1735375734223570921?extParam=ivf%3Dtrue%26keyword%3Dsepatu+lari%26search_id%3D202611180613321543843A4723ED1A3V5O%26src%3Dsear…",
        "shop_domain": "spotec",
        "product_key": "spotec-running-epic-978-sepatu-olahraga-lari-pria-wanita-0182-1735375374927890409-1735375734223570921"
      },
      {
        "product_id": "15917865559",
        "title": "Sepatu Kasogi Hainan Sepatu Dewasa Pria Laki-laki Olahraga Jogging Lari Runner Shoes",
        "price": 389925,
        "original_price": 519900,
        "discount_percent": 25,
        "currency": "IDR",
        "review_count": 0,
        "shop": {
          "id": "6426335",
          "name": "Kasogi Shoes",
          "location": "Surabaya",
          "is_official": true,
          "url": "https://www.tokopedia.com/kasogishoes"
        },
        "location": "Surabaya",
        "category_id": "0",
        "image": "https://p16-images-sign-sg.tokopedia-static.net/tos-alisg-i-aphluv4xwc-sg/img/VqbcmM/2025/2/12/64954d51-0950-4799-96f8-f3592c6b04ab.jpg",
        "url": "https://www.tokopedia.com/kasogishoes/sepatu-kasogi-dewasa-pria-olahraga-jogging-lari-hainan-hitam-putih-39-55f52?extParam=ivf%3Dfalse%26keyword%3Dsepatu+lari%26search_id%3D202611180613321543843A4723ED1A3V5O%26src%3Dsearch",
        "shop_domain": "kasogishoes",
        "product_key": "sepatu-kasogi-dewasa-pria-olahraga-jogging-lari-hainan-hitam-putih-39-55f52"
      }
    ],
    "pagination": {
      "page": 1,
      "per_page": 60,
      "has_next": true,
      "total_results": 98346,
      "filtered_out": 0
    }
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_701faad040bd4ddcbb20343f9c4fed23",
    "credits_charged": 1,
    "credits_remaining": 993
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

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