# WritersLogic Platform Text Fit Checker

> WritersLogic Platform Text Fit Checker is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-20).

Validates whether texts fit within platform-specific character or byte limits for SMS, X (Twitter), app stores, ad platforms, and push notification payloads

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/platform-text-fit?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-platform-text-fit-checker-1d641f42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JDgy5-tHuDz5cD3h1qUih

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 writerslogic-platform-text-fit-checker-1d641f42 -d '<json body>'
```

Example prompt: Before I post this, can you check whether my tweet 'Just launched our new product — check it out at https://example.com 🚀' fits within X's character limit and whether this SMS message 'Your verification code is 482910. Reply STOP to opt out.' fits in one GSM segment?

## When to prefer this

Use this endpoint when an AI agent needs to programmatically verify that generated or user-provided text won't be truncated or rejected by a specific publishing platform before sending or submitting. It is especially valuable for SMS campaigns where encoding (GSM-7 vs UCS-2) and segment boundaries matter, for X posts with emoji and URL weighting, and for app store or ad fields where official character limits must be verified with sourced documentation. It is not suitable for checking Meta ad fields, judging content quality, or predicting device-side truncation.

## Known failure modes

- Unsupported platform or field returns an 'unsupported' response rather than a limit check
- Meta ad fields are explicitly unsupported and will return unsupported
- Total character input across all items exceeding 60,000 characters will be rejected
- Array of items exceeding 50 will be rejected
- Missing required 'platform' or 'text' fields will result in a validation error
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

For each submitted text, the endpoint returns whether the text fits within the platform's limit for the specified field, the measured length (in characters, weighted units, septets, or bytes as appropriate), the platform's official limit, encoding details (e.g. GSM-7 vs UCS-2 for SMS, segment count), and for app store/ad platforms the source URL and date of the limit. It does not evaluate wording quality, policy compliance, or device-side truncation behavior.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "platform",
     "text"
    ],
    "properties": {
     "text": {
      "type": "string",
      "maxLength": 20000,
      "description": "Up to 60000 characters in total. For apns/fcm pass the serialized JSON payload."
     },
     "field": {
      "type": "string",
      "maxLength": 40,
      "description": "app-store: name, subtitle, keywords, promotional-text, description. google-play: app-name, short-description, full-description. google-ads: rsa-headline, rsa-description, rsa-path. apns: payload, voip-payload. fcm: payload. Not used by sms and x."
     },
     "platform": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "sms, x, app-store, google-play, google-ads, apns, fcm."
     },
     "maxSegments": {
      "type": "integer",
      "maximum": 10,
      "minimum": 1,
      "description": "sms only: the number of segments you accept (default 1)."
     }
    }
   },
   "maxItems": 50,
   "minItems": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-platform-text-fit-checker-1d641f42/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
