---
title: "Validate character count"
method: POST
path: "/v1/tools/validate/post-length"
tags: ["Validate"]
---

# Validate character count

`POST /v1/tools/validate/post-length`

Check weighted character count per platform and whether the text is within each platform's limit.

Twitter/X uses weighted counting (URLs = 23 chars via t.co, emojis = 2 chars). All other platforms use plain character length.

Returns counts and limits for all 15 supported platform variants.

## Request body

- object
  - `text` string, required — The post text to check

## Response `200`

Character counts per platform

- object
  - `text` string
  - `platforms` object

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/revisions/f81ca70ea6b9/schema)
