WebTechSurvey API (1.0)

Download OpenAPI specification:Download

reports

List all reports

List all reports

header Parameters
x-api-key
required
string <uuid>
Example: wts-api-asn1k32j7klv51eyqz

Responses

Response samples

Content type
application/json
[
  • "2215b47b-fe82-d987-27f0-4464fadee162",
  • "3215b47b-fe82-d987-27f0-4464fadee163"
]

Create report

Creates a report based on a search criteria

Request Body schema: application/json
required
Array of objects non-empty
CallbackURL
string <uri>
object (CreateReportOptions)

Responses

Request samples

Content type
application/json
{
  • "Criterias": [
    ],
  • "CallbackURL": "http://example.com",
  • "Options": {
    }
}

Response samples

Content type
application/json
{
  • "id": "2215b47b-fe82-d987-27f0-4464fadee162"
}

Read report details

Provides access to report details

path Parameters
reportId
required
string <uuid>
Example: 2215b47b-fe82-d987-27f0-4464fadee162

The report identifier

header Parameters
x-api-key
required
string <uuid>
Example: wts-api-asn1k32j7klv51eyqz

Responses

Response samples

Content type
application/json
{}

Purchase report

Purchases the created report identified by the report ID.

path Parameters
reportId
required
string <uuid>
Example: 2215b47b-fe82-d987-27f0-4464fadee162

The report identifier

header Parameters
x-api-key
required
string <uuid>
Example: wts-api-asn1k32j7klv51eyqz
Request Body schema: application/json
creditsToPay
integer

Number of credits to spend for the report.

Responses

Request samples

Content type
application/json
{
  • "creditsToPay": 2500
}

Response samples

Delete report

This function deletes report identified by the Report ID.

path Parameters
reportId
required
string <uuid>
Example: 2215b47b-fe82-d987-27f0-4464fadee162

The report identifier

header Parameters
x-api-key
required
string <uuid>
Example: wts-api-asn1k32j7klv51eyqz

Responses

domain information

Retrieve domain data (preview|no-credits)

Returns partial data about the specified domain from the database. You can use this data to preview domain info before spending credits with method /domaininfo

query Parameters
domain
required
string
Example: domain=webtechsurvey.com

Domain name which data to be retrieved

header Parameters
x-api-key
required
string <uuid>
Example: wts-api-asn1k32j7klv51eyqz

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "creditsUsed": 0,
  • "remainingCreditsBalance": 10,
  • "results": {
    }
}

Retrieves domain data

Retrieves data about the specified domain from the database

query Parameters
domain
required
string
Example: domain=webtechsurvey.com

Domain name which data to be retrieved

header Parameters
x-api-key
required
string <uuid>
Example: wts-api-asn1k32j7klv51eyqz

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "creditsUsed": 0,
  • "remainingCreditsBalance": 10,
  • "results": {
    }
}

subdomains

Preview (free version) of /subdomains

Returns partial data about subdomains

query Parameters
domain
required
string
Example: domain=webtechsurvey.com

Domain name which data to be retrieved

header Parameters
x-api-key
required
string <uuid>
Example: wts-api-asn1k32j7klv51eyqz

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "creditsUsed": 0,
  • "remainingCreditsBalance": 10,
  • "results": {
    }
}

Retrieve list of all subdomains

Returns list of all subdomains of the top-level-domain

query Parameters
domain
required
string
Example: domain=webtechsurvey.com

Domain name which data to be retrieved

header Parameters
x-api-key
required
string <uuid>
Example: wts-api-asn1k32j7klv51eyqz

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "creditsUsed": 1,
  • "remainingCreditsBalance": 10,
  • "results": {
    }
}

live scan

Scan website

Crawls and analyzes website

query Parameters
domain
required
string
Example: domain=webtechsurvey.com

Domain to be crawled

cve
boolean
Example: cve=true

Specifies whether scan should test for CVE vulnerabilities (requires additional credits)

header Parameters
x-api-key
required
string <uuid>
Example: wts-api-asn1k32j7klv51eyqz

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "creditsUsed": 1,
  • "remainingCreditsBalance": 10,
  • "results": {}
}

misc

Check available balances

Return available credits and reports

header Parameters
x-api-key
required
string <uuid>
Example: wts-api-asn1k32j7klv51eyqz

Responses

Response samples

Content type
application/json
{
  • "status": "success",
  • "creditsUsed": 0,
  • "remainingCreditsBalance": 10
}