How to use to Google Dictionary as an API? [closed]

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

As I needed a Google Dictionary API for my project, I decided to create one.

I scraped the web page 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.

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.

The source code is on GitHub.

Leave a Comment

tech