All endpoints
Trustpilot Category Search

Trustpilot Category Search API

Search Trustpilot categories by keyword to find category IDs at any level of the taxonomy.

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

Parameters

query *
Keyword, e.g. bank or shop (max 200 characters)

Response fields

categories
Matching categories
categories[].category_id
Category ID (slug) — pass to Category Companies or Category Details
categories[].name
Display name
count
Number of categories returned
query
Echo of the search query

Example Request

curl "https://apidirect.io/v1/trustpilot/categories?query=bank"   -H "X-API-Key: YOUR_API_KEY"

Example Response

{
  "categories": [
    {
      "category_id": "bank",
      "name": "Bank"
    },
    {
      "category_id": "savings_bank",
      "name": "Savings Bank"
    },
    {
      "category_id": "private_sector_bank",
      "name": "Private Sector Bank"
    },
    {
      "category_id": "investment_bank",
      "name": "Investment Bank"
    },
    {
      "category_id": "central_bank",
      "name": "Central Bank"
    },
    {
      "category_id": "trust_bank",
      "name": "Trust Bank"
    }
  ],
  "count": 6,
  "query": "bank"
}

Frequently asked questions

Why do I get results for a nonsense query?

Trustpilot's category search is fuzzy: it always returns the 6 nearest categories rather than an empty list. Compare the returned names to your keyword.

How does pricing work?

You only pay for successful requests. The Trustpilot Category Search 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 Search API

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

Get API Key