Validate
Check Post Length
Calculate the weighted length, or character count, of a post string
POST
/
validate
/
postLength
Available on Premium, Business, Enterprise plans.
Calculate the weighted length, or character count, of a post string for Facebook, Google Business Profile, Instagram, LinkedIn, Pinterest, Reddit, TikTok, X/Twitter, and YouTube. Checks if the post length is valid and returns the maximum length allowed for each social network.
Special characters, such as ΓΌ, ΓΈ, or π, have a higher character count value (unicode).
This check is automatically done with the /post endpoint.
The weighted length is an estimate calculated by Ayrshare. Social networks may have slightly different character counts based on their own calculation methods.
Header Parameters
Authorization
string
requiredBody Parameters
post
string
requiredPost string to calculate the length.