Skip to main content
GET
/
v1
/
random
/
text
Random Text
curl --request GET \
  --url https://api.example.com/v1/random/text \
  --header 'X-API-Key: <api-key>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Query Parameters

type
string
default:paragraph

Type: word, words, sentence, sentences, paragraph, paragraphs, text

count
integer
default:1

Number of items (words, sentences, or paragraphs)

Required range: 1 <= x <= 20
locale
string | null

Locale for text generation

Response

Successful Response