v2

latestOpenAPI 3.1.02026-08-075421692.0 MB
Validate

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

Request body

textstring required

The post text to check

Example request

{
  "text": "Check out https://zernio.com for scheduling posts!"
}

Response

Character counts per platform

textstring
platformsobject

Example response

{
  "platforms": {
    "twitter": {
      "count": 51,
      "limit": 280,
      "valid": true
    },
    "twitterPremium": {
      "count": 51,
      "limit": 25000,
      "valid": true
    },
    "instagram": {
      "count": 51,
      "limit": 2200,
      "valid": true
    },
    "bluesky": {
      "count": 51,
      "limit": 300,
      "valid": true
    },
    "snapchat": {
      "count": 51,
      "limit": 160,
      "valid": true
    }
  }
}
All 589 operations