# DataVault Text Stats

> DataVault Text Stats is a paid API for AI agents from zetavault.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Computes statistical metrics and analytical properties of a given text string

## Facts

- Endpoint: POST https://zetavault.vercel.app/api/text-stats
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datavault-text-stats-249ba84a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D8Vxm6GV4yujwOMo4XyLT

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 datavault-text-stats-249ba84a -d '<json body>'
```

Example prompt: Can you run text stats on this paragraph and tell me the word count, character count, and readability metrics: 'The quick brown fox jumps over the lazy dog. This sentence is often used as a pangram in typography tests.'

## When to prefer this

Use this endpoint when you need quick, pay-per-call text statistics without setting up a dedicated NLP library or service. Best for lightweight text analytics tasks like counting words, characters, or sentences on arbitrary text snippets. Suitable for agents that occasionally need text metrics without requiring a full NLP pipeline.

## Known failure modes

- Missing required 'text' field returns a validation error
- Empty string input may return zero-value stats or an error
- Extremely long text strings may time out or hit payload limits
- Non-string input type for 'text' field causes schema validation failure
- Payment failure via x402 protocol prevents endpoint access

## How this service works

54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.

## Output

Returns a JSON object with a success boolean and a data object containing computed text statistics such as word count, character count, sentence count, and potentially readability scores or other linguistic metrics derived from the input text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datavault-text-stats-249ba84a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zetavault.vercel.app](https://www.zero.xyz/host/zetavault.vercel.app/llms.txt)
