英语词典 API

获取所有英语单词的字典,包括示例、发音、定义等
通过 MCP 从您的 AI 代理使用此 API
支持 OpenClaw、Claude Code/Desktop、Cursor、Windsurf、Cline 以及任何兼容 MCP 的 AI 客户端。
文档和设置
通过封装此 MCP 创建技能: https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY

英语词典API

 

英语词典API 提供了一个全面且易于使用的服务,用于查找定义、同义词、反义词、翻译等。该API旨在支持开发人员将词典功能集成到他们的应用程序中,提供来自一个庞大且可靠数据库的准确和最新的词汇信息。

 

主要特点

  • 单词定义 :获取英语单词的详细定义。
  • 同义词和反义词 :查找同义词和反义词,以扩大词汇使用。
  • 翻译 :将单词翻译成多种语言。
  • 发音 :访问音频发音,学习正确的发音方式。
  • 示例 :获取示例句子,以理解单词在语境中的使用。

 

示例请求

```http

GET

/define?word=example

```

API 文档

端点


获取单词音标


                                                                            
POST https://zylalabs.com/api/4231/english+dictionary+api/5142/phonetic
                                                                            
                                                                        

音标 - 端点功能

对象 描述
word [必需] Key `word` is required
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"phonetic_text_representation":["/\u02c8k\u00e6n/","/\u02c8k\u00e6\u02d0n/"]}
                                                                                                                                                                                                                    
                                                                                                    

音标 - 代码片段


curl --location --request POST 'https://zylalabs.com/api/4231/english+dictionary+api/5142/phonetic?word=can' --header 'Authorization: Bearer YOUR_API_KEY' 


    

获取音频


                                                                            
POST https://zylalabs.com/api/4231/english+dictionary+api/5143/audio
                                                                            
                                                                        

音频 - 端点功能

对象 描述
word [必需]
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"all_audio_links":["https://api.dictionaryapi.dev/media/pronunciations/en/can-1-us-stressed.mp3","https://api.dictionaryapi.dev/media/pronunciations/en/can-2-uk.mp3"]}
                                                                                                                                                                                                                    
                                                                                                    

音频 - 代码片段


curl --location --request POST 'https://zylalabs.com/api/4231/english+dictionary+api/5143/audio?word=can' --header 'Authorization: Bearer YOUR_API_KEY' 


    

获取单词定义及示例


                                                                            
POST https://zylalabs.com/api/4231/english+dictionary+api/5144/definition+with+example
                                                                            
                                                                        

定义与例子 - 端点功能

对象 描述
word [必需]
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"all_definitions_with_example":[{"definition":"(auxiliary verb, defective) To know how to; to be able to.","example":"She can speak English, French, and German.\u00a0\u00a0 I can play football.\u00a0\u00a0 Can you remember your fifth birthday?"},{"definition":"(modal auxiliary verb, defective) May; to be permitted or enabled to.","example":"You can go outside and play when you're finished with your homework.\u00a0\u00a0 Can I use your pen?"},{"definition":"(modal auxiliary verb, defective) To have the potential to; be possible.","example":"Animals can experience emotions."},{"definition":"(auxiliary verb, defective) Used with verbs of perception.","example":"Can you hear that?."},{"definition":"A chamber pot, now a toilet or lavatory.","example":"Bob's in the can. You can wait a few minutes or just leave it with me."},{"definition":"Jail or prison.","example":"Bob's in the can. He won't be back for a few years."},{"definition":"To seal in a can.","example":"They canned air to sell as a novelty to tourists."},{"definition":"To preserve by heating and sealing in a jar or can.","example":"They spent August canning fruit and vegetables."},{"definition":"To discard, scrap or terminate (an idea, project, etc.).","example":"He canned the whole project because he thought it would fail."},{"definition":"To shut up.","example":"Can your gob."},{"definition":"To fire or dismiss an employee.","example":"The boss canned him for speaking out."},{"definition":"(auxiliary verb, defective) To know how to; to be able to.","example":"She can speak English, French, and German.\u00a0\u00a0 I can play football.\u00a0\u00a0 Can you remember your fifth birthday?"},{"definition":"(modal auxiliary verb, defective) May; to be permitted or enabled to.","example":"You can go outside and play when you're finished with your homework.\u00a0\u00a0 Can I use your pen?"},{"definition":"(modal auxiliary verb, defective) To have the potential to; be possible.","example":"Animals can experience emotions."},{"definition":"(auxiliary verb, defective) Used with verbs of perception.","example":"Can you hear that?."},{"definition":"A chamber pot, now a toilet or lavatory.","example":"Bob's in the can. You can wait a few minutes or just leave it with me."},{"definition":"Jail or prison.","example":"Bob's in the can. He won't be back for a few years."},{"definition":"To seal in a can.","example":"They canned air to sell as a novelty to tourists."},{"definition":"To preserve by heating and sealing in a jar or can.","example":"They spent August canning fruit and vegetables."},{"definition":"To discard, scrap or terminate (an idea, project, etc.).","example":"He canned the whole project because he thought it would fail."},{"definition":"To shut up.","example":"Can your gob."},{"definition":"To fire or dismiss an employee.","example":"The boss canned him for speaking out."}]}
                                                                                                                                                                                                                    
                                                                                                    

