# ApexAPI Text Character Count

> ApexAPI Text Character Count is a paid API for AI agents from apex-api-gamma.vercel.app, paid per call via x402, $0.144365/call, status unknown (last checked 2026-09-15).

Counts the number of characters in a given text string

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/tools/text/char-count
- Price: $0.144365/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-text-character-count-067af05f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bg1hzqnx5Tg_Z0ir0xLlc

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 apexapi-text-character-count-067af05f -d '<json body>'
```

Example prompt: How many characters are in this text: 'The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs.'?

## When to prefer this

Use this endpoint when you need a quick, precise character count for a text string — especially useful for validating content against character limits (e.g. Twitter/X bios, SMS messages, meta descriptions) without running a local computation or when operating in a pay-per-call agent workflow on Base.

## Known failure modes

- Empty or missing query string returns an error or zero count
- Excessively long strings may be truncated or rejected
- Non-UTF-8 encoded characters may cause unexpected counts
- Payment failure (402) if USDC balance is insufficient

## 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 submitted text string, likely 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/apexapi-text-character-count-067af05f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apex-api-gamma.vercel.app](https://www.zero.xyz/host/apex-api-gamma.vercel.app/llms.txt)
