Rhyme API

The Rhyme API allows you to look up rhyming words for any given English word.

/v1/rhyme GET

https://api.api-ninjas.com/v1/rhyme

Returns a list of rhyming words for any given word.


Parameters

  • word  required

    Word to look up.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Sample Request Live Demo!

word
https://api.api-ninjas.com/v1/rhyme?word=rhyme

Sample Response

JSON
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" ]

Code Examples

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.