定义与例子 - 代码片段


curl --location --request POST 'https://zylalabs.com/api/4231/english+dictionary+api/5144/definition+with+example?word=can' --header 'Authorization: Bearer YOUR_API_KEY' 


    

词典 



                                                                            
POST https://zylalabs.com/api/4231/english+dictionary+api/5145/dictionary+entry
                                                                            
                                                                        

字典条目 - 端点功能

对象 描述
word [必需]
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"dict_entry":[{"license":{"name":"CC BY-SA 3.0","url":"https://creativecommons.org/licenses/by-sa/3.0"},"meanings":[{"antonyms":["can't","cannot","can\u2019t"],"definitions":[{"antonyms":["can't","cannot","can\u2019t"],"definition":"(auxiliary verb, defective) To know how to; to be able to.","example":"She can speak English, French, and German.\u00a0\u00a0 I can play football.\u00a0\u00a0 Can you remember your fifth birthday?","synonyms":["be able to"]},{"antonyms":[],"definition":"(modal auxiliary verb, defective) May; to be permitted or enabled to.","example":"You can go outside and play when you're finished with your homework.\u00a0\u00a0 Can I use your pen?","synonyms":["may"]},{"antonyms":[],"definition":"(modal auxiliary verb, defective) To have the potential to; be possible.","example":"Animals can experience emotions.","synonyms":[]},{"antonyms":[],"definition":"(auxiliary verb, defective) Used with verbs of perception.","example":"Can you hear that?.","synonyms":[]},{"antonyms":[],"definition":"To know.","synonyms":["cognize","grok","ken"]}],"partOfSpeech":"verb","synonyms":["be able to","cognize","grok","ken","may"]}],"phonetic":"/\u02c8k\u00e6n/","phonetics":[{"audio":"","text":"/\u02c8k\u00e6n/"},{"audio":"","text":"/\u02c8k\u00e6n/"},{"audio":"","text":"/\u02c8k\u00e6n/"},{"audio":"https://api.dictionaryapi.dev/media/pronunciations/en/can-1-us-stressed.mp3","license":{"name":"BY-SA 3.0","url":"https://creativecommons.org/licenses/by-sa/3.0"},"sourceUrl":"https://commons.wikimedia.org/w/index.php?curid=192104","text":"/\u02c8k\u00e6n/"}],"sourceUrls":["https://en.wiktionary.org/wiki/can"],"word":"can"},{"license":{"name":"CC BY-SA 3.0","url":"https://creativecommons.org/licenses/by-sa/3.0"},"meanings":[{"antonyms":[],"definitions":[{"antonyms":[],"definition":"A more or less cylindrical vessel for liquids, usually of steel or aluminium, but sometimes of plastic, and with a carrying handle over the top.","synonyms":[]},{"antonyms":[],"definition":"A container used to carry and dispense water for plants (a watering can).","synonyms":[]},{"antonyms":[],"definition":"A tin-plate canister, often cylindrical, for preserved foods such as fruit, meat, or fish.","synonyms":[]},{"antonyms":[],"definition":"A chamber pot, now a toilet or lavatory.","example":"Bob's in the can. You can wait a few minutes or just leave it with me.","synonyms":[]},{"antonyms":[],"definition":"Buttocks.","synonyms":[]},{"antonyms":[],"definition":"Jail or prison.","example":"Bob's in the can. He won't be back for a few years.","synonyms":[]},{"antonyms":[],"definition":"(in the plural) Headphones.","synonyms":[]},{"antonyms":[],"definition":"A drinking cup.","synonyms":[]},{"antonyms":[],"definition":"A cube-shaped buoy or marker used to denote a port-side lateral mark","synonyms":[]},{"antonyms":[],"definition":"A chimney pot.","synonyms":[]},{"antonyms":[],"definition":"(in the plural) an E-meter used in Scientology auditing.","synonyms":[]}],"partOfSpeech":"noun","synonyms":["tin"]},{"antonyms":[],"definitions":[{"antonyms":[],"definition":"To seal in a can.","example":"They canned air to sell as a novelty to tourists.","synonyms":[]},{"antonyms":[],"definition":"To preserve by heating and sealing in a jar or can.","example":"They spent August canning fruit and vegetables.","synonyms":[]},{"antonyms":[],"definition":"To discard, scrap or terminate (an idea, project, etc.).","example":"He canned the whole project because he thought it would fail.","synonyms":[]},{"antonyms":[],"definition":"To shut up.","example":"Can your gob.","synonyms":[]},{"antonyms":[],"definition":"To fire or dismiss an employee.","example":"The boss canned him for speaking out.","synonyms":[]},{"antonyms":[],"definition":"To hole the ball.","synonyms":[]}],"partOfSpeech":"verb","synonyms":[]}],"phonetic":"/\u02c8k\u00e6\u02d0n/","phonetics":[{"audio":"","text":"/\u02c8k\u00e6\u02d0n/"},{"audio":"https://api.dictionaryapi.dev/media/pronunciations/en/can-2-uk.mp3","license":{"name":"BY-SA 4.0","url":"https://creativecommons.org/licenses/by-sa/4.0"},"sourceUrl":"https://commons.wikimedia.org/w/index.php?curid=80066428","text":"/\u02c8k\u00e6n/"},{"audio":"","text":"/\u02c8k\u00e6n/"}],"sourceUrls":["https://en.wiktionary.org/wiki/can"],"word":"can"}]}
                                                                                                                                                                                                                    
                                                                                                    

