Zum Inhalt springen
GET /v1/char

Resolve a codepoint or a literal character

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/unicode-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/unicode-api/v1/char" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/unicode-api/v1/char", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/unicode-api/v1/char");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/unicode-api/v1/char",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "cp": 128512,
        "char": "😀",
        "name": "GRINNING FACE",
        "utf8": [
            "F0",
            "9F",
            "98",
            "80"
        ],
        "block": "Emoticons",
        "utf16": [
            "D83D",
            "DE00"
        ],
        "script": "Common",
        "assigned": true,
        "category": "So",
        "codepoint": "U+1F600",
        "css_escape": "\\1F600",
        "html_entity": "😀",
        "html_decimal": "😀",
        "category_name": "Other Symbol"
    },
    "meta": {
        "timestamp": "2026-05-31T04:30:16.806Z",
        "request_id": "8c8f0d7a-92c4-4e36-ba90-dbaa1128466e"
    },
    "status": "ok",
    "message": "Character resolved",
    "success": true
}