Documentation

API URL


POST /api/v1/ip-intelligence

Headers
Code
Content-Type: application/json
Body Parameters


Example Request

Code
GET https://datpaq.com/api/v1/ip-intelligence/batch?api_key=your-api-key&ip=8.8.8.8,1.1.1.1,208.67.222.222

Successful Response

Status
HTML
200 OK
Body
Code
{
  "success": true,
  "data": {
    "ip": "8.8.8.8",
    "trust_score": 95,
    "is_vpn": false,
    "is_tor": false,
    "asn": "AS15169",
    "country": "US",
    "org": "Google LLC"
  },
  "meta": {
    "processing_time_ms": 40
  }
}

Error Response

Example
Code
400 ValidationError - Invalid single IP format: Single endpoint rejected malformed IP input
400 ValidationError - Missing or invalid batch ip input: Batch endpoint requires endpoint-specific ip format
400 ValidationError - Batch size exceeds 100: Batch endpoint enforces maximum 100 IP records
400 ValidationError - Empty batch input: Batch endpoint requires at least one IP value
401 AuthenticationError - Missing or invalid API credentials: Gateway authentication rejected request
404 NotFound - Valid single IP not found in dataset: No matching intelligence record was found
500 InternalServerError - Database or runtime failure during intelligence lookup: Service failed while processing request

Last Updated:  May 4, 2026