{"uid":"cap_JDgy5-tHuDz5cD3h1qUih","slug":"writerslogic-platform-text-fit-checker-1d641f42","name":"WritersLogic Platform Text Fit Checker","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/platform-text-fit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_S50vjUxQdyA1btHRaP7g_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether texts fit within platform-specific character or byte limits for SMS, X (Twitter), app stores, ad platforms, and push notification payloads","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"SMS segment check for campaign blast","prompt":"I'm about to send this SMS to customers: 'Hi! Your order #4821 has shipped and will arrive Friday. Track it at https://track.example.com 📦 Reply STOP to unsubscribe.' Can you check if this fits in a single SMS segment, and whether it'll use GSM or UCS-2 encoding?"},{"title":"App Store metadata length validation","prompt":"Before I submit my app update, check if these strings fit: the app name 'Morning Bloom: Coffee & Tea', subtitle 'Your daily café companion', and description 'Discover specialty coffee shops near you, save favorites, and order ahead for pickup.' — all for the Apple App Store."},{"title":"Google Ads RSA copy validation","prompt":"I'm setting up a Google Ads responsive search ad. Can you check if these headlines fit: 'Fresh Organic Groceries', 'Delivered Same Day', and 'Shop Local Farms Online' — and whether this description fits: 'Order fresh, locally sourced produce and groceries online. Free delivery on orders over $50.'?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T23:14:13.339Z","isFirstParty":false,"canonicalSlug":"writerslogic-platform-text-fit-checker-1d641f42"}