# NexusAPI Character Count

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

Counts the number of characters in a given text string

## Facts

- Endpoint: POST https://nexus-api-virid.vercel.app/api/tools/text/char-count
- Price: $0.014164/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-character-count-674e7347
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7yBSHLmre84LsqkCW0_R8

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-674e7347 -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 quick, pay-per-call character count without setting up API keys or running local string-length logic. Ideal for AI agents validating text against character limits (SMS, Twitter, form fields) in automated workflows where a remote computation step is acceptable.

## Known failure modes

- Empty input string returns zero or an error
- Very long strings may be truncated or rejected
- Non-string input types may cause a validation error
- Network or payment failure returns a 402 or 5xx response

## 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 a numeric character count representing the total number of characters in the provided text string, including spaces and punctuation.

## 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-674e7347/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-virid.vercel.app](https://www.zero.xyz/host/nexus-api-virid.vercel.app/llms.txt)
