Skip to content
GET /api/v1/generate-password

Password Generator

Generate cryptographically secure random passwords with configurable options

Parameters

name in type required description
length query number optional Length range 8 to 128 default 16
count query number optional Count range 1 to 20 default 1
uppercase query boolean optional Uppercase (A-Z) default true
lowercase query boolean optional Lowercase (a-z) default true
numbers query boolean optional Numbers (0-9) default true
symbols query boolean optional Symbols (!@#$...) default true
exclude query string optional Characters to exclude from password

Request

Send your key in the X-API-Key header. More languages and patterns live on the code examples page.

curl -s "https://apixies.io/api/v1/generate-password?length=16" \
  -H "X-API-Key: YOUR_API_KEY"

Response

The result sits under data in the standard envelope. See the response format guide for errors and status codes.

returns

data.passwords
One password string, or an array when count is above 1.
data.strength
Entropy rating from weak to very_strong.
data.charset
Which character sets were used.
data.length
Characters per password.
example response 200
{
    "status": "success",
    "http_code": 200,
    "code": "SUCCESS",
    "message": "Password generated",
    "data": {
        "passwords": "aB3$kLm9@pQr!wXy",
        "length": 16,
        "count": 1,
        "strength": "very_strong",
        "entropy_bits": 104.9,
        "charset": {
            "uppercase": true,
            "lowercase": true,
            "numbers": true,
            "symbols": true
        },
        "generated_at": "2025-05-19T12:00:00+00:00"
    }
}

Authentication and limits

This endpoint needs an API key. Use the sandbox ("try it" above) to test it without registering. See the authentication guide for details.

Standard rate limits apply to this endpoint.

Common use cases

User account provisioning

Generate secure temporary passwords when creating user accounts or handling password resets. Ensure passwords meet complexity requirements.

API key generation

Create secure random strings for API keys, tokens, or secrets in your application's admin panel or provisioning system.

Test data generation

Generate realistic passwords for test users in development and staging environments. Configure complexity to match production requirements.

More documentation

Get a free API key

A temporary key takes one click and no signup. Register and you get 75 requests/day. Free tier is for development & small projects.

cookies

We use analytics cookies to see how the site gets used. Nothing loads until you accept. Privacy policy