维梦API - 提供免费接口调用平台
该API已经过安全认证,请放心使用
工具 · 英语单词查询
英语四六级单词查询

接口地址: https://api.52vmy.cn/api/wl/word

返回格式: JSON

请求方式: GET

请求示例: https://api.52vmy.cn/api/wl/word?word=average

接口定制: 点此加入用户群

默认QPS: 每2秒最多3次 携带Token可无视限制

请求参数说明:

名称 必填 类型 说明
word string 英语单词
type string 返回格式默认JSON可选text

返回参数说明:

名称 类型 说明

返回示例:

{
    "code": 200,
    "msg": "成功",
    "data": {
        "word": "average",
        "accent": "/ˈævərɪdʒ/",
        "mean_cn": "n.平均数;  adj.通常的;  vt.平均为",
        "mean_en": "the result of adding several amounts together, finding a total, and dividing the total by the number of amounts",
        "sentence": "His height equals the average of his parents' heights.",
        "sentence_trans": "他的身高等于他父母身高的平均数。",
        "sentence_phrase": "the average of",
        "word_etyma": "",
        "cloze_data": {
            "syllable": "av-er-age",
            "cloze": "av-er-a[ge]",
            "options": [
                "gue|dge|geo|dj"
            ],
            "tips": [
                [
                    "a[ge]",
                    "ima[ge]"
                ]
            ]
        }
    }
}

PHP代码示例:

$word = $_GET["word"];
$type = $_GET["type"];
$url = "https://api.52vmy.cn/api/wl/word?word=".$word."&type=".$type;
echo file_get_contents($url);