剑桥词典定义API
此API提供完整的单词定义、同义词、 antonym、例句等。非常适合教育工具、写作辅助和语言学习平台。
特点
单词定义:获取详细的英语单词含义。
同义词和反义词:通过相关和相反的术语扩展你的词汇。
例句:获取基于上下文的单词使用示例。
轻量且快速:优化以快速响应和易于集成。
词义 - 端点功能
| 对象 | 描述 |
|---|---|
words |
[必需] word to get the meaning |
{
"searchWord": "iron",
"result": {
"UK Dictionary": {
"partOfSpeech": "noun",
"pronounce": {
"UK": {
"audioList": [
"https://dictionary.cambridge.org/media/english/uk_pron/u/uki/ukiri/ukiridi009.mp3",
"https://dictionary.cambridge.org/media/english/uk_pron_ogg/u/uki/ukiri/ukiridi009.ogg"
],
"pron": "/aɪən/"
},
"US": {
"audioList": [
"https://dictionary.cambridge.org/media/english/us_pron/i/iro/iron_/iron.mp3",
"https://dictionary.cambridge.org/media/english/us_pron_ogg/i/iro/iron_/iron.ogg"
],
"pron": "/aɪrn/"
}
},
"details": [
{
"defintion": "a chemical element that is a common greyish-coloured metal. It is strong, used in making steel, and exists in very small amounts in blood:",
"example": [
"Iron rusts easily.",
"Liver is a particularly rich source of dietary iron.",
"iron ore",
"an iron deficiency"
]
},
{
"defintion": "a piece of equipment for making clothes flat and smooth that has a handle and a flat base and is usually heated with electricity:",
"example": [
"a steam iron",
"a travel iron"
]
},
{
"defintion": "a stick that has an iron or steel part at the end that is used to hit the ball in golf:",
"example": [
"He'll probably use a 2 or 3 iron for the shot."
]
},
{
"defintion": "chains tied around someone to prevent them from escaping or moving:",
"example": [
"It was common practice for the prisoners to be clapped in irons (= tied with chains)."
]
},
{
"defintion": "to make clothes flat and smooth using an iron:",
"example": [
"It takes about five minutes to iron a shirt properly.",
"Synonym\npress"
]
},
{
"defintion": "very strong physically, mentally, or emotionally:",
"example": [
"I think you have to have an iron will to make some of these decisions."
]
}
]
},
"AMERICAN DICTIONARY": {
"partOfSpeech": "noun",
"pronounce": {
"US": {
"audioList": [
"https://dictionary.cambridge.org/media/english/us_pron/i/iro/iron_/iron.mp3",
"https://dictionary.cambridge.org/media/english/us_pron_ogg/i/iro/iron_/iron.ogg"
],
"pron": "/ˈɑɪ·ərn/"
}
},
"details": [
{
"defintion": "a common, silver-colored, metal element that is magnetic and strong, is used in making steel, and is found in small amounts in blood and in all living things:",
"example": [
"Iron rusts easily.",
"Liver is a rich source of dietary iron."
]
},
{
"defintion": "a device with a handle and a flat metal base that can be heated and pressed against cloth to make the cloth smooth"
},
{
"defintion": "to make cloth smooth using an iron:",
"example": [
"I have to iron this skirt.",
"[ M ] Let me iron out the wrinkles in this tablecloth."
]
},
{
"defintion": "made of or containing iron:",
"example": [
"iron ore",
"an iron railing along the steps",
"fig. Her success depended on physical strength and an iron will (= strong determination)."
]
}
]
},
"BUSINESS ENGLISH": {
"partOfSpeech": "noun",
"pronounce": {
"UK": {
"audioList": [
"https://dictionary.cambridge.org/media/english/uk_pron/u/uki/ukiri/ukiridi009.mp3",
"https://dictionary.cambridge.org/media/english/uk_pron_ogg/u/uki/ukiri/ukiridi009.ogg"
],
"pron": "/aɪən/"
},
"US": {
"audioList": [
"https://dictionary.cambridge.org/media/english/us_pron/i/iro/iron_/iron.mp3",
"https://dictionary.cambridge.org/media/english/us_pron_ogg/i/iro/iron_/iron.ogg"
]
}
},
"details": [
{
"defintion": "a common metal element used in making steel:",
"example": [
"Heavy industries, like iron and steel, can take advantage of the government's increased public-works spending."
]
}
]
}
}
}
curl --location --request GET 'https://zylalabs.com/api/12418/cambridge+dictionary+definitions+api/23485/word+meaning?words=table' --header 'Authorization: Bearer YOUR_API_KEY'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
剑桥词典定义API提供多种语言的单词定义同义词反义词示例和发音
该API非常适合开发语言学习应用程序 教育工具或内容创作平台的开发者
是的,API提供了音标转录和在可用情况下的单词发音音频链接
是的 这个api提供了该词在上下文中的使用示例
该API提供免费和付费计划 每个计划的请求限制和功能不同 请查看价格页面以获取更多详细信息
如果您的请求限制被超出,API将返回一个错误。您可以升级到更高的套餐或等待您的限制重置
该端点返回结构化数据,包括单词的定义、词性、发音(带音频链接)、同义词、反义词和示例句子,提供对该单词的全面理解
关键字段包括“searchWord”“partOfSpeech”“pronounce”(包含英美音频链接)“details”(包含定义)和示例句子,所有这些都帮助用户理解单词的用法和含义
响应以JSON格式构建,主要单词作为键,嵌套对象用于发音、定义和示例,便于解析和集成到应用程序中
终点提供同义词 反义词 示例句及发音细节 使其成为语言学习者和教育工作者的多功能资源
用户可以通过指定他们想要在API调用中查找的单词来自定义请求,从而允许针对性地查询以获取该单词的特定信息
数据来源于剑桥词典定义API,确保英语单词的高质量和可靠的定义、例子以及发音
典型的用例包括开发语言学习应用程序 增强写作工具 和创建需要准确的单词定义和使用示例的教育内容
用户可以利用结构化的响应来显示单词的含义,提供音频发音,并提供上下文示例,从而提升用户在其应用程序中的参与度和学习体验