---
title: "Browse a Tokopedia category"
method: GET
path: "/tokopedia/category"
tags: ["Tokopedia"]
---

# Browse a Tokopedia category

`GET /tokopedia/category`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/tokopedia/category`
- Auth: API key in header `x-api-key`

Returns public product cards from a canonical Tokopedia category path. `path` must begin with `/p/`; use the category page path, not a product or search URL.

## Query parameters

- `path` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- TokopediaCategoryResponseDoc
  - `code` integer
  - `data` TokopediaCategoryResponse
    - `category_path` string
    - `fetched_at` string
    - `products` TokopediaProduct[]
      - `image_url` string
      - `name` string
      - `price` integer
      - `price_text` string
      - `rating` string
      - `shop_city` string
      - `shop_name` string
      - `url` string
    - `source_url` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
