Get word definitions
Usage: set the query parameter define equal to the word you want the meaning of.
Eg.: /?define=hello, will return:
{
"word": "hello",
"phonetic": [
"həˈləʊ",
"hɛˈləʊ"
],
"meaning": {
"exclamation": [
{
"definition": "used as a greeting or to begin a telephone conversation.",
"example": "hello there, Katie!"
}
],
"noun": [
{
"definition": "an utterance of ‘hello’; a greeting.",
"example": "she was getting polite nods and hellos from people"
}
],
"verb": [
{
"definition": "say or shout ‘hello’.",
"example": "I pressed the phone button and helloed"
}
]
}
}
Language support
Optionally you can send an additional parameter lang set equal to the language the word comes from.
Eg.: /?define=Bonjour&lang=fr, will give you definition of Bonjour as present in Google's French Dictionary:
{
"word": "bonjour",
"meaning": {
"nom_masculin": [
{
"definition": "Souhait de bonne journée (adressé en arrivant, en rencontrant).",
"synonyms": [
"salut"
]
}
]
}
}
A list of supported language codes can be found here for your reference:
| Language Code |
Language |
en |
English |
hi |
Hindi |
es |
Spanish |
fr |
French |
ru |
Russian |
de |
German |
it |
Italian |
ko |
Korean |
pt-BR |
Brazilian Portuguese |
zh-CN |
Chinese (Simplified) |
ar |
Arabic |
tr |
Turkish |