# NexusAPI Character Count

> NexusAPI Character Count is a paid API for AI agents from nexus-api-peach-nine.vercel.app, paid per call via x402, $0.144365/call, status unknown (last checked 2026-09-14).

Counts the number of characters in a given text string

## Facts

- Endpoint: POST https://nexus-api-peach-nine.vercel.app/api/tools/text/char-count
- Price: $0.144365/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-character-count-ce51722f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DkDcBgmT2HqXW4GNVeo23

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 nexusapi-character-count-ce51722f -d '<json body>'
```

Example prompt: How many characters are in this text: 'The quick brown fox jumps over the lazy dog'?

## When to prefer this

Use this endpoint when you need a simple, pay-per-call character count without managing API keys, particularly useful in automated workflows where text length validation is needed and USDC micropayments on Base are acceptable

## Known failure modes

- Empty or missing query parameter returns an error or zero count
- Non-string input may cause a 400 bad request
- Service unavailable if payment fails (402 payment required)
- Extremely long strings may hit payload size limits

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns the character count of the provided text string as a numeric value

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nexusapi-character-count-ce51722f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-peach-nine.vercel.app](https://www.zero.xyz/host/nexus-api-peach-nine.vercel.app/llms.txt)
