Skip to content

Validate character count

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.

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

Content-Type: application/json

  • text (string) required — The post text to check

Responses

200 — Character counts per platform

  • text (string)
  • platforms (object)