---
title: "Get Trustpilot categories"
method: GET
path: "/trustpilot/categories"
tags: ["Trustpilot"]
---

# Get Trustpilot categories

`GET /trustpilot/categories`

## Request

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

Lists the Trustpilot category index grouped by top-level category. Each group has its name, slug and URL, and an `items` list of subcategories with their own name, slug and URL. It takes no parameters.

## Headers

- `x-api-key` string, required

## Response `200`

OK

- TrustpilotCategoriesResponseDoc
  - `code` integer
  - `data` TrustpilotCategoriesResponse
    - `groups` TrustpilotCategoryGroup[]: Top-level category groups, each with the categories it contains.
      - `items` TrustpilotCategoryLink[]: Categories that belong to this group.
        - `name` string: Display name of the category.
        - `slug` string: Category slug. Use it with the category endpoint.
        - `url` string: URL of the category page on Trustpilot.
      - `name` string: Display name of the category group.
      - `slug` string: Slug of the category group, such as `electronics_technology`.
      - `url` string: URL of the category group page on Trustpilot.
  - `msg` string

## Other responses

- `404`: Categories not found
- `429`: Rate limit exceeded
- `500`: Internal server error
- `503`: Trustpilot upstream request failed

---

[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/028417aa35bb?raw)
