GET /v1/ipv6-validateValidate IPv6 address
Validation Utils lf-validation-utils
Checks whether something is a properly written IPv6 network address. Validates an IPv6 address format with detailed breakdown of hextets and expansion.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ip | string | Yes | IPv6 address to validate |
Response Schema
success (boolean): Operation success
ip (string): Original IP
valid (boolean): Whether valid
expanded (string): Full expanded form
groups (array): Parsed hextets
cURL Example
curl 'https://lf-validation-utils.laminarforge.dev/v1/ipv6-validate?ip=2001:db8::1' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-validation-utils.laminarforge.dev/v1/ipv6-validate'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'ip': '2001:db8::1'}
response = requests.get(url, headers=headers, params=params)
print(response.json())