Aller au contenu
GET /v1/char

Resolve a codepoint or a literal character

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/unicode-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
}