字典条目 - 代码片段


curl --location --request POST 'https://zylalabs.com/api/4231/english+dictionary+api/5145/dictionary+entry?word=can' --header 'Authorization: Bearer YOUR_API_KEY' 


    

获取所有词性


                                                                            
POST https://zylalabs.com/api/4231/english+dictionary+api/5146/parts+of+speech
                                                                            
                                                                        

词类 - 端点功能

对象 描述
word [必需]
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"parts_of_speech":["verb","noun"]}
                                                                                                                                                                                                                    
                                                                                                    

词类 - 代码片段


curl --location --request POST 'https://zylalabs.com/api/4231/english+dictionary+api/5146/parts+of+speech?word=can' --header 'Authorization: Bearer YOUR_API_KEY' 


    

获取意义



                                                                            
POST https://zylalabs.com/api/4231/english+dictionary+api/5147/meaning
                                                                            
                                                                        

意义 - 端点功能

对象 描述
word [必需]
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"meanings":[[{"antonyms":["can't","cannot","can\u2019t"],"definitions":[{"antonyms":["can't","cannot","can\u2019t"],"definition":"(auxiliary verb, defective) To know how to; to be able to.","example":"She can speak English, French, and German.\u00a0\u00a0 I can play football.\u00a0\u00a0 Can you remember your fifth birthday?","synonyms":["be able to"]},{"antonyms":[],"definition":"(modal auxiliary verb, defective) May; to be permitted or enabled to.","example":"You can go outside and play when you're finished with your homework.\u00a0\u00a0 Can I use your pen?","synonyms":["may"]},{"antonyms":[],"definition":"(modal auxiliary verb, defective) To have the potential to; be possible.","example":"Animals can experience emotions.","synonyms":[]},{"antonyms":[],"definition":"(auxiliary verb, defective) Used with verbs of perception.","example":"Can you hear that?.","synonyms":[]},{"antonyms":[],"definition":"To know.","synonyms":["cognize","grok","ken"]}],"partOfSpeech":"verb","synonyms":["be able to","cognize","grok","ken","may"]}],[{"antonyms":[],"definitions":[{"antonyms":[],"definition":"A more or less cylindrical vessel for liquids, usually of steel or aluminium, but sometimes of plastic, and with a carrying handle over the top.","synonyms":[]},{"antonyms":[],"definition":"A container used to carry and dispense water for plants (a watering can).","synonyms":[]},{"antonyms":[],"definition":"A tin-plate canister, often cylindrical, for preserved foods such as fruit, meat, or fish.","synonyms":[]},{"antonyms":[],"definition":"A chamber pot, now a toilet or lavatory.","example":"Bob's in the can. You can wait a few minutes or just leave it with me.","synonyms":[]},{"antonyms":[],"definition":"Buttocks.","synonyms":[]},{"antonyms":[],"definition":"Jail or prison.","example":"Bob's in the can. He won't be back for a few years.","synonyms":[]},{"antonyms":[],"definition":"(in the plural) Headphones.","synonyms":[]},{"antonyms":[],"definition":"A drinking cup.","synonyms":[]},{"antonyms":[],"definition":"A cube-shaped buoy or marker used to denote a port-side lateral mark","synonyms":[]},{"antonyms":[],"definition":"A chimney pot.","synonyms":[]},{"antonyms":[],"definition":"(in the plural) an E-meter used in Scientology auditing.","synonyms":[]}],"partOfSpeech":"noun","synonyms":["tin"]},{"antonyms":[],"definitions":[{"antonyms":[],"definition":"To seal in a can.","example":"They canned air to sell as a novelty to tourists.","synonyms":[]},{"antonyms":[],"definition":"To preserve by heating and sealing in a jar or can.","example":"They spent August canning fruit and vegetables.","synonyms":[]},{"antonyms":[],"definition":"To discard, scrap or terminate (an idea, project, etc.).","example":"He canned the whole project because he thought it would fail.","synonyms":[]},{"antonyms":[],"definition":"To shut up.","example":"Can your gob.","synonyms":[]},{"antonyms":[],"definition":"To fire or dismiss an employee.","example":"The boss canned him for speaking out.","synonyms":[]},{"antonyms":[],"definition":"To hole the ball.","synonyms":[]}],"partOfSpeech":"verb","synonyms":[]}],[{"antonyms":["can't","cannot","can\u2019t"],"definitions":[{"antonyms":["can't","cannot","can\u2019t"],"definition":"(auxiliary verb, defective) To know how to; to be able to.","example":"She can speak English, French, and German.\u00a0\u00a0 I can play football.\u00a0\u00a0 Can you remember your fifth birthday?","synonyms":["be able to"]},{"antonyms":[],"definition":"(modal auxiliary verb, defective) May; to be permitted or enabled to.","example":"You can go outside and play when you're finished with your homework.\u00a0\u00a0 Can I use your pen?","synonyms":["may"]},{"antonyms":[],"definition":"(modal auxiliary verb, defective) To have the potential to; be possible.","example":"Animals can experience emotions.","synonyms":[]},{"antonyms":[],"definition":"(auxiliary verb, defective) Used with verbs of perception.","example":"Can you hear that?.","synonyms":[]},{"antonyms":[],"definition":"To know.","synonyms":["cognize","grok","ken"]}],"partOfSpeech":"verb","synonyms":["be able to","cognize","grok","ken","may"]}],[{"antonyms":[],"definitions":[{"antonyms":[],"definition":"A more or less cylindrical vessel for liquids, usually of steel or aluminium, but sometimes of plastic, and with a carrying handle over the top.","synonyms":[]},{"antonyms":[],"definition":"A container used to carry and dispense water for plants (a watering can).","synonyms":[]},{"antonyms":[],"definition":"A tin-plate canister, often cylindrical, for preserved foods such as fruit, meat, or fish.","synonyms":[]},{"antonyms":[],"definition":"A chamber pot, now a toilet or lavatory.","example":"Bob's in the can. You can wait a few minutes or just leave it with me.","synonyms":[]},{"antonyms":[],"definition":"Buttocks.","synonyms":[]},{"antonyms":[],"definition":"Jail or prison.","example":"Bob's in the can. He won't be back for a few years.","synonyms":[]},{"antonyms":[],"definition":"(in the plural) Headphones.","synonyms":[]},{"antonyms":[],"definition":"A drinking cup.","synonyms":[]},{"antonyms":[],"definition":"A cube-shaped buoy or marker used to denote a port-side lateral mark","synonyms":[]},{"antonyms":[],"definition":"A chimney pot.","synonyms":[]},{"antonyms":[],"definition":"(in the plural) an E-meter used in Scientology auditing.","synonyms":[]}],"partOfSpeech":"noun","synonyms":["tin"]},{"antonyms":[],"definitions":[{"antonyms":[],"definition":"To seal in a can.","example":"They canned air to sell as a novelty to tourists.","synonyms":[]},{"antonyms":[],"definition":"To preserve by heating and sealing in a jar or can.","example":"They spent August canning fruit and vegetables.","synonyms":[]},{"antonyms":[],"definition":"To discard, scrap or terminate (an idea, project, etc.).","example":"He canned the whole project because he thought it would fail.","synonyms":[]},{"antonyms":[],"definition":"To shut up.","example":"Can your gob.","synonyms":[]},{"antonyms":[],"definition":"To fire or dismiss an employee.","example":"The boss canned him for speaking out.","synonyms":[]},{"antonyms":[],"definition":"To hole the ball.","synonyms":[]}],"partOfSpeech":"verb","synonyms":[]}]]}
                                                                                                                                                                                                                    
                                                                                                    

