Random Forge API
The Random Forge API generates random values and common hashes from a single endpoint. It supports random strings, passwords, hashes, bcrypt values, UUIDs, and lists of generated values.
Response Format
The endpoint returns plain text for single-value outputs and a list format for type=list requests.
Example Outputs:
- Random string.
- Random password.
- Hash value.
- Bcrypt hash.
- UUID v4.
- A list of generated strings.
Authentication Methods
This endpoint is publicly accessible and does not require authentication.
Characteristics:
- No authentication required
- Supports multiple output types
- Suitable for testing, tokens, and placeholder data
- Can return either a single value or a list
Usage:
Endpoint
GET /v1/randomforge
Example Requests
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
type | string | string | Output type. Options include string, password, hash, bcrypt, uuid, and list. |
length | int | 16 | Length of the generated string or password. |
chars | string | all alphanum | Custom character set. |
algorithm | string | sha256 | Hash algorithm. Options include md5, sha1, sha256, sha384, and sha512. |
input | string | random | Input value for hash generation. |
password | string | random | Password used for bcrypt hashing. |
upper | bool | true | Include uppercase characters in passwords. |
lower | bool | true | Include lowercase characters in passwords. |
digits | bool | true | Include digits in passwords. |
special | bool | true | Include special characters in passwords. |
count | int | 10 | Number of strings to return when type=list. |
Response Examples
Random String
Random Password
Hash Output
UUID Output
List Output
Notes
- The
typeparameter controls the output mode. - The
type=listmode returns multiple generated values. - The
charsparameter lets you define your own allowed characters. - The
algorithmparameter applies when generating hashes. - The
passwordparameter applies when generating bcrypt values. - The example
type=list&length=16&count=25returns 25 random strings, each 16 characters long.
HTTP Status Codes
Standard responses may include:
200- Success.400- Bad Request.429- Too Many Requests.500- Internal Server Error.
Versioning
This page documents version 1 of the RandomForge API, available under the /v1/ path.