# Trustpilot Category Search

> Trustpilot Category Search is a paid API for AI agents from x402.apidirect.io, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-30).

Search Trustpilot's taxonomy by keyword to find matching category IDs at any level of the hierarchy.

## Facts

- Endpoint: GET https://x402.apidirect.io/v1/trustpilot/categories?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trustpilot-category-search-6dc3b9a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kj2KIMn7xUlGXsMzlqBPj

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability trustpilot-category-search-6dc3b9a3
```

Example prompt: Search the Trustpilot category taxonomy for 'bank' and return any matching category IDs and names so I can use them to filter reviews.

## When to prefer this

Use this endpoint when you need to resolve a human-readable business type keyword into a structured Trustpilot category ID, especially as a prerequisite step before fetching or filtering Trustpilot reviews by category. Prefer this over manual taxonomy browsing when automating business classification or review pipeline setup.

## Known failure modes

- No categories found for obscure or misspelled keywords — returns empty result set
- Query exceeds 200-character limit — returns validation error
- Payment not processed (x402 protocol failure) — returns 402 Payment Required
- Rate limiting or upstream Trustpilot API unavailability — returns 5xx error

## How this service works

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

## Output

A list of Trustpilot category objects matching the keyword, each including the category ID, name, and position within the taxonomy hierarchy, enabling downstream filtering or review queries by category.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string",
       "maxLength": 200,
       "description": "Keyword, e.g. bank or shop (max 200 characters)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trustpilot-category-search-6dc3b9a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.apidirect.io](https://www.zero.xyz/host/x402.apidirect.io/llms.txt)
