Skip to content

Random Key Generator API

POST https://api.findutils.com/api/tools/random-key-generator/execute

Generate cryptographically random keys (API keys, tokens, secrets) and return them as a list of strings. Formats: hex, base64 (URL-safe characters only), alphanumeric, or base58. Optional uppercase and prefix. Default: five 32-character hex keys.

Request body

application/json
  • length

    integer optional

    Key length in characters (excluding prefix). Default: 32. Default 32.

  • format

    string optional

    Character set. Default: hex. One of hex · base64 · alphanumeric · base58. Default "hex".

  • uppercase

    boolean optional

    Uppercase the key (ignored for base64). Default: false. Default false.

  • prefix

    string optional

    Optional prefix prepended to every key (e.g. "sk_live_").

  • count

    integer optional

    How many keys to generate. Default: 5. Default 5.

Example arguments

Verified
{
  "length": 32,
  "format": "hex",
  "count": 1
}