常见问题

有道智云少儿词典接口针对少儿场景下汉语/英文词典的内容。
有道少儿词典服务旨在将词典APP中的精华词汇内容以接口形式输出给有需要的的客户,您可以将需要查询的词汇发给此服务,我们将会通过接口为您返回释义、发音、音标、例句等结果信息。此服务暂不支持您在控制台自助开通,您可以在工作日10:00-18:00之间电话联系(010-8255-8901)智云获得接入支持,或者通过邮件(AIcloud_Business@corp.youdao.com)留下您的联系方式与合作需求,我们将在最近的工作日与您联系。
使用此服务您需要严格遵守有道智云服务条款 ,我们返回给您的数据严禁缓存、再利用与转卖,我们将通过技术手段巡查您是否有缓存数据等违规行为,若存在违规行为您需要承担相应的法律责任。
有道少儿词典接口输出查询的中文和英文的内容。
有道少儿词典API HTTPS地址:
https://openapi.youdao.com/v2/kid_dict
调用API需要向接口发送以下字段来访问服务。
字段名 | 含义 | 必填 | 示例 |
---|---|---|---|
q | 待查询的词 | True | good |
langType | 输入的语言,支持的语言参见语言列表 | True | auto |
appKey | 创建api类型的应用获得的应用ID | True | testKey |
salt | 随机值,建议使用uuid | True | uuid |
sign | 签名,sign 由客户端算好后传递,具体生成规则,见附注 | True | whatever |
signType | 签名类型 | True | v3 |
docType | 服务器响应类型,目前只支持json | false | json |
curtime | 当前UTC时间戳 | true | 1543199847 |
签名生成方法如下:
signType=v3;
sign=sha256(应用ID+input+salt+curtime+应用密钥);
其中,input的计算方式为:input=q前10个字符 + q长度 + q后10个字符(当q长度大于20)或 input=q字符串(当q长度小于等于20);
语言 | 代码 |
---|---|
自动识别 | auto |
中文 | zh-CHS |
英文 | en |
字段 | 类型 | 说明 |
---|---|---|
errorCode | text | 状态码 |
result | JSONArray | 结果 |
-character | String | 字 |
-radical | String | 偏旁 |
-level | String | 年级 |
-details | JSONArray | 详细释义 |
--voice | JSONArray | 发音 |
---voice | String | 发音Url |
---pos | String | 词性 |
---phone | String | 音标 |
--spell | JSONArray | 拼读发音 |
---phonetic | String | 音标 |
---sound | String | 笔画发音Url |
---position | Integer Array | 笔画 |
--usVoice | JSONArray | 美式发音 |
---voice | String | 发音Url |
---usPhonetic | String | 美式音标 |
--pinyin | String Array | 拼音 |
--errorProneWord | String Array | 易错词汇 |
--synonyms | Array | 近义词 |
--antonyms | Array | 反义词 |
--relatedWords | JSONArray | 相关词 |
---idioms | Object Array | 习惯用语、成语列表 |
---start | Object Array | 以当前汉字开头的词汇列表 |
---end | Object Array | 以当前汉字结尾的词汇列表 |
--meanings | ObjectArray | 释义 |
---value | String | 释义 |
---example | array | 示例 |
--strokeNames | String Array | 汉字笔画名称 |
--stroke | Object | 汉字笔画svg列表 |
---strokes | String Array | 每一笔的笔画svg |
---medians | Object | 笔画坐标列表(参见:https://www.skishore.me/makemeahanzi/) |
--structure | String | 汉字结构 |
--strokeCount | String | 汉字笔画数 |
--story | Array | 故事 |
--poem | JSONArray | 诗歌 |
--source | String | 来源 |
{
"errorCode": "0",
"requestId": "0244c8ab-5d28-42d3-a1fd-381d8416d8c7",
"msg": "success",
"result": [{
"character": "好",
"radical": "女",
"level": 1,
"details": [{
"voice": [{
"voice": "http://kiddictvoice.youdao.com/kidvoice?salt=5830b39e-5bb5-4179-9618-47ba451fb029&curtime=1612376482&sign=853ed8bc6500736bb0bbdae05d6732088a1a4d52c2c91b8ac68aac94128dae56&q=lang=pinyin&q=hao3&signType=v2&appKey=09ad146656705a17"
}],
"spell": [{
"phonetic": "h",
"sound": "http://kiddictvoice.youdao.com/kidvoice?salt=028c4387-31ff-4d6b-81e7-a80d241a271f&curtime=1612376482&sign=7a50dc921fe95745cba1cbf0d7217f58f5b1f4720b36268c4f5dd35ed5bc7bbc&q=h&signType=v2&appKey=09ad146656705a17",
"position": [0]
}, {
"phonetic": "ao",
"sound": "http://kiddictvoice.youdao.com/kidvoice?salt=f50e55b4-4232-4de6-9f3e-62f9af6a72c1&curtime=1612376482&sign=60aeb05e6822f393b385b069f0f484606ff3771c5d1bd71cc48491e4e0370dc2&q=ao&signType=v2&appKey=09ad146656705a17",
"position": [1, 2]
}],
"pinyin": ["hǎo"],
"sentences": [],
"synonyms": ["美", "佳"],
"antonyms": ["糟", "孬", "恶", "坏", "差"],
"errorProneWord": [],
"meanings": [{
"value": "身体强壮的,事事顺心的。",
"example": ["好身手", "您好", "安好", "好身体"]
}, {
"value": "和“坏”相反,善良的或合人心意的。",
"example": ["好人", "好美", "好汉", "良好", "好事"]
}, {
"value": "方便,便利。",
"example": ["好用", "好办", "好使", "好弄", "拿走东西好让我进去。"]
}, {
"value": "和谐,友爱,平和。",
"example": ["交好", "友好", "相好", "和好", "好朋友"]
}, {
"value": "进行表扬,表示同意。",
"example": ["好!就这样办!"]
}, {
"value": "实现,达成。",
"example": ["开好房间", "关好风扇"]
}, {
"value": "表示程度,非常,特别。",
"example": ["好热", "好慢", "好大", "好久", "好难过"]
}, {
"value": "表示事情坏了,是反话。",
"example": ["这下可好了。"]
}],
"relatedWords": {
"idioms": ["不好意思", "好事多磨", "花好月圆"],
"start": ["好像", "好好", "好处", "好多", "好看", "好些", "好人", "好转", "好久", "好比", "好吃", "好听", "好似", "好在", "好笑", "好心", "好办", "好感", "好评", "好玩", "好意", "好汉", "好说", "好书", "好言", "好莱坞", "好闻", "好手", "好戏", "好景", "好过", "好运", "好生", "好辩", "好话", "好道", "好惹", "好端端", "好事多磨", "好天", "好酒", "好不好", "好歹", "好死", "好走"],
"end": ["不好", "只好", "良好", "最好", "好好", "搞好", "正好", "美好", "爱好", "友好", "也好", "恰好", "大好", "学好", "办好", "要好", "修好", "幸好", "讨好", "见好", "晴好", "相好", "媚好", "极好", "唱好", "问好", "交好", "你好", "还好", "姣好", "看好", "绝好", "通好", "好不好", "上好", "叫好", "较好", "安好", "行好", "完好"]
}
}, {
"voice": [{
"voice": "http://kiddictvoice.youdao.com/kidvoice?salt=cf8b4d92-bfef-45f2-9acc-be6ec5fca42d&curtime=1612376482&sign=326a285484d6ab8b0403cde5f70eea540bd60f486d0062503062bc013ac49545&q=lang=pinyin&q=hao4&signType=v2&appKey=09ad146656705a17"
}],
"spell": [{
"phonetic": "h",
"sound": "http://kiddictvoice.youdao.com/kidvoice?salt=ac7eaefa-fe70-4c38-8b15-74a358161fa1&curtime=1612376482&sign=876c6a2d1b482df65a219b56edf9ef50f5acc6da0f908d156d73426636846de6&q=h&signType=v2&appKey=09ad146656705a17",
"position": [0]
}, {
"phonetic": "ao",
"sound": "http://kiddictvoice.youdao.com/kidvoice?salt=77b16707-6f9a-4501-8a19-a27c06522561&curtime=1612376482&sign=b59b1cf6925206d157880f83885c612dbbc22a03e923884fa69323fd8359baf1&q=ao&signType=v2&appKey=09ad146656705a17",
"position": [1, 2]
}],
"pinyin": ["hào"],
"sentences": [],
"synonyms": [],
"antonyms": [],
"errorProneWord": [],
"meanings": [{
"value": "喜欢,和“讨厌”相反。",
"example": ["爱好", "好奇", "好动", "好学", "好高骛远"]
}, {
"value": "不时,频频发生。",
"example": ["菠萝不快点吃掉就好烂。"]
}],
"relatedWords": {
"idioms": ["好吃懒做", "好大喜功", "好高骛远", "好为人师", "好整以暇", "洁身自好", "乐善好施"],
"start": ["好事", "好奇", "好奇心", "好客", "好学", "好吃懒做", "好为人师", "好动", "好问", "好高骛远", "好战", "好大喜功", "好古", "好施", "好色", "好恶", "好整以暇", "好尚"],
"end": ["爱好", "嗜好", "洁身自好", "喜好", "玩好", "同好"]
}
}],
"strokeNames": ["PD", "P", "H", "HP", "WG", "H"],
"type": "CHAR",
"stroke": {
"strokes": ["M 330 202 Q 361 175 399 134 Q 415 119 424 118 Q 433 118 439 128 Q 446 138 442 170 Q 435 206 361 247 L 319 270 Q 292 286 258 304 Q 237 314 240 335 Q 261 393 281 453 L 293 492 Q 317 568 337 644 Q 347 690 366 715 Q 379 737 373 750 Q 360 769 313 797 Q 294 810 276 801 Q 263 794 273 778 Q 303 733 247 486 L 236 442 Q 218 373 195 336 Q 185 314 206 296 Q 254 268 294 233 L 330 202 Z", "M 294 233 Q 287 226 281 217 Q 250 180 196 143 Q 183 134 165 124 Q 149 114 133 104 Q 120 95 131 92 Q 212 86 327 199 Q 328 200 330 202 L 361 247 Q 406 322 421 385 Q 449 488 463 510 Q 473 526 458 537 Q 416 576 387 569 Q 374 565 378 550 Q 387 531 387 507 L 385 481 Q 384 469 382 455 Q 375 376 319 270 L 294 233 Z", "M 387 507 Q 341 501 293 492 L 247 486 Q 183 479 115 468 Q 94 465 61 471 Q 48 471 45 462 Q 41 450 49 441 Q 68 422 96 400 Q 106 396 118 402 Q 190 436 236 442 L 281 453 Q 320 463 362 474 Q 372 478 385 481 C 414 489 417 511 387 507 Z", "M 671 521 Q 788 635 822 648 Q 843 655 835 672 Q 831 688 760 725 Q 739 735 716 725 Q 661 703 575 676 Q 553 669 498 669 Q 473 669 482 648 Q 491 635 511 623 Q 544 605 578 627 Q 597 636 691 676 Q 706 682 719 673 Q 732 664 726 649 Q 693 595 655 531 C 640 505 649 500 671 521 Z", "M 717 430 Q 702 497 671 521 L 655 531 Q 648 535 640 538 Q 618 547 608 540 Q 595 533 608 519 Q 645 491 653 444 Q 656 434 659 421 L 668 384 Q 701 204 658 103 Q 643 76 607 83 Q 576 89 548 94 Q 536 97 542 85 Q 546 78 564 65 Q 604 31 618 5 Q 628 -14 645 -11 Q 660 -10 687 17 Q 775 107 726 391 L 717 430 Z", "M 726 391 Q 783 397 947 397 Q 966 398 971 406 Q 977 416 960 430 Q 909 467 848 454 Q 793 445 717 430 L 659 421 Q 562 409 452 393 Q 431 392 447 375 Q 460 362 478 357 Q 497 351 514 356 Q 586 375 668 384 L 726 391 Z"],
"medians": [
[
[282, 788],
[307, 769],
[327, 733],
[264, 465],
[216, 321],
[235, 298],
[386, 194],
[411, 166],
[424, 133]
],
[
[390, 556],
[417, 530],
[424, 516],
[422, 504],
[387, 361],
[338, 255],
[304, 207],
[260, 165],
[206, 127],
[137, 97]
],
[
[59, 457],
[107, 434],
[373, 491],
[380, 501]
],
[
[493, 656],
[517, 646],
[550, 644],
[680, 692],
[706, 699],
[743, 696],
[771, 669],
[765, 657],
[677, 546],
[674, 535],
[663, 536]
],
[
[613, 530],
[637, 519],
[659, 499],
[674, 474],
[687, 432],
[711, 289],
[709, 166],
[692, 92],
[672, 59],
[648, 41],
[551, 85]
],
[
[449, 384],
[504, 377],
[860, 427],
[906, 426],
[960, 412]
]
]
},
"structure": "左右结构",
"strokeCount": 6
}]
}
{
"errorCode": "0",
"requestId": "4d0f0798-1f01-4be2-b793-3562cbd0ede4",
"msg": "success",
"result": [{
"details": [{
"voice": [{
"voice": "https://kiddictvoice.youdao.com/kidvoice?salt=dffae58f-241d-4775-8561-e08c17f24ded&curtime=1645413351&sign=6963b8cb7c9d8f33268bb5e31733bebae235878e6c6f77d432a93c66a5b0e21b&lang=word&q=%E7%BE%8E%28mei3%29%E4%B8%BD%28li4%29&signType=v2&appKey=6cf01529c07cf5fe"
}],
"pinyin": ["měi", "lì"],
"synonyms": ["秀丽", "奇丽", "瑰丽", "绚丽", "壮丽", "美艳", "富丽", "瑰丽", "鲜艳", "美观", "标致", "端庄", "精致", "好看", "婀娜", "妩媚", "俊俏"],
"antonyms": ["难看", "丑陋", "丑恶"],
"meanings": [{
"pos": "形容",
"value": "好看;能给人美感的。",
"example": ["美丽的容貌。", "让青春更美丽。"]
}]
}],
"type": "WORD",
"word": "美丽"
}]
}
{
"errorCode": "0",
"requestId": "895e2fc5-f3e3-4f23-936a-356b320c848a",
"msg": "success",
"result": [{
"details": [{
"voice": [{
"voice": "http://kiddictvoice.youdao.com/kidvoice?salt=980f62fe-9f12-4b31-971c-abe73278bbc9&curtime=1612375962&sign=cb088842734d6ea2b03921df7936920995330b1fc637272c41cc84a981ad2f11&q=lang=word&q=%E6%84%9A%E5%85%AC%E7%A7%BB%E5%B1%B1&signType=v2&appKey=09ad146656705a17"
}],
"pinyin": ["yú", "gōng", "yí", "shān"],
"synonyms": ["锲而不舍", "持之以恒", "始终不渝"],
"antonyms": ["虎头蛇尾", "有头无尾"],
"source": "《列子·汤问》记载:愚公家门前有两大座山挡着路,他决心把山平掉,另一个老人智叟笑他太傻,认为不能能。愚公说:我死了有儿子,儿子死了还有孙子,子子孙孙是没有穷尽的,两座山终究会凿平。",
"meanings": [{
"value": ["比喻坚持不懈地改造自然和坚定不移地进行斗争。"]
}],
"story": "传说古代有两座大山间住着一个90岁的愚公,他每次出门因大山阻隔,要绕很大的弯子,他把全家人召集起来,要他们用毕生的精力也要搬走太行、王屋两座山,好方便他们进出。他们积极行动,一家人每天不停地挖,他们的精神感动了玉帝。"
}],
"type": "IDIOM",
"word": "愚公移山"
}, {
"poem": [
[{
"origin": "太行、王屋二山,"
}, {
"origin": "方七百里,"
}, {
"origin": "高万仞,"
}, {
"origin": "本在冀州之南,"
}, {
"origin": "河阳之北。"
}],
[{
"origin": "北山愚公者,"
}, {
"origin": "年且九十,"
}, {
"origin": "面山而居。"
}, {
"origin": "惩山北之塞,"
}, {
"origin": "出入之迂也,"
}, {
"origin": "聚室而谋曰:"
}, {
"origin": "“吾与汝毕力平险,"
}, {
"origin": "指通豫南,"
}, {
"origin": "达于汉阴,"
}, {
"origin": "可乎?”"
}, {
"origin": "杂然相许。其妻献疑曰:"
}, {
"origin": "“以君之力,"
}, {
"origin": "曾不能损魁父之丘,"
}, {
"origin": "如太行、王屋何?"
}, {
"origin": "且焉置土石?”"
}, {
"origin": "杂曰:"
}, {
"origin": "“投诸渤海之尾,"
}, {
"origin": "隐土之北。”"
}, {
"origin": "遂率子孙荷担者三夫,"
}, {
"origin": "叩石垦壤,"
}, {
"origin": "箕畚运于渤海之尾。"
}, {
"origin": "邻人京城氏之孀妻有遗男,"
}, {
"origin": "始龀,跳往助之。"
}, {
"origin": "寒暑易节,始一反焉。"
}],
[{
"origin": "河曲智叟笑而止之曰:"
}, {
"origin": "“甚矣,汝之不惠!"
}, {
"origin": "以残年余力,"
}, {
"origin": "曾不能毁山之一毛,"
}, {
"origin": "其如土石何?”"
}, {
"origin": "北山愚公长息曰:"
}, {
"origin": "“汝心之固,"
}, {
"origin": "固不可彻,"
}, {
"origin": "曾不若孀妻弱子。"
}, {
"origin": "虽我之死,"
}, {
"origin": "有子存焉。"
}, {
"origin": "子又生孙,"
}, {
"origin": "孙又生子;子又有子,子又有孙;"
}, {
"origin": "子子孙孙无穷匮也,"
}, {
"origin": "而山不加增,"
}, {
"origin": "何苦而不平?”"
}, {
"origin": "河曲智叟亡以应。"
}],
[{
"origin": "操蛇之神闻之,"
}, {
"origin": "惧其不已也,"
}, {
"origin": "告之于帝。"
}, {
"origin": "帝感其诚,"
}, {
"origin": "命夸娥氏二子负二山,"
}, {
"origin": "一厝朔东,"
}, {
"origin": "一厝雍南。"
}, {
"origin": "自此,"
}, {
"origin": "冀之南,"
}, {
"origin": "汉之阴,"
}, {
"origin": "无陇断焉。"
}]
],
"type": "POEM"
}]
}
{
"errorCode": "0",
"requestId": "86f8a6c0-3d23-4b32-ad00-d5e7b06b5fad",
"msg": "success",
"result": [{
"image": "http://oimagec5.ydstatic.com/image?id=8035347685817079127&product=kid-dict",
"cnTag": "动作动词",
"details": [{
"voice": [{
"voice": "https://kiddictvoice.youdao.com/kidvoice?salt=e82203ff-0a98-4771-b2d7-fb5c1f33664c&curtime=1636091201&sign=3286ae2d8d7782e765be5b26a903ffd987725e946a4b5ba3bd68c93d3b520dbf&lang=en&q=eat&signType=v2&appKey=6cf01529c07cf5fe",
"phonetic": "iːt",
"pos": "v.",
"phone": "iːt"
}],
"derivatives": [{
"word": "eater",
"meanings": [{
"pos": "n.",
"meaning": " 食者"
}]
}, {
"word": "eatable",
"meanings": [{
"pos": "adj.",
"meaning": " 可吃的"
}, {
"pos": "n.",
"meaning": " 食物(常用复数)"
}]
}, {
"word": "eating",
"meanings": [{
"pos": "adj.",
"meaning": " 侵蚀的;可生食的;进餐用的"
}, {
"pos": "n.",
"meaning": " 吃;食物"
}, {
"pos": "v.",
"meaning": " 吃(eat 的现在分词形式)"
}]
}],
"spell": [{
"phonetic": "iː",
"sound": "https://kiddictvoice.youdao.com/kidvoice?salt=ab1a1743-9848-4bba-8542-0a5879841e17&curtime=1636091201&sign=97343d81f5a792d89b27d74210cc057d8d155673c5c6675cfadea7997c5d14b5&q=iː&signType=v2&appKey=6cf01529c07cf5fe",
"position": [0, 1]
}, {
"phonetic": "t",
"sound": "https://kiddictvoice.youdao.com/kidvoice?salt=c461f05c-4345-4a79-860a-7201bd8ab491&curtime=1636091201&sign=e90ff0d32d29ce558b42088a1e77f09ca6cfcb257ee5c4d7b30250ef22bb502e&q=t&signType=v2&appKey=6cf01529c07cf5fe",
"position": [2]
}],
"tenses": {
"presentParticiple": "eating",
"past": "ate",
"pastParticiple": "eaten",
"thirdPersonSingular": "eats"
},
"usVoice": [{
"voice": "https://kiddictvoice.youdao.com/kidvoice?salt=d84847dc-eae7-4fa4-bc68-2752d573caa6&curtime=1636091201&sign=be38132210969f33f0ce6b5847fddbdfb34fefca178bd4e4074c710173c9df39&lang=us&q=eat&signType=v2&appKey=6cf01529c07cf5fe",
"usPhonetic": "iːt"
}],
"phrases": [{
"phrase": "eat well",
"meanings": ["健康首选;吃得营养;吃的好;胃口好"]
}, {
"phrase": "eat in",
"meanings": ["在家吃饭;侵蚀"]
}, {
"phrase": "eat at",
"meanings": ["困扰"]
}, {
"phrase": "eat out",
"meanings": ["上馆子吃饭;锈坏;使腐烂"]
}, {
"phrase": "eat breakfast",
"meanings": ["吃早饭"]
}, {
"phrase": "eat meat",
"meanings": ["吃肉"]
}, {
"phrase": "eat up",
"meanings": ["吃光;耗尽;击垮"]
}, {
"phrase": "eat of",
"meanings": ["吃一些"]
}, {
"phrase": "eat lunch",
"meanings": ["吃午餐"]
}, {
"phrase": "eat dinner",
"meanings": ["吃晚饭,吃晚餐"]
}, {
"phrase": "eat food",
"meanings": ["吃食物"]
}, {
"phrase": "eat crow",
"meanings": ["丢脸;被迫收回自己说的话"]
}, {
"phrase": "eat the bread of",
"meanings": ["受到……,遭受……"]
}, {
"phrase": "eat into",
"meanings": ["侵蚀"]
}, {
"phrase": "eat humble pie",
"meanings": ["忍辱含垢;低头谢罪"]
}, {
"phrase": "ready to eat",
"meanings": ["即食食品;速煮食品;方便食品"]
}, {
"phrase": "eat dirt",
"meanings": ["含垢忍辱(口语,等于 eat boiled crow)"]
}, {
"phrase": "eat off",
"meanings": ["吃掉;腐蚀掉"]
}, {
"phrase": "eat away",
"meanings": ["侵蚀;痛快地吃,尽情地吃"]
}, {
"phrase": "eat like a horse",
"meanings": ["吃得多"]
}],
"meanings": [{
"pos": "v.",
"value": ["吃;食", "用餐"]
}],
"relatedWords": {
"words": [{
"definition": "驾驶(drive 的过去式)(移动的)人群,畜群",
"word": "drove"
}, {
"definition": "喝(drink 的过去分词)喝醉的;醉酒的",
"word": "drunk"
}, {
"definition": "挖;翻土(dig 的过去式和过去分词)",
"word": "dug"
}, {
"definition": "染;给……染色染料;染液",
"word": "dye"
}, {
"definition": "编辑;校订剪辑,剪接(影片、电视节目等)",
"word": "edit"
}, {
"definition": "出现;浮现;显露",
"word": "emerge"
}, {
"definition": "进入;进去报名参加(考试、比赛等)",
"word": "enter"
}, {
"definition": "逃跑;逃避;逃脱逃脱;逃离",
"word": "escape"
}]
}
}],
"tag": "Verbs of Movement",
"type": "EN_WORD",
"word": "eat"
}]
}