# Unicode Character Lookup API

> Unicode Character Lookup is a Unicode lookup API that inspects any character, symbol or hex codepoint to find its decimal value, hex notation, and UTF-16 encoding. The response also identifies the character category and supplies names for emoji.

**Endpoint:** `GET https://api.apiverve.com/v1/unicodelookup`  
**Category:** Data Lookup  
**Cost:** 1 credit per call  
**Canonical page:** https://apiverve.com/marketplace/unicodelookup

## Overview

Unicode Character Lookup works by analyzing Unicode characters or codepoints to retrieve detailed information including decimal/hex codepoint, UTF-16 encoding, category (letter, number, emoji, etc.), and emoji names from the Unicode emoji database. Character names, general categories and blocks come from the Unicode Character Database (UnicodeData.txt and Blocks.txt, Unicode License v3), refreshed when a new Unicode version ships.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/unicodelookup?character=%F0%9F%91%8B&codepoint=1F44B" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `character` | string | No | The Unicode character to lookup. Supply either character or codepoint. |
| `codepoint` | string | No | The Unicode codepoint in hex (e.g., '1F44B', 'U+1F44B' or '0x1F44B'); HTML entities (&#x1F44B; or &#128075;) and JS/JSON escapes (\u{1F44B}, \uD83D\uDC4B) are accepted too. Supply either character or codepoint. |

## Response fields

- `character` — string · The Unicode character being looked up
- `codepoint` — string · The Unicode codepoint in U+ notation format
- `decimal` — number · The decimal representation of the character codepoint
- `hex` — string · The hexadecimal representation of the character codepoint
- `utf16` — string · The UTF-16 encoding representation of the character
- `category` — string · Unicode category classification: Letter, Number, Punctuation, Symbol, Mark, Separator, Emoji, Control (Cc), Format (Cf), Surrogate (Cs), Private Use (Co) or Unassigned (Cn)
- `name` — object · The emoji name when the character is an emoji (e.g. "red heart"); otherwise the official Unicode character name (e.g. LATIN SMALL LETTER E WITH ACUTE, ZERO WIDTH SPACE); null for unassigned, private-use and surrogate code points

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "character": "�",
    "codepoint": "U+D83D",
    "decimal": 55357,
    "hex": "D83D",
    "utf16": "\\uD83D",
    "category": "Control",
    "name": null
  }
}
```

## Use cases

- **Character Analysis** — Analyze Unicode characters in text to understand their encoding, category, and properties
- **Emoji Information** — Look up emoji names and Unicode information for emoji keyboards, pickers, or documentation
- **Debugging** — Debug character encoding issues by examining Unicode properties and encodings of problematic characters
- **Documentation** — Generate documentation about supported characters, emojis, or special symbols with detailed Unicode info

## SDKs

- **npm** — `npm install @apiverve/unicodelookup` (https://www.npmjs.com/package/@apiverve/unicodelookup)
- **NuGet** — `dotnet add package APIVerve.API.UnicodeCharacterLookup` (https://www.nuget.org/packages/APIVerve.API.UnicodeCharacterLookup)
- **Source** — https://github.com/apiverve/unicodelookup-api

## More

- Full reference: https://docs.apiverve.com/ref/unicodelookup
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
