Endpoint

GET /api/password FREE

POST method also supported with JSON body.

Parameters

ParamTypeDefaultDescription
lengthnumber16Password length (4-128)
upperbooleantrueUppercase letters
lowerbooleantrueLowercase letters
digitsbooleantrueDigits
symbolsbooleanfalseSymbols
excludeAmbiguousbooleantrueExclude ambiguous chars (1 l I 0 O)
countnumber1Number of passwords (1-100)

Examples

GET

curl https://ckpsw.com/api/password?length=20&symbols=true&count=5

POST

curl -X POST https://ckpsw.com/api/password \
  -H "Content-Type: application/json" \
  -d '{"length":24,"symbols":true,"count":3}'

Response (single)

{ "password": "aB3xK9mP2vR7wL5nQ8jF", "length": 20, "count": 1, "options": { "upper": true, "lower": true, "digits": true, "symbols": true, "excludeAmbiguous": true } }

Response (multiple)

{ "passwords": ["aB3xK9mP2v", "L5nQ8jF1wR"], "count": 5, "length": 10, "options": { ... } }