• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
wolf

wolf

PassphraseAPI

Public
Like
PassphraseAPI
Home
Code
8
.vtignore
README.md
deno.json
H
main.http.tsx
mod.ts
schemas.ts
utils.ts
words.ts
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
4/28/2025
README.md

Passphrase API

Simple API to generate random word passphrases and word lists.

Endpoints

/phrases

Returns passphrases (hyphenated words) with configurable options.

Query Parameters:

  • n - Number of passphrases to generate (default: 1)
  • words - Number of words per passphrase (default: 4)

Example:

/phrases?n=3&words=5

Response:

[ "word1-word2-word3-word4-word5", "word6-word7-word8-word9-word10", "word11-word12-word13-word14-word15" ]

/words

Returns lists of random words (as arrays).

Query Parameters:

  • n - Number of word lists to generate (default: 1)
  • words - Number of words per list (default: 4)

Example:

/words?n=2&words=3

Response:

[ ["word1", "word2", "word3"], ["word4", "word5", "word6"] ]
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.