Random Word
Get random words with definitions and parts of speech. Perfect for vocabulary builders, educational apps, word games, or content inspiration.
Overview
Use Cases
- Vocabulary learning applications
- Word-of-the-day features
- Educational tools and flashcards
- Writing prompts and creative inspiration
- Word game development
Features
Curated collection of English words
Includes dictionary definitions
Parts of speech classification
No parameters required
API Endpoints
Get Random Word
Returns a random word with its definition and part of speech
GET
https://api.requiems.xyz/v1/text/words/random
Try it out
Live DemoRequest
Sending request...
Response Fields
| Field | Type | Description |
|---|---|---|
| id | integer |
Unique identifier for the word |
| word | string |
The random word |
| definition | string |
Dictionary definition of the word |
| part_of_speech | string |
Grammatical classification (e.g., noun, verb, adjective, adverb) |
Code Examples
curl https://api.requiems.xyz/v1/text/words/random \
-H "requiems-api-key: YOUR_API_KEY"
import requests
url = "https://api.requiems.xyz/v1/text/words/random"
headers = {"requiems-api-key": "YOUR_API_KEY"}
response = requests.get(url, headers=headers)
word_data = response.json()['data']
print(f"{word_data['word']} ({word_data['part_of_speech']}): {word_data['definition']}")
const response = await fetch('https://api.requiems.xyz/v1/text/words/random', {
headers: {
'requiems-api-key': 'YOUR_API_KEY'
}
});
const { data } = await response.json();
console.log(`${data.word} (${data.part_of_speech}): ${data.definition}`);
require 'net/http'
require 'json'
uri = URI('https://api.requiems.xyz/v1/text/words/random')
request = Net::HTTP::Get.new(uri)
request['requiems-api-key'] = 'YOUR_API_KEY'
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
http.request(request)
end
data = JSON.parse(response.body)['data']
puts "#{data['word']} (#{data['part_of_speech']}): #{data['definition']}"
Error Responses
503
service_unavailable
No words available in the database
Frequently Asked Questions
The API includes all major parts of speech including nouns, verbs, adjectives, adverbs, prepositions, conjunctions, and more.
Currently, the API returns completely random words. Filtering by part of speech or difficulty level is planned for a future update.
Our collection contains thousands of carefully curated English words with accurate definitions, covering a wide range of vocabulary levels.
The definitions are curated from reputable dictionary sources to provide clear, concise explanations suitable for general use.