Zum Inhalt springen
GET /v1/define

Full word entry

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "lang": "en",
        "word": "hello",
        "audio": "https://api.dictionaryapi.dev/media/pronunciations/en/hello-au.mp3",
        "origin": null,
        "license": "CC BY-SA 3.0",
        "meanings": [
            {
                "antonyms": [],
                "synonyms": [
                    "greeting"
                ],
                "definitions": [
                    {
                        "example": null,
                        "antonyms": [],
                        "synonyms": [],
                        "definition": "\"Hello!\" or an equivalent greeting."
                    }
                ],
                "part_of_speech": "noun"
            },
            {
                "antonyms": [],
                "synonyms": [],
                "definitions": [
                    {
                        "example": null,
                        "antonyms": [],
                        "synonyms": [],
                        "definition": "To greet with \"hello\"."
                    }
                ],
                "part_of_speech": "verb"
            },
            {
                "antonyms": [
                    "bye",
                    "goodbye"
                ],
                "synonyms": [],
                "definitions": [
                    {
                        "example": "Hello, everyone.",
                        "antonyms": [],
                        "synonyms": [],
                        "definition": "A greeting (salutation) said when meeting someone or acknowledging someone’s arrival or presence."
                    },
                    {
                        "example": "Hello? How may I help you?",
                        "antonyms": [],
                        "synonyms": [],
                        "definition": "A greeting used when answering the telephone."
                    },
                    {
                        "example": "Hello? Is anyone there?",
                        "antonyms": [],
                        "synonyms": [],
                        "definition": "A call for response if it is not clear if anyone is present or listening, or if a telephone conversation may have been disconnected."
                    },
                    {
                        "example": "You just tried to start your car with your cell phone. Hello?",
                        "antonyms": [],
                        "synonyms": [],
                        "definition": "Used sarcastically to imply that the person addressed or referred to has done something the speaker or writer considers to be foolish."
                    },
                    {
                        "example": "Hello! What’s going on here?",
                        "antonyms": [],
                        "synonyms": [],
                        "definition": "An expression of puzzlement or discovery."
                    }
                ],
                "part_of_speech": "interjecti
…