The Rhyme API allows you to look up rhyming words for any given English word.
https://api.api-ninjas.com/v1/rhyme
Returns a list of rhyming words for any given word.
word
requiredWord to look up.
X-Api-Key
requiredAPI Key associated with your account.
https://api.api-ninjas.com/v1/rhyme?word=rhyme
Headers
X-Api-Key
Log in or sign up to get your API Key
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[
"all-time",
"anticrime",
"anticrime",
"beim",
"chime",
"climb",
"clothestime",
"crime",
"dime",
"grime",
"haim",
"heim",
"hime",
"i'm",
"kime",
"lime",
"lyme",
"mime",
"one-time",
"onetime",
"part-time",
"prime",
"rime",
"seim",
"sime",
"slime",
"sublime",
"syme",
"thyme",
"time"
]
1
2
3
4
5
6
7
8
9
import requests
word = 'rhyme'
api_url = 'https://api.api-ninjas.com/v1/rhyme?word={}'.format(word)
response = requests.get(api_url, headers={'X-Api-Key': 'YOUR_API_KEY'})
if response.status_code == requests.codes.ok:
print(response.text)
else:
print("Error:", response.status_code, response.text)
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.