Rhyme API
The Rhyme API allows you to look up rhyming words for any given English word.
From 6,026 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 289ms | 338ms | 358ms | 783ms | 1114ms |
Similar APIs
Didn't find what you were looking for? Suggest an improvement
/v1/rhyme GET
https://api.api-ninjas.com/v1/rhyme
Returns a list of rhyming words for any given word.
Parameters
wordrequiredWord to look up.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of strings where each string is a word that rhymes with the input word, or an error if the request is unsuccessful.
Sample Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/rhyme?word=rhymeHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/rhyme?word=rhyme" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.
Frequently Asked Questions
Can I use the Rhyme API for commercial purposes?
Yes, but you must have a premium subscription. Commercial use of the Rhyme API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.How do I get an API key and start using the Rhyme API?
Sign up for a free account to instantly get your API key, then pass it in theX-Api-Keyheader on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.What happens if I exceed my quota for the month?
Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.What happens if a request to the Rhyme API fails?
The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.How do I look up rhymes for a specific word?
Send a GET request to the/v1/rhymeendpoint with the requiredwordparameter set to the English word you want to rhyme, for exampleword=rhyme. See the API directory for other text tools.What does the Rhyme API response include?
The response is a JSON array of strings, where each string is a word that rhymes with the inputword, or an error if the request is unsuccessful. You can create a free account to try it on the live demo.What are some use cases for the Rhyme API?
It is useful for building poetry and songwriting tools, word games, and creative writing assistants that suggest rhyming words for any English word. Pair it with the Thesaurus API or Dictionary API for richer language features.Does the API only support English words?
Yes, thewordparameter accepts any given English word and returns rhyming English words. For random English words to feed into it, try the Random Word API.