Developer / v1
Random string
Generates a random string from an allowed character set, with a maximum length of 128.
Live requestRuns from your browser
Parameters
lengthinteger · query · optional1–128. Defaults to 24.
charsetenum · query · optionalalpha, 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
valuestringGenerated value.
lengthnumberReturned character count.
charsetstringCharacter 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.