{"uid":"cap_kDz9OAOFElpMZFglqvhHZ","slug":"24k-labs-social-post-validator-9098ce87","name":"24K Labs Social Post Validator","description":"Check a post against X/Twitter, LinkedIn, Instagram or Bluesky limits: weighted character count, hashtag/mention/link caps, over-limit flag and a truncation preview.","url":"https://api.24klabs.ai/api/social-post-validate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"},"platform":{"type":"string"}}},"responseSchema":{"type":"json","example":{"platform":"twitter","within_limit":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aF9Pm67s9kIHNpdwqUkR9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a social media post against platform-specific limits for X/Twitter, LinkedIn, Instagram, or Bluesky, returning weighted character count, hashtag/mention/link caps, over-limit flag, and a truncation preview.","exampleAgentPrompt":"Before I post this to Twitter, check if it fits within the character limit — here's the text: 'Just launched our new product! Check it out at https://example.com #startup #launch @techcrunch — really excited for everyone to see what we've been building for the past year.' Give me the weighted character count, whether any caps are hit, and a truncation preview if it's over.","exampleUseCases":[{"title":"Pre-schedule Twitter post validation","prompt":"I'm about to schedule this tweet — can you validate it against Twitter's limits first? The text is: 'Big news: we just closed our Series A! Huge thanks to @sequoia and @a16z for believing in us. Read the full story at https://blog.example.com/series-a #funding #startup #tech #VC #entrepreneurship' — tell me the weighted character count and whether it's over the limit."},{"title":"LinkedIn post length check","prompt":"Can you check if this LinkedIn post is within the character and hashtag limits? Here it is: 'After 10 years in the industry, I've learned that the most important skill isn't technical expertise — it's empathy. Here's why leaders who listen outperform those who dictate, every single time. #leadership #management #careergrowth #professionaldevelopment #LinkedIn'"},{"title":"Instagram caption compliance check","prompt":"Check my Instagram caption against the platform's limits before I publish — is this within the character cap and do I have too many hashtags? Caption: 'Golden hour magic ✨ swipe to see the full set from last weekend's shoot! #photography #goldenhour #portrait #naturelighting #canon #photographer #photooftheday #instaphoto #shootingfilm #analogphotography #lightroom #editingtips #portraits #bokeh #outdoorphotography #visualarts'"}],"resultDescription":"Returns a structured response with the weighted character count for the chosen platform, whether individual caps (hashtags, mentions, links) have been exceeded, a boolean over-limit flag, and a truncation preview string showing how the post would appear if cut to the platform's maximum length.","failureModes":["Unsupported platform name returns a validation error","Empty or missing post text returns a 400 bad request","Extremely long posts may still return a truncation preview but processing is slightly slower","Network timeout on the x402 payment layer may prevent the call from completing","Ambiguous Unicode characters may cause slight discrepancies in weighted character counts"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify that a social post conforms to a specific platform's rules before scheduling or publishing — especially when the post contains URLs (which are weighted differently on Twitter), hashtags, mentions, or emoji that affect character counting in non-obvious ways. Prefer this over manual counting or generic string-length checks when platform-specific weighted counting and cap enforcement matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:01:05.965Z","isFirstParty":false}