NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

Password Generator API

GET

A password generator API: secure passwords and passphrases that match your rules.

Password Generator is a password generator API that creates random passwords, pronounceable passwords and multi-word passphrases from length, complexity and character-set rules, up to 100 per call. Each comes back with its length and the settings used to build it.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/passwordgenerator?count=10&length=30&complexity=strong
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "passwords": [
      {
        "password": "aOwqDh0ZK*P;!M|%oiFYJ!IK%TMXQO",
        "length": 30,
        "metadata": {
          "type": "random",
          "complexity": "strong"
        },
        "analysis": null
      },
      {
        "password": "Wo:)*V2nMakoVI78[fKu|QDI.E45p|",
        "length": 30,
        "metadata": {
          "type": "random",
          "complexity": "strong"
        },
        "analysis": null
      },
      {
        "password": "%XqlsK2qN.9>*&jk6gYIG.[aE,hiRc",
        "length": 30,
        "metadata": {
          "type": "random",
          "complexity": "strong"
        },
        "analysis": null
      },
      {
        "password": "WQNY0{R~(G99uc&i62Mve).n<|xt=F",
        "length": 30,
        "metadata": {
          "type": "random",
          "complexity": "strong"
        },
        "analysis": null
      },
      {
        "password": "2$m-&z9!5$c3QlxQP{h#@0x~'M/h]T",
        "length": 30,
        "metadata": {
          "type": "random",
          "complexity": "strong"
        },
        "analysis": null
      },
      {
        "password": "y]e_H)/z2yzbr{4C&hHOb[Q:#/$Hml",
        "length": 30,
        "metadata": {
          "type": "random",
          "complexity": "strong"
        },
        "analysis": null
      },
      {
        "password": "+iZ,<<+_MR:jJ,JbXTN*3Z,xLo'=@E",
        "length": 30,
        "metadata": {
          "type": "random",
          "complexity": "strong"
        },
        "analysis": null
      },
      {
        "password": "x=e6H^U;ajD+)h5Z8$7Wy)^Ob8ERw'",
        "length": 30,
        "metadata": {
          "type": "random",
          "complexity": "strong"
        },
        "analysis": null
      },
      {
        "password": "+p!SGSnR*JNl}/[#oVQy~ZxtoZU}F+",
        "length": 30,
        "metadata": {
          "type": "random",
          "complexity": "strong"
        },
        "analysis": null
      },
      {
        "password": "%h:23-bMb0;?QWL)chKm8{>%)mN:EO",
        "length": 30,
        "metadata": {
          "type": "random",
          "complexity": "strong"
        },
        "analysis": null
      }
    ],
    "count": 10
  }
}

Start from a template — a working app you can deploy in a minute

About the Password Generator API

An API password generator for signup suggestions, account provisioning and secret rotation. Choose a type: random uses a complexity preset (simple is lowercase only unless you add digits or capitals, medium adds digits and capitals, strong adds symbols, maximum guarantees one of each), custom builds from the character sets you switch on, pronounceable strings syllables together, and passphrase joins dictionary words with your separator. Lengths run from 4 to 128 characters and every type draws from a cryptographically secure random source. You can leave out look-alike characters such as l, 1, O and 0, or the quotes, slashes and brackets that need escaping in shells. Every plan gets up to 100 passwords per call; paid plans add a strength analysis with a score, feedback and an entropy estimate.

What people use it for

Employee Account Provisioning
IT administrators create temporary credentials for new staff accounts matching internal length rules before users complete their initial login.
Database Credential Rotation
When rotating secrets in CI/CD pipelines, DevOps engineers produce symbol-free strings to prevent shell escaping errors in connection strings.
Signup Form Suggestions
Recommend readable, multi-word passphrases to customers during registration so they adopt strong credentials that remain memorable.
Help Desk Resets
Help desk staff generate pronounceable strings for callers locked out of internal systems, avoiding ambiguous characters during phone readbacks.

Without writing code

Password Generator & Breach Checker for Windows types a strong password into any app with one shortcut.

The Password Generator widget from WidgetSpark keeps one a click away.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Password Generator

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Password Generator API.

Read the docs →
How many password generation requests does the Free plan cover?
The Free plan includes 200 credits each month, covering 200 requests. Each call consumes 1 credit, regardless of the password count requested. If you need higher volume, the Starter plan covers 200,000 calls per month, which works out to about $0.15 per 1,000 calls.
Can I get password strength analysis on the Free plan?
No, the strength analysis feature requires a paid plan. Supplying the analyze parameter to receive scores, feedback, and entropy values is limited to paid subscriptions such as Starter. Paid plans also unlock the complexity metadata field for every generated password. The entropy figure assumes the full set of 95 printable characters, so it overstates a password built from fewer sets. For a passphrase it is the word count times the bits per word: the list holds about 4,000 words, roughly 12 bits each, so four words give about 48 bits.
What styles of passwords can I generate?
The API supports four generation types. You can create random strings based on complexity presets, pronounceable passwords built from readable syllables, dictionary passphrases joined by custom separators, and custom strings where you toggle character sets manually.
Can I exclude characters that cause typing errors or shell escape bugs?
Yes, you can exclude both visually similar and ambiguous characters. Setting excludeSimilar removes easily confused characters like i, l, 1, and 0. Setting excludeAmbiguous removes symbols like quotes, slashes, and brackets that require escaping in shells and configuration files.
How do I ensure a password contains at least one character from every active set?
Set the strict parameter to true on your request. Standard generation picks characters probabilistically, which can occasionally omit a set in shorter lengths. Enabling strict guarantees that the output contains at least one character from each enabled set.
Can I customize the format of passphrases?
Yes, passphrases can be tailored to your requirements. You can specify the exact word count, provide a custom separator string between words, and toggle word capitalization. The response will return the resolved word count and separator in its metadata.
How strong are the passphrases?
Words come from a list of 180 common English words, so each word adds about 7.5 bits. The default of four words is fine as a memorable suggestion but weak for anything that matters; use 6 to 8 words, or a random password, where strength counts.
Can a password contain double quotes?
No. Double quotes are swapped for single quotes and non-printing characters are removed, so every password is safe inside a JSON string. Set excludeAmbiguous=true to drop single quotes, slashes and brackets as well.
Can I use it as a bulk password generator?
Yes, within a single request. Set the count parameter to generate up to 100 passwords at once, all following the same length and character rules. Each call costs 1 credit no matter how many passwords it returns.

Ready to build with Password Generator? Start with 200 free credits — one key unlocks all 420+ APIs.

Explore the catalog

420+ APIs on the same key and the same response shape.

Browse all APIs