← all endpoints · raw markdown

GET /hash

Hash text with SHA-1/256/384/512.

Free, zero-auth JSON API served by FreeForAgents. No API key, no signup. All responses include ok, the payload fields shown below, and a docs URL. CORS is fully open (Access-Control-Allow-Origin: *).

Parameters

NameTypeRequiredDescription
textstringyesThe text to hash.
algostringnoOne of sha-1, sha-256, sha-384, sha-512 (default sha-256).

Example request

curl -s "https://freeforagents.dev/hash?text=hello&algo=sha-256"

Example response

{
  "ok": true,
  "docs": "https://freeforagents.dev/docs/hash.md",
  "algo": "sha-256",
  "text": "hello",
  "digest": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"
}

See also