# store.cryptotradecalc.com text-metrics

> store.cryptotradecalc.com text-metrics is a paid API for AI agents from store.cryptotradecalc.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns character count, word count, and average word length for any given input string.

## Facts

- Endpoint: GET https://store.cryptotradecalc.com/api/data
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/store-cryptotradecalc-com-text-metrics-71b2e86f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o23SII7ZZjB7h7lCivLTN

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 store-cryptotradecalc-com-text-metrics-71b2e86f
```

Example prompt: Can you tell me the character count, word count, and average word length for this text: 'The quick brown fox jumps over the lazy dog'?

## When to prefer this

Use this endpoint when you need quick, lightweight text statistics (character count, word count, average word length) for an arbitrary string without needing more advanced NLP features like sentiment analysis, language detection, or tokenization.

## Known failure modes

- Missing required 'text' query parameter returns an error
- Empty string input may return zero values or an error
- Non-string input types may be rejected
- Network timeout or service unavailability returns a non-2xx response
- Payment failure (402) if USDC balance is insufficient

## How this service works

text-metrics: Returns character count, word count, and average word length for any given string.

## Output

Returns a JSON object containing the character count, word count, and average word length computed from the input text string.

## 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",
     "properties": {
      "text": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/store-cryptotradecalc-com-text-metrics-71b2e86f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from store.cryptotradecalc.com](https://www.zero.xyz/host/store.cryptotradecalc.com/llms.txt)
