{"uid":"cap_3pnBioibZesY0Z9XLu1sq","slug":"emoji-tools-analyze-text-for-emoji-d3ec2535","name":"Emoji Tools – Analyze Text for Emoji","description":"Analyze text (max 2000 chars): emoji count, distinct emoji, grapheme clusters, unqualified and text-presentation forms.","url":"https://emoji-tools.x402tookit.com/emoji-analyze-text?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text to analyze, up to 2000 characters"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"kinds":{"type":["null","object"],"properties":{"flags":{"type":["null","number"]},"keycaps":{"type":["null","number"]},"zwjSequences":{"type":["null","number"]},"skinToneVariants":{"type":["null","number"]}}},"source":{"type":["null","string"]},"lengths":{"type":["null","object"],"properties":{"utf8Bytes":{"type":["null","number"]},"codePoints":{"type":["null","number"]},"jsStringLength":{"type":["null","number"]},"utf16CodeUnits":{"type":["null","number"]},"graphemeClusters":{"type":["null","number"]}}},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"distinct":{"type":["array","null"],"items":{"type":"object","properties":{"name":{"type":["null","string"]},"count":{"type":["null","number"]},"emoji":{"type":["null","string"]},"status":{"type":["null","string"]},"codepoints":{"type":["array","null"],"items":{"type":"string"}}}}},"disclaimer":{"type":["null","string"]},"emojiCount":{"type":["null","number"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"attribution":{"type":["null","string"]},"unqualified":{"type":["array","null"],"items":{"type":"object","properties":{"name":{"type":["null","string"]},"status":{"type":["null","string"]},"sequence":{"type":["null","string"]},"codepoints":{"type":["array","null"],"items":{"type":"string"}},"fullyQualifiedForm":{"type":["null","string"]}}}},"otherGraphemes":{"type":["null","number"]},"textPresentation":{"type":["array","null"]},"distinctEmojiCount":{"type":["null","number"]},"unrecognizedEmojiLike":{"type":["array","null"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OsCVxnIwUMAnb07yukLf3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a text string (up to 2000 characters) to count total and distinct emoji, grapheme clusters, encoding lengths, and flags unqualified or text-presentation emoji forms.","exampleAgentPrompt":"Can you analyze this caption for me and tell me how many emoji it contains, which ones are distinct, and whether any are unqualified or in text-presentation form: '🎉🥳🎂🎉 Happy Birthday!! 🥳🏳️‍🌈'","exampleUseCases":[{"title":"Social media caption emoji audit","prompt":"I'm about to post this Instagram caption and want to know exactly how many emoji are in it, which ones repeat, and if any might render incorrectly as text — can you run it through the emoji analyzer? Caption: '🌟✨💫🌟 So grateful for this journey! 💖🙏🏽✨'"},{"title":"Chat message encoding size check","prompt":"Before I store this message in my database, can you analyze it and tell me how many grapheme clusters and UTF-8 bytes it uses, and how many emoji are in it? Message: 'Thanks for helping me out 🙏🏻❤️🫶🏼 — you're the best! 🎊🎉'"},{"title":"Content moderation emoji detection","prompt":"Run this user-submitted comment through the emoji analyzer and list every distinct emoji that appears in it along with its name and codepoints: 'Great product! 👍🔥💯 Will buy again 🛒🛍️💳'"}],"resultDescription":"Returns a JSON object containing: total emoji count, an array of distinct emoji objects (each with emoji character, name, count, status, and codepoints), grapheme cluster count, encoding lengths (UTF-8 bytes, code points, JS string length, UTF-16 code units), arrays of unqualified and text-presentation emoji, a breakdown of emoji kinds (flags, keycaps, ZWJ sequences, skin-tone variants), a summary string, and optional disclaimer or attribution fields.","failureModes":["Text exceeds 2000 characters — request rejected or truncated","Empty text input — returns zero counts or error","Payment failure — 402 response if USDC payment not included","Malformed query parameter — HTTP 400 bad request","Text with no emoji — returns valid response with zero counts","Network timeout for very complex Unicode sequences"],"whenToPreferThis":"Choose this endpoint when you need a detailed, structured breakdown of emoji usage in a text string — especially when you need to distinguish unqualified emoji, detect text-presentation forms, count grapheme clusters for display-length purposes, or enumerate distinct emoji with Unicode metadata. It is more thorough than a simple regex emoji count and returns encoding-level detail useful for database storage, rendering compatibility checks, and content analysis pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:31:08.471Z","isFirstParty":false,"canonicalSlug":"emoji-tools-analyze-text-for-emoji-d3ec2535"}