意义 - 代码片段


curl --location --request POST 'https://zylalabs.com/api/4231/english+dictionary+api/5147/meaning?word=can' --header 'Authorization: Bearer YOUR_API_KEY' 


    

获取定义


                                                                            
POST https://zylalabs.com/api/4231/english+dictionary+api/5148/definitions
                                                                            
                                                                        

定义 - 端点功能

对象 描述
word [必需]
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"definitions":["(auxiliary verb, defective) To know how to; to be able to.","(modal auxiliary verb, defective) May; to be permitted or enabled to.","(modal auxiliary verb, defective) To have the potential to; be possible.","(auxiliary verb, defective) Used with verbs of perception.","To know.","A more or less cylindrical vessel for liquids, usually of steel or aluminium, but sometimes of plastic, and with a carrying handle over the top.","A container used to carry and dispense water for plants (a watering can).","A tin-plate canister, often cylindrical, for preserved foods such as fruit, meat, or fish.","A chamber pot, now a toilet or lavatory.","Buttocks.","Jail or prison.","(in the plural) Headphones.","A drinking cup.","A cube-shaped buoy or marker used to denote a port-side lateral mark","A chimney pot.","(in the plural) an E-meter used in Scientology auditing.","To seal in a can.","To preserve by heating and sealing in a jar or can.","To discard, scrap or terminate (an idea, project, etc.).","To shut up.","To fire or dismiss an employee.","To hole the ball."]}
                                                                                                                                                                                                                    
                                                                                                    

