Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/emojistrip-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/emojistrip-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/emojistrip-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/emojistrip-api/v1/meta");
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/emojistrip-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "name": "Emoji Strip API",
        "notes": "Emoji are matched as Unicode grapheme clusters, so a family or flag counts as one. This cleans/extracts emoji from text — to look emoji up by name or shortcode use an emoji database API, and to count graphemes/characters use a text-segmentation API. Nothing is stored.",
        "version": "v1",
        "endpoints": [
            {
                "path": "/v1/strip",
                "params": {
                    "text": "the text (required)",
                    "replace_with": "string to replace each emoji with (default empty)",
                    "collapse_spaces": "true to tidy up double spaces left behind (default false)"
                },
                "returns": "the cleaned text and how many emoji were removed"
            },
            {
                "path": "/v1/extract",
                "params": {
                    "text": "the text (required)"
                },
                "returns": "the list of emoji with positions, plus per-emoji and unique counts"
            },
            {
                "path": "/v1/meta",
                "params": [],
                "returns": "this document"
            }
        ],
        "description": "Strip, extract and count emoji in any text. The strip endpoint removes every emoji — or replaces each with a string you choose — handling multi-code-point emoji correctly: ZWJ sequences (family 👩‍👩‍👧), skin-tone modifiers (👍🏽), flags (🇩🇪), keycaps (1️⃣) and variation selectors all count as one. The extract endpoint lists every emoji it finds with its position and gives per-emoji and unique counts. A bare ©, ® or ™ is left alone unless it carries an emoji variation selector. Pure local, no key."
    },
    "meta": {
        "timestamp": "2026-06-03T09:25:06.434Z",
        "request_id": "01f8c4d8-5ec7-4617-ae5a-c936cf86ef83"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}