Documentation

Developer / v1

Random string

Generates a random string from an allowed character set, with a maximum length of 128.

Live
GET/api/v1/random/string?length=24&charset=alphanumeric
Live requestRuns from your browser

Parameters

lengthinteger · query · optional
1–128. Defaults to 24.
charsetenum · query · optional
alpha, alphanumeric, or hex.

Example request

curl 'https://informantion.com/api/v1/random/string?length=24&charset=alphanumeric'

Example response

{
  "success": true,
  "data": {
    "value": "K7n3qZ2vH6mL8pRt4sWx9aBc",
    "length": 24,
    "charset": "alphanumeric"
  }
}

Response schema

valuestring
Generated value.
lengthnumber
Returned character count.
charsetstring
Character set used.

Possible errors

400 · INVALID_PARAMETERThe length or charset is unsupported.

Rate limit

60 requests per minute under the current anonymous fair-use policy. Check the response headers for the active window.