# Emoji Tools – Analyze Text for Emoji

> Emoji Tools – Analyze Text for Emoji is a paid API for AI agents from emoji-tools.x402tookit.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-02).

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.

## Facts

- Endpoint: GET https://emoji-tools.x402tookit.com/emoji-analyze-text?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/emoji-tools-analyze-text-for-emoji-d3ec2535
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3pnBioibZesY0Z9XLu1sq

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 emoji-tools-analyze-text-for-emoji-d3ec2535
```

Example prompt: 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!! 🥳🏳️‍🌈'

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Analyze text (max 2000 chars): emoji count, distinct emoji, grapheme clusters, unqualified and text-presentation forms.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
       ]
      },
      "degr
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/emoji-tools-analyze-text-for-emoji-d3ec2535/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from emoji-tools.x402tookit.com](https://www.zero.xyz/host/emoji-tools.x402tookit.com/llms.txt)
