# Validate Rune Name

You can use this endpoint to&#x20;

* check if a Rune name is valid given current block height
* check whether it already exists
* estimateswhen shorter names will become available.

## GET /v1/runes-managed/etch/validate-name

> Validate if a rune name is available for etching. When not valid it can include below reasons:\
> \* \`minLength\` - rune does not match minimum length for current blockheight\
> \* \`alreadyExists\` - rune name already exists\
> \* \`format\` - rune name format is invalid\
> \* \`outOfRange\` - rune name is out of range of acceptable names

```json
{"openapi":"3.0.3","info":{"title":"SecretKeyLabs API","version":"1.0.0"},"tags":[],"servers":[{"url":"https://api.secretkeylabs.io"}],"security":[{"apiKey":[]}],"components":{"securitySchemes":{"apiKey":{"type":"apiKey","name":"x-api-key","in":"header"}}},"paths":{"/v1/runes-managed/etch/validate-name":{"get":{"tags":["Runes etch"],"description":"Validate if a rune name is available for etching. When not valid it can include below reasons:\n* `minLength` - rune does not match minimum length for current blockheight\n* `alreadyExists` - rune name already exists\n* `format` - rune name format is invalid\n* `outOfRange` - rune name is out of range of acceptable names","parameters":[{"schema":{"minLength":1,"type":"string"},"in":"query","name":"runeName","required":true,"description":"The rune name to validate"}],"responses":{"200":{"description":"Validation result for a rune name","content":{"application/json":{"schema":{"description":"Validation result for a rune name","type":"object","properties":{"isValid":{"type":"boolean"},"reason":{"type":"string"},"currentHeight":{"type":"number"},"availableHeight":{"type":"number"},"runeId":{"type":"string"}},"required":["isValid","currentHeight"]}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"description":"Invalid input","type":"string"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"description":"Unauthorized","type":"string"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"description":"Not found","type":"string"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"description":"Rate limit exceeded","type":"string"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"description":"Internal server error","type":"string"}}}}}}}}}
```
