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

[APIs](https://perceptlayer.com/apis) / [Takealot](https://perceptlayer.com/apis/takealot) / Search

# Takealot: Search

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

GET `/v1/takealot/search`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 100 characters |
| `category` | string | Optional | Any |
| `sort` | string | Optional | Relevance, Price Ascending, Price Descending, Rating Descending, ReleaseDate Descending |
| `brand` | string | Optional | Up to 80 characters |
| `facet` | string | Optional | Any |
| `min_price` | number | Optional | Any |
| `max_price` | number | Optional | Any |
| `after` | string | Optional | Up to 200 characters |
| `before` | string | Optional | Up to 200 characters |

## Example request

Takealot

GET /v1/takealot/search?query=laptop 

```
{
  "success": true,
  "data": {
    "query": "laptop",
    "products": [
      {
        "position": 1,
        "id": "102366512",
        "sku": "278057673",
        "tsin": "104284011",
        "title": "Lenovo IdeaPad Slim 3 Core 7 350 16GB 512GB 15.3\" WUXGA Laptop +Accessories",
        "subtitle": "Lenovo 15IWC11 | Camera Privacy Shutter | Lightweight | Copilot + PCs support | Windows 11 Home | Luna Grey",
        "brand": "Lenovo",
        "price": 17499,
        "discount": 30,
        "currency": "ZAR",
        "rating": 0,
        "review_count": 0,
        "availability": {
          "status": "In stock",
          "in_stock": true,
          "distribution_centres": [
            "…",
            "…",
            "…"
          ]
        },
        "image": "https://media.takealot.com/covers_images/1277edfe465d494fbfe1246c35f46442/s-pdpxl.file"
      },
      {
        "position": 2,
        "id": "101192415",
        "sku": "236715510",
        "tsin": "102953406",
        "title": "Lenovo IdeaPad Slim 3 Core i7 13620H 16GB DDR5 512GB 15.3\" WUXGA Notebook",
        "subtitle": "Lenovo 15IRH10 | Camera Privacy Shutter | Vivid Display | Thin and Compact | Windows 11 Home | Luna Grey",
        "brand": "Lenovo",
        "price": 18699,
        "currency": "ZAR",
        "rating": 5,
        "review_count": 1,
        "availability": {
          "status": "In stock",
          "in_stock": true,
          "distribution_centres": [
            "…",
            "…",
            "…"
          ]
        },
        "image": "https://media.takealot.com/covers_images/321db7b077e7411cb4e49a6bcd5a47fe/s-pdpxl.file"
      },
      {
        "position": 3,
        "id": "98544611",
        "sku": "223404278",
        "tsin": "99932875",
        "title": "Lenovo IdeaPad Slim 3 Core i5 13420H 8GB DDR5 512GB 15.3\" WUXGA Notebook",
        "subtitle": "Lenovo 15IRH10 | Camera Privacy Shutter | Vivid Display | Thin and Compact | Lightweight | Energy Efficient | Windows 11 Home | Luna Grey",
        "brand": "Lenovo",
        "price": 10999,
        "list_price": 14999,
        "sale_price": 10999,
        "discount": 26,
        "currency": "ZAR",
        "rating": 4.6,
        "review_count": 16,
        "availability": {
          "status": "In stock",
          "in_stock": true,
          "distribution_centres": [
            "…",
            "…",
            "…"
          ]
        },
        "image": "https://media.takealot.com/covers_images/27cc99ca268745c59c73c9e95914380b/s-pdpxl.file"
      }
    ],
    "count": 1233,
    "page_size": 36,
    "after": "WzExLjQ0Nzg2OCw5ODE3Mzc3MV0",
    "search_request": {
      "rows": 36
    }
  },
  "meta": {
    "endpoint_family": "search",
    "duration_ms": 441,
    "request_id": "req_03fa62c05f75471e910af8f342a38bee",
    "credits_charged": 1,
    "credits_remaining": 4809
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/takealot?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 |
| --- | --- |
| `products` | object\[\] |
| `after` | string |
| `search_request` | object |
