Random Word

This endpoint generates a random number of words, ranging from 1 to 25, with each word being unique.

Endpoint

  • URL: https://api.erensko.xyz/v1/random-word

  • Method: GET

  • Description: Generates an array of random words.

URL Parameters

Key
Value

count (optional)

The amount of words to return. Default is set to 0 if number is not provided. Must be between 1 and 25 if provided.

rarity (optional)

The rarity of the words that are returned, can choose between: (easy, medium, hard, insane, and all). If not selected, all will be default.

Headers

Key
Value

Authorization

Your own personal API key, create one by clicking here. This is required.

Request Example

GET https://api.erensko.xyz/v1/random-word?count=4

Response Example

{
    "words": [
        "dove",
        "void",
        "monolith",
        "whirlpool"
    ]
}

Last updated