# ScriptMasterLabs ACP x402 Text Stats API

> ScriptMasterLabs ACP x402 Text Stats API is a paid API for AI agents from acp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-20).

Returns statistical analysis of text input (e.g. word count, character count, sentence metrics) via a pay-per-call x402 micropayment endpoint settled in USDC on Base.

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/text-stats?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-acp-x402-text-stats-api-2f963a65
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DWIDHwpWX1wXk0YIE2VcC

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 scriptmasterlabs-acp-x402-text-stats-api-2f963a65
```

Example prompt: Can you run text stats on this paragraph and tell me the word count, sentence count, and character count: 'The quick brown fox jumps over the lazy dog. It was a bright cold day in April.'

## When to prefer this

Use this endpoint when you need lightweight, pay-per-call text statistics without committing to a subscription-based NLP service. Ideal for agents that only occasionally need word/character counts and want to settle micropayments in USDC on Base via x402. Not ideal for deep semantic analysis or NLP tasks requiring embeddings or classification.

## Known failure modes

- Empty or missing text input returns an error or empty statistics object
- Malformed properties parameter may return unexpected or null results
- Payment failure via x402 protocol results in 402 Payment Required response before data is returned
- Very large text inputs may exceed processing limits or increase latency
- Ambiguous schema means response fields may be sparse or undocumented

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns computed statistics about the provided text, likely including word count, character count, sentence count, and potentially other metrics such as average word length, paragraph count, or readability scores. Response structure is minimal based on available schema.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-acp-x402-text-stats-api-2f963a65/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
