Security
File fingerprint API
Fingerprint a small file payload by hashes, magic bytes, MIME guess, entropy, and static risk flags.
Price$0.01per request
MethodPOST
Route/v1/security/file-fingerprint
StatusLive
MIME typeapplication/json
Rate limit60/minute
CacheNo cache
securityfilehashfingerprintforensics
API URL
Integration docshttps://x402.hexl.dev/v1/security/file-fingerprintExample request
{
"content": "SGVsbG8=",
"encoding": "base64",
"filename": "hello.txt"
}Example response
{
"byteLength": 5,
"mimeType": "text/plain",
"hashes": {
"sha256": "185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969"
},
"riskFlags": [],
"provider": "local-file-fingerprint"
}Input schema
{
"type": "object",
"required": [
"content"
],
"properties": {
"content": {
"type": "string",
"minLength": 1
},
"encoding": {
"type": "string",
"enum": [
"utf8",
"base64",
"hex"
],
"default": "base64"
},
"filename": {
"type": "string"
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}