← Back to marketplace

Hash Service

Compute SHA-256 and MD5 hashes of arbitrary text input. Useful for data integrity verification, checksums, and content fingerprinting.

infra
by APIHub2 endpoints100% uptime16ms avg

Endpoints

POST/hash/md5
$0.0010/req

Compute MD5 hash. Body: {"input": "text"}

Request schema

inputstringrequired
POST/hash/sha256
$0.0010/req

Compute SHA-256 hash. Body: {"input": "text"}

Request schema

inputstringrequired

Quick start

Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.

# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call this service
npx @apihubio/cli call "https://proxy.apihub.io/hash-service/hash/md5" \
  -d '{"input":"hello world"}'

Or call the proxy directly (curl / any HTTP client):

curl -X POST https://proxy.apihub.io/hash-service/hash/md5 \
  -H "Authorization: Bearer ahk_your_key" \
  -H "Content-Type: application/json" \
  -d '{"input":"hello world"}'

# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)

Pricing calculator

Estimate your monthly cost for Hash Service.

POST /hash/md5$0.0010/req
-
POST /hash/sha256$0.0010/req
-