{"openapi":"3.1.0","info":{"title":"Hash API","version":"1.0.0","description":"Compute cryptographic hashes (MD5, SHA-1, SHA-256/384/512, SHA-3, RIPEMD-160) in hex or base64, generate HMAC signatures for webhook and message authentication, and mint v4 UUIDs. All server-side and deterministic. Handy for integrity checks, signing, cache keys, deduplication and id generation.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/hash-api","description":"oanor gateway"}],"tags":[{"name":"Hash"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/hash":{"get":{"operationId":"get_v1_hash","tags":["Hash"],"summary":"Hash digest","description":"","parameters":[{"name":"text","in":"query","required":true,"description":"Text to hash","schema":{"type":"string"},"example":"hello"},{"name":"algo","in":"query","required":false,"description":"md5 sha1 sha256 sha512 sha3-256 ripemd160","schema":{"type":"string"},"example":"sha256"},{"name":"encoding","in":"query","required":false,"description":"hex or base64","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"algo":"sha256","hash":"2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824","length":5,"encoding":"hex"},"meta":{"timestamp":"2026-05-30T07:07:13.370Z","request_id":"13a00bda-6903-4aac-8ed7-189059b9a626"},"status":"ok","message":"Hash computed","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/hmac":{"get":{"operationId":"get_v1_hmac","tags":["Hash"],"summary":"HMAC signature","description":"","parameters":[{"name":"text","in":"query","required":true,"description":"Message","schema":{"type":"string"},"example":"payload"},{"name":"key","in":"query","required":true,"description":"Secret key","schema":{"type":"string"},"example":"secret"},{"name":"algo","in":"query","required":false,"description":"Digest algo","schema":{"type":"string"},"example":"sha256"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"algo":"sha256","hmac":"b82fcb791acec57859b989b430a826488ce2e479fdf92326bd0a2e8375a42ba4","encoding":"hex"},"meta":{"timestamp":"2026-05-30T07:07:13.428Z","request_id":"3a3fff22-c224-4855-8e0c-faf1cb31ef96"},"status":"ok","message":"HMAC computed","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/uuid":{"get":{"operationId":"get_v1_uuid","tags":["Hash"],"summary":"Generate UUIDs","description":"","parameters":[{"name":"count","in":"query","required":false,"description":"How many, 1-100","schema":{"type":"string"},"example":"5"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":5,"uuids":["060513bd-4530-4905-94f5-e189f2c37cf1","71815c94-eb8f-46bc-a4f8-fbcd89a7a720","3f58e8ab-6a45-4b74-b2b2-9fcbcddff4f6","e449a2a2-87d1-4148-a5b2-7552804a8039","cab388ff-76b1-4ea4-bcba-13b55ac1a12d"]},"meta":{"timestamp":"2026-05-30T07:07:13.498Z","request_id":"2cd1a376-ac71-4a77-ae33-44a8c323a476"},"status":"ok","message":"UUIDs generated","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":8000,"rps_limit":3,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":400,"monthly_call_quota":150000,"rps_limit":15,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":1400,"monthly_call_quota":750000,"rps_limit":50,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":3900,"monthly_call_quota":4000000,"rps_limit":200,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/hash-api"}