定义 - 代码片段


curl --location --request POST 'https://zylalabs.com/api/4231/english+dictionary+api/5148/definitions?word=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

获取反义词



                                                                            
POST https://zylalabs.com/api/4231/english+dictionary+api/5149/antonyms
                                                                            
                                                                        

反义词 - 端点功能

对象 描述
word [必需]
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"antonyms":[["can't","cannot","can\u2019t"],["can't","cannot","can\u2019t"]]}
                                                                                                                                                                                                                    
                                                                                                    

反义词 - 代码片段


curl --location --request POST 'https://zylalabs.com/api/4231/english+dictionary+api/5149/antonyms?word=can' --header 'Authorization: Bearer YOUR_API_KEY' 


    

获取同义词


                                                                            
POST https://zylalabs.com/api/4231/english+dictionary+api/5150/synonyms
                                                                            
                                                                        

同义词 - 端点功能

对象 描述
word [必需]
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"synonyms":[["be able to"],["may"],["cognize","grok","ken"],["be able to","cognize","grok","ken","may"],["tin"],["be able to"],["may"],["cognize","grok","ken"]]}
                                                                                                                                                                                                                    
                                                                                                    

同义词 - 代码片段


curl --location --request POST 'https://zylalabs.com/api/4231/english+dictionary+api/5150/synonyms?word=can' --header 'Authorization: Bearer YOUR_API_KEY' 


    

获取所有dico


                                                                            
POST https://zylalabs.com/api/4231/english+dictionary+api/5151/all+dico
                                                                            
                                                                        

