API Documentation
Access platform data programmatically. All public endpoints are available without authentication. Rate limits apply.
Base URL
https://recon.inst.lk/apiRate Limits: 100 requests/minute (general), 10 requests/minute (scanning)
Scanning
POST
/api/scanInitiate a new domain scan
Request Body:
{ "domain": "example.com" }Response:
{ "success": true, "scan": { "id": "...", "status": "queued" } }GET
/api/scan/:idGet scan results by ID
Response:
{ "scan": { "id": "...", "status": "completed", "technologies": [...] } }GET
/api/scan/:id/progressGet current scan progress
Response:
{ "scanId": "...", "progress": 75, "currentStep": "extracting_endpoints" }GET
/api/scan/domain/:domainGet scan history for a domain
Response:
{ "scans": [...] }GET
/api/scans/recentGet recent completed scans
Response:
{ "scans": [...] }GET
/api/scans/popularGet most scanned domains
Response:
{ "domains": [...] }Technologies
GET
/api/technologiesList all tracked technologies
Response:
{ "technologies": [...] }GET
/api/technologies/categoriesGet technology categories
Response:
{ "categories": [...] }GET
/api/technologies/trendingGet trending technologies
Response:
{ "technologies": [...] }GET
/api/technologies/:name/domainsSearch domains using a technology
Response:
{ "domains": [...] }Search
GET
/api/searchSearch domains with filters
Response:
{ "results": [...], "total": 100, "page": 1 }GET
/api/search/popularGet popular search queries
Response:
{ "searches": [...] }GET
/api/exposuresBrowse exposure database
Response:
{ "results": [...], "total": 50 }Public
GET
/api/statusPlatform status and health
Response:
{ "status": "operational", "services": {...} }GET
/api/domain/:domainGet domain information
Response:
{ "domain": { ... } }GET
/api/results/recentRecent public scan results
Response:
{ "results": [...] }Search Parameters
| Parameter | Type | Description |
|---|---|---|
| q | string | Search query (domain name partial match) |
| technology | string | Filter by technology name (e.g., "Next.js") |
| category | string | Filter by technology category (e.g., "framework") |
| missingHeader | string | Filter by missing security header |
| hasSourceMaps | boolean | Filter domains with public source maps |
| hosting | string | Filter by hosting provider |
| waf | string | Filter by WAF provider |
| minExposureScore | number | Minimum exposure score (0-100) |
| page | number | Page number (default: 1) |
| limit | number | Results per page (max: 100, default: 20) |
WebSocket - Scan Progress
Connect to receive real-time scan progress updates:
wss://recon.inst.lk/ws/scan/:scanIdMessage Format:
{
"type": "progress",
"scanId": "uuid",
"progress": 75,
"step": "extracting_endpoints",
"timestamp": 1717200000000
}