Random Password Generator API

Get a random, machine generated password with a simple get call.

The Passphrase random application programming interface (API) version two (V2) responds to a basic get request with JSON, including a randomly generated password.

Passphrase API V2 - Basic Use

Simply make a GET request to the following URL.

passphrase.co/api?password=true

Passphrase API V2 - Expected Response

The API will respond with JSON.

{
	"password":"26+Dce4)62E2d6?",
	"strength":{
		"score":1155,
		"score_label":"Crazy Strong"
	},
	"all_data":{
		"character_count":15,
		"has_letters":true,
		"is_camel_case":true,
		"has_numbers":true,
		"has_symbols":true,
		"no_duplicate_pairs":true,
		"sequences":{
			"numeric":0,
			"alphabetical":0,
			"reverse_alphabetical":0,
			"qwerty":0,
			"reverse_qwerty":0
		},
		"has_no_common_passwords":[true],
		"score_factor":77,
		"password_strength_score":1155,
		"password_strength_label":"Crazy Strong",
		"password":"26+Dce4)62E2d6?"
	},
	"password_generator":"passphrase.co"
}

The Passphrase API V2 consistently produces very strong random passwords. The JSON response includes the password generated and information about its relative resistence to brute-force attacks. For example, sequences['numeric'] returns a boolean wherein true means that the password contains a numeric sequence like 123.