All endpoints
Trustpilot Category Details

Trustpilot Category Details API

Get a Trustpilot category's display name, business count, parent, and subcategories. Works at any level of the taxonomy.

Price: $0.005 per request
Free tier: 50 requests/month
Endpoint
GET /v1/trustpilot/category

Parameters

category_id *
Category slug, e.g. electronics_technology. See /docs/trustpilot-category-ids. A trustpilot.com/categories/... URL also works

Response fields

category
The category
category.category_id
Category ID (slug)
category.name
Display name
category.business_count
Number of businesses in the category
category.parent_id
Parent category ID, `null` for a top-level category
category.url
Category page URL on Trustpilot
category.subcategories
Direct subcategories: `category_id`, `name`, `business_count`

Example Request

curl "https://apidirect.io/v1/trustpilot/category?category_id=electronics_technology"   -H "X-API-Key: YOUR_API_KEY"

Example Response

{
  "category": {
    "category_id": "electronics_technology",
    "name": "Electronics & Technology",
    "business_count": 59806,
    "parent_id": null,
    "url": "https://www.trustpilot.com/categories/electronics_technology",
    "subcategories": [
      {
        "category_id": "appliances_electronics",
        "name": "Appliances & Electronics",
        "business_count": 5569
      },
      {
        "category_id": "audio_visual",
        "name": "Audio & Visual",
        "business_count": 1807
      },
      {
        "category_id": "computers_phones",
        "name": "Computers & Phones",
        "business_count": 8342
      },
      {
        "category_id": "internet_software",
        "name": "Internet & Software",
        "business_count": 45334
      },
      {
        "category_id": "repair_services",
        "name": "Repair & Services",
        "business_count": 2857
      }
    ]
  }
}

Frequently asked questions

How deep does the taxonomy go?

Three levels: 22 top-level categories, 189 second-level subcategories, and several hundred third-level categories under those. Call Category Details on any subcategory to see the next level.

How does pricing work?

You only pay for successful requests. The Trustpilot Category Details API costs $0.005 per request. There are no monthly fees or commitments. You get 50 free requests per endpoint every month.

Do I need a credit card to start?

No. You can sign up and use the free tier (50 requests/endpoint/month) without adding a payment method. You only need to add a card when you want to exceed the free tier.

Are there rate limits?

Yes, there's a concurrency limit of 10 simultaneous requests per endpoint per user. If you need more, just get in touch.

Start using the Trustpilot Category Details API

Get your API key and start making requests in minutes. 50 requests/month free every month.

Get API Key