Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which API allows access to Google's Dictionary information?

I know that Google Dictionary was discontinued in 2011, but the dictionary information and definitions are still available through google search results:

enter image description here

Does anyone know whether this information can be accessed through the Custom Search API or the Translate API?

I found this related question (but sadly without a satisfying answer).

like image 773
martin-martin Avatar asked Jan 25 '17 02:01

martin-martin


People also ask

Does Google Dictionary have an API?

Unfortunately, like others have said, the Google Dictionary API is deprecated.

Is there a dictionary API?

The Merriam-Webster Dictionary API is free as long as it is for non-commercial use, usage does not exceed 1000 queries per day per API key, and use is limited to two reference APIs.

Is there a free dictionary API?

Wordnik API Wordnik is a free dictionary API. It is available free of cost. Users can install the API on any application.

Is Oxford API free?

Free, immediate accessFor the first time, we're offering you free, self-service access to our dictionary data so you can quickly and easily incorporate our lexical data in your apps via one single API.


1 Answers

I also needed Google Dictionary API for my project, it was not present so I decided to create one.

I scrapped the WebPage for the url https://www.google.com/#q=define+term where term is any word you want to get meaning of, and created the API, you can find it here Google Dictionary API.

How to use

The basic syntax of a URL request to the API is shown below:

https://api.dictionaryapi.dev/api/v2/entries/<--language_code-->/<--word-->

As an example, to get definition of English word hello, you can send request to:

https://api.dictionaryapi.dev/api/v2/entries/en/hello

The API also provides other meanings of the word, example sentences, and synonyms, if any.

If you want me to include any other details, please comment and I will happily extend the API to cover your needs.

In case you wish to see the code, it is on github.

like image 142
Suraj Jain Avatar answered Nov 17 '22 02:11

Suraj Jain