Naar de inhoud
GET /v1/char

Resolve a codepoint or a literal character

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/unicode-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}