Skip to main content
POST
Generate Secure Password

Request contract

  • Method and path: POST /apis/v1/api-ninjas/generate-password
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/api-ninjas/generate-password
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.00089 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
length
integer
default:16

Password length in characters. Default is 16.

Required range: 1 <= x <= 128
Examples:

16

20

32

lowercase
boolean
default:true

Compatibility option fixed to true: API Ninjas cannot exclude lowercase letters. False is not supported.

Example:

true

numbers
boolean
default:true

Include numbers (0-9) in the password.

Examples:

true

false

special
boolean
default:true

Include special characters (!@#$%^&*() etc.) in the password.

Examples:

true

false

uppercase
boolean
default:true

Compatibility option fixed to true: API Ninjas cannot exclude uppercase letters. False is not supported.

Example:

true

Response

Tool result data

random_password
string
required