# 24K Labs Social Post Validator

> 24K Labs Social Post Validator is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

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 truncation preview.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/v1/social-post-validate
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-social-post-validator-bd5a5b2e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_70-hdfnj6aHSxEHUC20Ak

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 24k-labs-social-post-validator-bd5a5b2e -d '<json body>'
```

Example prompt: Before I post this to X/Twitter, can you check if it fits within the limits — here's the text: 'Excited to share our new product launch! Check it out at example.com #startup #tech #launch #innovation @techcrunch @producthunt — we've been working on this for months and can't wait for your feedback!'

## When to prefer this

Use this endpoint when you need to programmatically verify that a social media post complies with platform-specific rules before publishing or scheduling — especially when managing content at scale across multiple platforms (X/Twitter, LinkedIn, Instagram, Bluesky) or when building a social media scheduling agent that needs to flag non-compliant posts before they fail at publish time.

## Known failure modes

- Unsupported platform name returns an error
- Empty or missing post text returns a validation error
- Extremely long posts may hit request size limits
- Platform rule changes may cause discrepancies between API results and actual platform behavior
- Weighted character counting may differ slightly for edge-case Unicode characters

## How this service works

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.

## Output

Returns the weighted character count for the selected platform, counts of hashtags, mentions, and links used, a boolean flag indicating whether the post exceeds the platform's limits, and a truncation preview showing how the post would be cut off if over the limit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "platform": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "platform": "twitter",
  "within_limit": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-social-post-validator-bd5a5b2e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
