# Trustpilot Category Lookup

> Trustpilot Category Lookup 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).

Returns a Trustpilot category's display name, business count, parent category, and subcategories given a category slug or URL.

## Facts

- Endpoint: GET https://x402.apidirect.io/v1/trustpilot/category?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-lookup-833b16a1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rM_-eGMwuNuPDkZMkzpdd

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-lookup-833b16a1
```

Example prompt: What's the display name, business count, parent category, and subcategories for the 'electronics_technology' Trustpilot category?

## When to prefer this

Use this endpoint when you need structured metadata about a specific Trustpilot category — its official display name, business count, parent, or subcategories — rather than searching for businesses or reviews. Ideal for building category browsers, market sizing analyses, or navigating Trustpilot's business directory taxonomy programmatically.

## Known failure modes

- Invalid or unknown category_id slug returns an error or empty result
- Passing a malformed URL instead of a valid slug may fail if not recognized
- Network timeout or upstream Trustpilot unavailability causes request failure
- Category slugs that have been deprecated or renamed may return no data

## How this service works

Get a Trustpilot category's display name, business count, parent, and subcategories.

## Output

Returns structured data about the requested Trustpilot category including: human-readable display name, total number of businesses listed in that category, parent category reference (if any), and a list of subcategories with their slugs and names.

## 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": [
      "category_id"
     ],
     "properties": {
      "category_id": {
       "type": "string",
       "description": "Category slug, e.g. electronics_technology. See Category IDs (https://apidirect.io/docs/trustpilot-category-ids). A trustpilot.com/categories/... URL also works"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trustpilot-category-lookup-833b16a1/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)
