# AgentRXI Text Clustering

> AgentRXI Text Clustering is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Groups up to 500 texts into AI-labeled topic clusters, returning label, size, share, and examples for each group

## Facts

- Endpoint: GET https://agentrxi.com/v1/cluster?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-text-clustering-567ca469
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6PJa-3jV0QXj8Hr89fLLY

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 agentrxi-text-clustering-567ca469
```

Example prompt: Can you cluster these 12 customer reviews into topics and give each group an AI-written label, plus how many reviews fall into each? Here are the reviews separated by pipes: 'Fast delivery|Great packaging|Product broke after 1 day|Shipping was slow|Love the color|Poor quality control|Arrived on time|Terrible customer service|Beautiful design|Item missing from box|Quick dispatch|Looks exactly like the photo'

## When to prefer this

Choose this endpoint when you have a batch of short-to-medium texts (reviews, tickets, survey answers) and need automatic topic discovery with human-readable labels, without having to define categories upfront. It is ideal for exploratory analysis where you do not know the categories in advance. Prefer it over manual tagging or classification endpoints when the taxonomy is unknown and you want AI-generated group names alongside quantitative breakdown.

## Known failure modes

- Missing required 'texts' query parameter returns a validation error
- Exceeding the 500-text limit may result in truncation or an error
- Very short or highly uniform texts may produce poor cluster separation
- If k is specified but exceeds the number of distinct texts, clustering quality degrades
- Network or payment failure (x402) returns a 402 Payment Required response

## How this service works

Cluster and label: groups up to 500 texts (reviews, tickets, survey answers, search results) into topics with an AI-written label, size, share and examples for each group. Also callable as GET with the same fields as query parameters.

## Output

Returns a list of clusters, each with an AI-written label describing the topic, the number of texts in that cluster, its share (percentage) of the total, and representative example texts drawn from the input.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "texts"
     ],
     "properties": {
      "k": {
       "type": "integer",
       "description": "Number of groups (auto)"
      },
      "texts": {
       "type": "string",
       "description": "| separated or an array"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentrxi-text-clustering-567ca469/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
