DEV Community

MC Naveen
MC Naveen

Posted on

ShowDev: I made an Random Words API with Pronunciation

Hi All,

I created a simple API which returns Random English Word along with the Definition and Pronunciation.

Pronunciation is generated on the fly with NLP.

Stack used

  • NodeJs
  • Express

Demo: https://random-words-api.vercel.app/word

RapidAPI: https://rapidapi.com/mcnaveen/api/random-words-with-pronunciation/

GitHub logo mcnaveen / Random-Words-API

🦄 Get Random Words (with pronunciation) for Free using this API

Random Words API

All Contributors

build-test

🦄 Get Random Words (with pronunciation) for Free using this API

🚀 API

  • Free API - https://random-words-api.vercel.app/word

  • Dutch Random Words - https://random-words-api.vercel.app/word/dutch

  • PWA Demo - Check Here

🎛 Route Options

  • Base URL: https://random-words-api.vercel.app/word
- /noun
- /sentence
- /question
- /adjective
- /idiom
- /verb
- /letter
- /paragraph
- /vocabulary
- /1-word-quotes
- /2-word-quotes
- /3-word-quotes
- /affirmation
Enter fullscreen mode Exit fullscreen mode

🌐 Sample API Response

[
  {
    "word": "Exactor",
    "definition": "One who exacts; extortioner; claimer of rights  ",
    "pronunciation": "Eksaktor"
  }
]
Enter fullscreen mode Exit fullscreen mode

🌐 Sample Dutch Response

[
  {
    "word": "Perfect",
    "definition": "Perfect",
    "pronunciation": "Perfekt"
  }
]
Enter fullscreen mode Exit fullscreen mode

💡 Learn New word

Installation (Development)

# Clone the Repo
git clone https://github.com/mcnaveen/Random-Words-API random-words
# Cd into Directory
cd random-words

# Install Dependencies
yarn install

#
Enter fullscreen mode Exit fullscreen mode

If you found it useful. Please give a star.

Thank you.

Top comments (0)