所有词典 - 端点功能

对象 描述
word [必需]
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"raw_entry":[{"license":{"name":"CC BY-SA 3.0","url":"https://creativecommons.org/licenses/by-sa/3.0"},"meanings":[{"antonyms":["can't","cannot","can\u2019t"],"definitions":[{"antonyms":["can't","cannot","can\u2019t"],"definition":"(auxiliary verb, defective) To know how to; to be able to.","example":"She can speak English, French, and German.\u00a0\u00a0 I can play football.\u00a0\u00a0 Can you remember your fifth birthday?","synonyms":["be able to"]},{"antonyms":[],"definition":"(modal auxiliary verb, defective) May; to be permitted or enabled to.","example":"You can go outside and play when you're finished with your homework.\u00a0\u00a0 Can I use your pen?","synonyms":["may"]},{"antonyms":[],"definition":"(modal auxiliary verb, defective) To have the potential to; be possible.","example":"Animals can experience emotions.","synonyms":[]},{"antonyms":[],"definition":"(auxiliary verb, defective) Used with verbs of perception.","example":"Can you hear that?.","synonyms":[]},{"antonyms":[],"definition":"To know.","synonyms":["cognize","grok","ken"]}],"partOfSpeech":"verb","synonyms":["be able to","cognize","grok","ken","may"]}],"phonetic":"/\u02c8k\u00e6n/","phonetics":[{"audio":"","text":"/\u02c8k\u00e6n/"},{"audio":"","text":"/\u02c8k\u00e6n/"},{"audio":"","text":"/\u02c8k\u00e6n/"},{"audio":"https://api.dictionaryapi.dev/media/pronunciations/en/can-1-us-stressed.mp3","license":{"name":"BY-SA 3.0","url":"https://creativecommons.org/licenses/by-sa/3.0"},"sourceUrl":"https://commons.wikimedia.org/w/index.php?curid=192104","text":"/\u02c8k\u00e6n/"}],"sourceUrls":["https://en.wiktionary.org/wiki/can"],"word":"can"},{"license":{"name":"CC BY-SA 3.0","url":"https://creativecommons.org/licenses/by-sa/3.0"},"meanings":[{"antonyms":[],"definitions":[{"antonyms":[],"definition":"A more or less cylindrical vessel for liquids, usually of steel or aluminium, but sometimes of plastic, and with a carrying handle over the top.","synonyms":[]},{"antonyms":[],"definition":"A container used to carry and dispense water for plants (a watering can).","synonyms":[]},{"antonyms":[],"definition":"A tin-plate canister, often cylindrical, for preserved foods such as fruit, meat, or fish.","synonyms":[]},{"antonyms":[],"definition":"A chamber pot, now a toilet or lavatory.","example":"Bob's in the can. You can wait a few minutes or just leave it with me.","synonyms":[]},{"antonyms":[],"definition":"Buttocks.","synonyms":[]},{"antonyms":[],"definition":"Jail or prison.","example":"Bob's in the can. He won't be back for a few years.","synonyms":[]},{"antonyms":[],"definition":"(in the plural) Headphones.","synonyms":[]},{"antonyms":[],"definition":"A drinking cup.","synonyms":[]},{"antonyms":[],"definition":"A cube-shaped buoy or marker used to denote a port-side lateral mark","synonyms":[]},{"antonyms":[],"definition":"A chimney pot.","synonyms":[]},{"antonyms":[],"definition":"(in the plural) an E-meter used in Scientology auditing.","synonyms":[]}],"partOfSpeech":"noun","synonyms":["tin"]},{"antonyms":[],"definitions":[{"antonyms":[],"definition":"To seal in a can.","example":"They canned air to sell as a novelty to tourists.","synonyms":[]},{"antonyms":[],"definition":"To preserve by heating and sealing in a jar or can.","example":"They spent August canning fruit and vegetables.","synonyms":[]},{"antonyms":[],"definition":"To discard, scrap or terminate (an idea, project, etc.).","example":"He canned the whole project because he thought it would fail.","synonyms":[]},{"antonyms":[],"definition":"To shut up.","example":"Can your gob.","synonyms":[]},{"antonyms":[],"definition":"To fire or dismiss an employee.","example":"The boss canned him for speaking out.","synonyms":[]},{"antonyms":[],"definition":"To hole the ball.","synonyms":[]}],"partOfSpeech":"verb","synonyms":[]}],"phonetic":"/\u02c8k\u00e6\u02d0n/","phonetics":[{"audio":"","text":"/\u02c8k\u00e6\u02d0n/"},{"audio":"https://api.dictionaryapi.dev/media/pronunciations/en/can-2-uk.mp3","license":{"name":"BY-SA 4.0","url":"https://creativecommons.org/licenses/by-sa/4.0"},"sourceUrl":"https://commons.wikimedia.org/w/index.php?curid=80066428","text":"/\u02c8k\u00e6n/"},{"audio":"","text":"/\u02c8k\u00e6n/"}],"sourceUrls":["https://en.wiktionary.org/wiki/can"],"word":"can"}]}
                                                                                                                                                                                                                    
                                                                                                    

