API URL
GET /api/v1/tech-stack-detection/detect
Headers
Code
Content-Type: application/jsonQuery Parameters
Param
Type
Description
domain
required
string
Hostname or URL to analyze (3-253 chars)
url
optional
string
Same-host HTTP or HTTPS page URL
Example GET Request
Code
GET https://datpaq.com/api/v1/tech-stack-detection/detect?domain=wordpress.org&api_key=your-api-keySuccessful Response
Status
HTML
200 OKBody
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"
}Field
Type
success
boolean
domain
string
url
string
httpStatus
number
technologies
array
technologyCount
number
categories
object
fromCache
boolean
durationMs
number
correlationId
string
metadata
object
metadata_correlationId
string
metadata_timestamp
string
metadata_processingTime
string
metadata_api_token_name
string
metadata_rate_limit
object
updatedAt
string
error
object
reason
string
details
array
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 unavailableLast Updated: May 4, 2026