API URL
POST /api/v1/validate-ip
Headers
Code
Content-Type: application/jsonBody Parameters
Param
Type
Description
ip
required
string
Single IP/CIDR or comma-separated values
Example Request
Code
GET https://datpaq.com/api/v1/validate-ip/validate?ip=192.168.1.1&api_key=your-api-keySuccessful Response
Status
HTML
200 OKBody
Code
{
"success": true
}Field
Type
ip
string
valid
boolean
type
string
cidr
boolean
private
boolean
reserved
boolean
loopback
boolean
multicast
boolean
link_local
boolean
bogon
boolean
message
string
error
string
errorCode
string
errorDetails
object
success
boolean
results
array
metadata.count
number
metadata.processingTimeMs
number
correlationId
string
Error Response
Example
Code
Not AvailableLast Updated: May 4, 2026