Platforms and limits

Get an API key

Each network has its own rules. Rather than hard-coding them, read them from GET /v1/platforms: the maximum text length, hashtags and mentions, the media accepted, the formats, and whether the network is open to you.

json
{
  "data": [
    {
      "platform": "instagram",
      "name": "Instagram",
      "available": true,
      "caption": { "maxLength": 2200, "maxHashtags": 30, "maxMentions": 20, "enforced": true },
      "media": { "maxCount": 10, "mixImagesAndVideo": true, "imageTypes": ["image/jpeg"], "videoTypes": ["video/mp4", "video/quicktime"] },
      "formats": [
        { "format": "post", "default": true, "requiredMedia": "any" },
        { "format": "reel", "default": false, "requiredMedia": "video" }
      ]
    }
  ]
}
NetworkTextMediaFormats
Instagram2,200 characters, 30 hashtags, 20 mentionsRequired, up to 10 (JPEG, MP4, MOV)post, reel, story, carousel
Facebook63,206 charactersUp to 10, photos or videospost, reel, story, video
TikTok2,200 charactersRequired: a video, or up to 35 photosvideo, photo
LinkedIn3,000 charactersUp to 20post, article, carousel, video
X280 characters, threads up to 25 postsUp to 4, photos or a videopost, thread

These figures are today’s; GET /v1/platforms always gives the current ones.

The dry run applies these same rules before you publish.