Skip to main content
POST
File Hash Calculator

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ioInputText
string

Text to hash

ioFile
string

File (hashed as raw bytes)

ioAlgoMd5
boolean

MD5

ioAlgoSha1
boolean

SHA-1

ioAlgoSha256
boolean

SHA-256

ioAlgoSha512
boolean

SHA-512

ioAlgoSha3
boolean

SHA3-256

ioHashFormat
enum<string>

Hash format

Available options:
lowercase,
uppercase,
lowercase-colons,
uppercase-colons
ioExpectedHash
string

Expected hash (optional)

Response

Tool output

tool
string
required
tool_version
string
required

Output-contract version for this tool. Currently "1" for all tools.

outputs
object
required
credits_used
integer
required

Credits this call consumed, after any settlement refund. 0 when metering is disabled.

request_id
string
credits_remaining
integer | null

Credits left in the current monthly allowance, or null when metering is disabled.