Docs/Validation Utils/GET /v1/ipv4-validate

GET /v1/ipv4-validateValidate IPv4 address

Validation Utils lf-validation-utils

Checks whether something is a properly written IPv4 network address. Validates an IPv4 address format with detailed breakdown of each octet.

Query Parameters

ParameterTypeRequiredDescription
ipstringYesIPv4 address to validate

Response Schema

success (boolean): Operation success
ip (string): Original IP
valid (boolean): Whether valid
octets (array): Parsed octets
type (string): IP type classification

cURL Example

curl 'https://lf-validation-utils.laminarforge.dev/v1/ipv4-validate?ip=192.168.1.1' -H 'Authorization: Bearer lf_YourApiKey'

Python Example

import requests
url = 'https://lf-validation-utils.laminarforge.dev/v1/ipv4-validate'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'ip': '192.168.1.1'}
response = requests.get(url, headers=headers, params=params)
print(response.json())