← Verdensdata

Ordbogsopslag

GET /dictionary/:word

Slå ethvert engelsk ord op for at få definitioner, ordklasse, fonetisk transskription, lydudtale-URL, synonymer, antonymer og brugseksempler. Data fra Free Dictionary API. Nyttigt til sprogindlæringsapps, skriveassistenter, dagens ord-funktioner, krydsordløsere og ethvert værktøj, der har brug for programmatisk adgang til engelske orddefinitioner.

Parametre

word påkrævet

Word to look up

Eksempelforespørgsler

Grundlæggende brug
curl https://nordapi.ee/api/v1/dictionary/serendipity
Look up serendipity
curl https://nordapi.ee/api/v1/dictionary/serendipity
Look up ephemeral
curl https://nordapi.ee/api/v1/dictionary/ephemeral
Look up algorithm
curl https://nordapi.ee/api/v1/dictionary/algorithm

Livesvar

{
  "count": 1,
  "data": [
    {
      "meanings": [
        {
          "antonyms": [
            "Murphy's law",
            "perfect storm"
          ],
          "definitions": [
            {
              "antonyms": [
                "Murphy's law",
                "perfect storm"
              ],
              "definition": "A combination of events which have come together by chance to make a surprisingly good or wonderful outcome.",
              "example": null,
              "synonyms": []
            },
            {
              "antonyms": [],
              "definition": "An unsought, unintended, and/or unexpected, but fortunate, discovery and/or learning experience that happens by accident.",
              "example": null,
              "synonyms": [
                "chance",
                "luck"
              ]
            }
          ],
          "part_of_speech": "noun",
          "synonyms": [
            "chance",
            "luck"
          ]
        }
      ],
      "origin": null,
      "phonetic": "/ˌsɛ.ɹən.ˈdɪ.pɪ.ti/",
      "phonetics": [
        {
          "audio": "https://api.dictionaryapi.dev/media/pronunciations/en/serendipity-au.mp3",
          "text": "/ˌsɛ.ɹən.ˈdɪ.pɪ.ti/"
        },
        {
          "audio": "https://api.dictionaryapi.dev/media/pronunciations/en/serendipity-us.mp3",
          "text": "/ˌsɛ.ɹən.ˈdɪ.pɪ.ti/"
        }
      ],
      "word": "serendipity"
    }
  ],
  "success": true
}