所有词典 - 代码片段


curl --location --request POST 'https://zylalabs.com/api/4231/english+dictionary+api/5151/all+dico?word=can' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 英语词典 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
标头
标头 描述
授权 [必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

简单透明的定价

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

🚀 企业版

起价
$ 10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

客户喜爱的功能

  • ✔︎ 仅支付成功请求
  • ✔︎ 7 天免费试用
  • ✔︎ 多语言支持
  • ✔︎ 一个 API 密钥,所有 API。
  • ✔︎ 直观的仪表板
  • ✔︎ 全面的错误处理
  • ✔︎ 开发者友好的文档
  • ✔︎ Postman 集成
  • ✔︎ 安全的 HTTPS 连接
  • ✔︎ 可靠的正常运行时间

英语词典 API FAQs

英语词典API提供英语单词的定义、同义词、反义词、翻译、发音和例句。它旨在帮助开发者将全面的词典功能集成到他们的应用程序中

要使用API,请向/define端点发送GET请求,带上所需的word参数。可选地,您可以包含language参数以获取翻译

所需参数是word,指定您要查找的单词。可选地,您可以包括language以获取单词的翻译

使用英语词典API可能受到速率限制,并且必须遵守服务条款。有关使用限制和指南的详细信息,请参考API文档

英语词典API从一个庞大而可靠的数据库中提取数据,该数据库定期更新以确保信息的准确性和相关性,为用户提供精确的定义同义词反义词翻译等更多内容

每个端点返回特定类型的词汇数据。例如,/define 端点提供定义和示例,而 /phonetic 端点返回语音表示。/synonyms 和 /antonyms 端点返回相关词汇的列表,/audio 端点提供音频发音的链接

关键字段因端点而异 对于/define,你会发现“定义”和“示例” /phonetic端点包括“音韵文本表示” 而/synonyms和/antonyms分别返回“同义词”和“反义词”下的列表 每个端点的响应结构旨在提供相关的词汇信息

响应数据以JSON格式组织,每个端点返回一个结构化对象。例如,/define端点返回一个定义数组,每个定义包含“定义”、“示例”和“同义词”等字段。该结构允许对数据进行轻松解析和利用

每个端点提供不同的信息:/define 提供定义和示例,/phonetic 给出音标表示,/audio 提供音频链接,/synonyms/antonyms 返回相关词汇。/parts_of_speech 端点列出词的语法类别

常见参数包括用于查找的“word”和用于翻译的“language”。特定端点可能有独特参数;例如,/phonetic需要一个单词以返回其音标表示。用户可以通过指定这些参数来自定义请求

用户可以通过解析 JSON 响应来利用返回的数据,以提取相关信息。例如,从 /define 端点,您可以在应用程序中显示定义和示例。了解结构有助于高效访问特定数据字段

典型的使用案例包括构建语言学习应用程序、通过同义词和反义词增强写作工具,以及将发音功能集成到教育软件中 该API还可以通过按需提供词汇信息来支持聊天机器人和虚拟助手

数据准确性通过来自可靠来源的定期更新得以保持 该API聚合了来自可信词典和语言数据库的信息 确保用户接收到当前和准确的词汇数据 实施了质量检查以验证提供的信息

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。

价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]


此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。

定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。

有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]

价格由月度或年度订阅决定,具体取决于所选计划。

API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。

Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。

要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。

要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。

要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。

"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。

是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。

您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。

7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。

当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。

付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。


相关 API


您可能还喜欢