← 世界数据

词典查询

GET /dictionary/:word

查询任何英语单词以获取其定义、词性、音标、音频发音 URL、同义词、反义词和用法示例。数据来自 Free Dictionary API。适用于语言学习应用、写作助手、每日一词功能、填字游戏解算器和需要以编程方式访问英语单词定义的任何工具。

参数

word 必填

Word to look up

请求示例

基本用法
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

实时响应

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