# ScriptMasterLabs ACP x402 Text Stats API

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

Returns text statistics and analysis metrics for a given text input, paid per-call in USDC via x402 protocol

## Facts

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

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-dba01828
```

Example prompt: Can you run text stats on this paragraph and tell me things like word count, sentence count, and readability — I want to understand how complex the writing is?

## When to prefer this

Use this endpoint when you need lightweight, pay-per-call text statistics without a full NLP subscription. Ideal for agents that only occasionally need text metrics and want to pay in USDC on Base via x402 rather than managing a monthly API key.

## Known failure modes

- Missing or empty text input returns an error or empty stats
- Malformed properties parameter may return unexpected results
- Service hosted on render.com free tier may have cold-start latency or downtime
- Payment failure via x402 protocol blocks the request with a 402 status
- Very large text inputs may be truncated or rejected

## 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 statistical metrics about the submitted text, potentially including word count, character count, sentence count, paragraph count, readability scores, and other quantitative text properties.

## 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-dba01828/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
