---
name: git-hash-validator
description: "Git Commit Hash Validator (Git Commit Hash Validator) via devops.majbase.com's free public API, no key required. Keywords: validate git commit sha, check commit hash format."
---

# Git Commit Hash Validator

Git Commit Hash Validator. Calls devops.majbase.com's free public API — no API key or authentication required.

## Endpoint

```
POST https://devops.majbase.com/git-hash-validator/api
```

## Request / Response

```
API: POST /git-hash-validator/api
  hash=<string>  (required)
Returns {"valid", "kind", "length", "normalized"}, or {"valid": false, "error": "..."}.
```

## Example

```bash
curl -sS -X POST https://devops.majbase.com/git-hash-validator/api -H "Content-Type: application/json" -d '{"hash":"a1b2c3d"}'
```

## Notes

- No API key or authentication required.
- Full interactive tool: https://devops.majbase.com/git-hash-validator/
