# Creator Desk Word Count API

> Creator Desk Word Count API is a paid API for AI agents from creator-desk-x402-isolated.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Counts the number of words in a given text string and returns the numeric result

## Facts

- Endpoint: GET https://creator-desk-x402-isolated.onrender.com/v1/marketplace/word-count?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/creator-desk-word-count-api-15dfb6f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SMcslslQwqP-_p5qIcL0t

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 creator-desk-word-count-api-15dfb6f5
```

Example prompt: How many words are in this paragraph: 'The quick brown fox jumps over the lazy dog near the river bank at dawn'?

## When to prefer this

Use this endpoint when you need a fast, deterministic word count for a string of text and want a simple numeric result with input echo. Ideal for lightweight content validation tasks in automated pipelines where you need to verify text length against a threshold without pulling in a full NLP library.

## Known failure modes

- Empty or missing text parameter may return a canary/default sample result rather than an error
- Non-string input may cause a validation error
- Network or payment failure may prevent the call from completing
- Very long strings may hit undocumented length limits

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

Returns a JSON object with three fields: 'operation' (always 'word_count'), 'input' (the text that was counted), and 'result' (a number representing the total word count of the provided text).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Text to count. Omit for a deterministic canary sample."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "operation",
  "input",
  "result"
 ],
 "properties": {
  "input": {
   "type": "string"
  },
  "result": {
   "type": "number"
  },
  "operation": {
   "const": "word_count"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/creator-desk-word-count-api-15dfb6f5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from creator-desk-x402-isolated.onrender.com](https://www.zero.xyz/host/creator-desk-x402-isolated.onrender.com/llms.txt)
