Documentation

API URL


GET /api/v1/tech-stack-detection/detect

Headers
Code
Content-Type: application/json
Query Parameters


Example GET Request

Code
GET https://datpaq.com/api/v1/tech-stack-detection/detect?domain=wordpress.org&api_key=your-api-key

Successful Response

Status
HTML
200 OK
Body
Code
{
  "success": true,
  "domain": "wordpress.org",
  "url": "https://wordpress.org/",
  "httpStatus": 200,
  "technologies": [
    {
      "name": "WordPress",
      "categories": [
        "CMS"
      ],
      "confidence": 80,
      "evidence": [
        "meta:generator"
      ]
    }
  ],
  "technologyCount": 1,
  "categories": {
    "CMS": 1
  },
  "fromCache": false,
  "durationMs": 612,
  "correlationId": "req_abc123",
  "metadata": {
    "correlationId": "req_abc123",
    "timestamp": "2026-10-13T12:00:00.000Z",
    "processingTime": "612ms",
    "api_token_name": null,
    "rate_limit": {
      "limit": null,
      "remaining": null,
      "reset": null
    }
  },
  "updatedAt": "2026-10-13T12:00:00.000Z"
}

Error Response

Example
Code
HTTP 400 ValidationError: Invalid domain or URL mismatch — Request rejected before fetch; HTTP 401 AuthenticationError: Gateway authentication failure — Request rejected by gateway; HTTP 403 SsrfBlocked: Unsafe target or redirect — Outbound destination blocked; HTTP 404 NotFound: Unknown route — Route not found; HTTP 413 ResponseTooLarge: Body exceeds 2 MB — Response rejected; HTTP 429 RateLimitError: More than 120 requests in 15 minutes — Request rate limited; HTTP 500 InternalError: Unexpected failure — Detection failed; HTTP 502 UpstreamError: Fetch timeout/error or non-success status — Upstream unavailable

Last Updated:  May 4, 2026