# Web-Check API reference

> The Web Check API gives programmatic access to the checks behind the Web Check site: DNS records, IP, HTTP headers, open ports, redirects, WHOIS, SSL, security headers, tech stack, archives and more (44 checks on the site; the OpenAPI spec lists about 40 endpoints). An investigator uses it to…

Source: https://osinttools.io/apis/web-check/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/web-check/

- Base URL: https://web-check.xyz/api
- Authentication: No key needed. The spec lists no security scheme but documents 401 responses; the API page offers sign-up for an API key.
- Rate limits: Not stated in the docs
- Vendor docs: https://web-check.xyz/web-check-api
- OpenAPI spec: https://web-check.xyz/resources/openapi-spec.yml

## Overview

The Web Check API gives programmatic access to the checks behind the Web Check site: DNS records, IP, HTTP headers, open ports, redirects, WHOIS, SSL, security headers, tech stack, archives and more (44 checks on the site; the OpenAPI spec lists about 40 endpoints). An investigator uses it to profile what sits behind a website address.

Every endpoint is a GET on `https://web-check.xyz/api/<check>` that takes the address to look at in a `url` query parameter and returns JSON. The spec also lists a 204 response for a check that was skipped, and 400, 401, 429 and 500 errors. The spec does not name an authentication scheme, and it does not state rate limits; the API page at web-check.xyz points to an account page for getting an API key. The project is open source and can be self-hosted, in which case the base URL is your own server.

This reference lists seven of the endpoints; the rest follow the same pattern (see the OpenAPI spec).

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Missing or incorrect input parameters |
| 401 | Authentication credentials were missing or incorrect |
| 429 | Rate limit exceeded |
| 500 | An error occurred while processing the request |

## Server info

### Retrieve the IP address a site address resolves to.

`GET /get-ip`

- Takes: URL, Domain
- Footprint: passive (the target is not contacted)

Returns the IP and its family (4 or 6). A 204 means the check was skipped.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | query | string | yes | The URL to fetch results about Example: https://example.com |

Response fields:

- `ip` (string): The IP address
- `family` (integer): IP family: 4 for IPv4, 6 for IPv6

```bash
curl 'https://web-check.xyz/api/get-ip?url=https%3A%2F%2Fexample.com'
```

Example response (200):

```json
{
  "ip": "203.0.113.7",
  "family": 4
}
```

### Retrieve DNS records for a site address.

`GET /dns`

- Takes: URL, Domain
- Footprint: passive (the target is not contacted)

Returns record sets such as A, AAAA, MX, TXT, NS, CNAME, SOA, SRV and PTR.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | query | string | yes | The URL to fetch results about Example: https://example.com |

Response fields:

- `A.address` (string): IPv4 address
- `A.family` (integer): IP family
- `AAAA` (array): List of IPv6 addresses
- `MX` (array): Mail exchange servers
- `TXT` (array): TXT records
- `NS` (array): Name servers

```bash
curl 'https://web-check.xyz/api/dns?url=https%3A%2F%2Fexample.com'
```

Example response (200):

```json
{
  "A": {
    "address": "203.0.113.7",
    "family": 4
  },
  "AAAA": [
    "2001:db8::7"
  ],
  "MX": [],
  "TXT": [],
  "NS": [
    "ns1.example.com"
  ]
}
```

### Retrieve the HTTP response headers a site returns.

`GET /headers`

- Takes: URL
- Footprint: active (contacts the target)

Returns an object of header names to string or list-of-string values.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | query | string | yes | The URL to fetch results about Example: https://example.com |

Response fields:

- `server` (string): Example header: server software
- `content-type` (string): Example header: content type

```bash
curl 'https://web-check.xyz/api/headers?url=https%3A%2F%2Fexample.com'
```

Example response (200):

```json
{
  "content-type": "text/html; charset=utf-8",
  "server": "example-server",
  "x-frame-options": "SAMEORIGIN"
}
```

### Check whether a website is up, with response code and timings.

`GET /status`

- Takes: URL
- Footprint: active (contacts the target)

Returns whether the site is up, response time and code, and milliseconds spent on DNS, connect, TLS, wait and download.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | query | string | yes | The URL to check the status of Example: https://example.com |

Response fields:

- `isUp` (boolean): Whether the website is up
- `responseTime` (integer): Response time in milliseconds
- `responseCode` (integer): HTTP response code
- `timings.dns` (integer): Milliseconds on DNS
- `timings.connect` (integer): Milliseconds to connect
- `timings.tls` (integer): Milliseconds on TLS
- `timings.wait` (integer): Milliseconds waiting for the server
- `timings.download` (integer): Milliseconds downloading

```bash
curl 'https://web-check.xyz/api/status?url=https%3A%2F%2Fexample.com'
```

Example response (200):

```json
{
  "isUp": true,
  "responseTime": 105,
  "responseCode": 200,
  "timings": {
    "dns": 20,
    "connect": 15,
    "tls": 17,
    "wait": 19,
    "download": 32
  }
}
```

### Retrieve open ports found on the server.

`GET /ports`

- Takes: URL, IP address
- Footprint: active (contacts the target)

Returns the list of open ports.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | query | string | yes | The URL to fetch results about Example: https://example.com |

Response fields:

- `openPorts` (array): List of open port numbers

```bash
curl 'https://web-check.xyz/api/ports?url=https%3A%2F%2Fexample.com'
```

Example response (200):

```json
{
  "openPorts": [
    80,
    443
  ]
}
```

### Retrieve the URLs a site address redirects to.

`GET /redirects`

- Takes: URL
- Footprint: active (contacts the target)

Returns the list of URLs in the redirect chain.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | query | string | yes | The URL to fetch redirect data about Example: https://example.com |

Response fields:

- `redirects` (array): URLs the given URL redirects to

```bash
curl 'https://web-check.xyz/api/redirects?url=https%3A%2F%2Fexample.com'
```

Example response (200):

```json
{
  "redirects": [
    "https://www.example.com/"
  ]
}
```

### Retrieve WHOIS information for a domain.

`GET /whois`

- Takes: Domain
- Footprint: passive (the target is not contacted)

Returns registry data (internicData) and parsed data (whoisData) with registrar, status, name servers and creation, update and expiry dates.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | query | string | yes | The domain to retrieve WHOIS information for Example: example.com |

Response fields:

- `internicData.Domain_Name` (string): Domain name
- `internicData.Registrar` (string): Registrar
- `internicData.Creation_Date` (string): Creation date
- `internicData.Registry_Expiry_Date` (string): Expiry date
- `whoisData.domain.name` (string): Domain name
- `whoisData.domain.status[]` (string): Domain status values
- `whoisData.domain.name_servers[]` (string): Name servers
- `whoisData.domain.created_date` (string): Creation date
- `whoisData.domain.expiration_date` (string): Expiry date

```bash
curl 'https://web-check.xyz/api/whois?url=example.com'
```

Example response (200):

```json
{
  "internicData": {
    "Domain_Name": "EXAMPLE.COM",
    "Registrar": "Example Registrar",
    "Creation_Date": "1995-08-14T04:00:00.000Z",
    "Registry_Expiry_Date": "2030-08-13T04:00:00.000Z"
  },
  "whoisData": {
    "domain": {
      "name": "example",
      "status": [
        "clientTransferProhibited"
      ],
      "name_servers": [
        "ns1.example.com"
      ],
      "created_date": "1995-08-14T04:00:00.000Z",
      "expiration_date": "2030-08-13T04:00:00.000Z"
    }
  }
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
