# host.io API reference

> The host.io API returns data about a domain: metadata scraped from its homepage, its DNS records, counts of related domains, and lists of other domains that share an IP, nameserver, mail server, ASN, backlink, AdSense or Google Analytics ID, social handle or email address. It is used to pivot from…

Source: https://osinttools.io/apis/host-io/ (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/host-io/

- Base URL: https://host.io
- Authentication: Bearer token in the `Authorization` header. Get a key: https://host.io/signup Also accepted: Basic auth with the token as username, or the token query parameter.
- Free tier: yes
- Rate limits: Not stated in the docs; per-page maximum depends on plan (free plan 5 domains per page)
- Vendor docs: https://host.io/docs

## Overview

The host.io API returns data about a domain: metadata scraped from its homepage, its DNS records, counts of related domains, and lists of other domains that share an IP, nameserver, mail server, ASN, backlink, AdSense or Google Analytics ID, social handle or email address. It is used to pivot from one domain to others tied to the same owner or infrastructure.

Calls go to `https://host.io`. The token can be sent as Basic auth (token as username), a Bearer header or the `token` query parameter. A request without a token returns HTTP 400.

The free plan returns 5 domains per page on the domain-list endpoint; other plans are on the pricing page.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Request without a token |
| 404 | Invalid domain, no data, or an out-of-bounds limit/page combination |

## Domain data

### Metadata scraped from a domain's homepage.

`GET /api/web/{domain}`

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

Returns the homepage's title, description, IP, linked domains and more.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | path | string | yes | Domain to look up Example: example.com |

Response fields:

- `domain` (string): The domain
- `rank` (integer): Position in the host.io 10M domains ranking
- `url` (string): URL fetched
- `ip` (string): IP address
- `date` (string): Date of the scrape
- `length` (integer): Page length
- `encoding` (string): Page encoding
- `copyright` (string): Copyright text
- `title` (string): Page title
- `description` (string): Page description
- `links` (array): Domains linked from the homepage

```bash
curl 'https://host.io/api/web/example.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "domain": "example.com",
  "rank": 1000,
  "url": "https://example.com/",
  "ip": "203.0.113.7",
  "date": "2026-01-01",
  "length": 1256,
  "encoding": "utf-8",
  "title": "Example Domain",
  "description": "Example",
  "links": [
    "example.org"
  ]
}
```

### DNS records for a domain.

`GET /api/dns/{domain}`

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

Returns A, AAAA, MX and NS records.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | path | string | yes | Domain to look up Example: example.com |

Response fields:

- `domain` (string): The domain
- `a` (array): IPv4 addresses
- `aaaa` (array): IPv6 addresses
- `mx` (array): Mail servers
- `ns` (array): Nameservers

```bash
curl 'https://host.io/api/dns/example.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "domain": "example.com",
  "a": [
    "203.0.113.7"
  ],
  "aaaa": [
    "2001:db8::1"
  ],
  "mx": [
    "mail.example.com"
  ],
  "ns": [
    "ns1.example.com"
  ]
}
```

### Counts of related domains by lookup type.

`GET /api/related/{domain}`

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

Each key (ip, redirects, backlinks, asn) holds value and count pairs.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | path | string | yes | Domain to look up Example: example.com |

Response fields:

- `ip[].value` (string): Related IP
- `ip[].count` (integer): Domains sharing it
- `asn[].value` (string): Related ASN
- `asn[].count` (integer): Domains sharing it

```bash
curl 'https://host.io/api/related/example.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "ip": [
    {
      "value": "203.0.113.7",
      "count": 12
    }
  ],
  "asn": [
    {
      "value": "AS64496",
      "count": 300
    }
  ]
}
```

### Web, DNS, related counts and IPinfo data in one call.

`GET /api/full/{domain}`

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

Combines the web, dns and related endpoints with IP geolocation data from IPinfo.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | path | string | yes | Domain to look up Example: example.com |

Response fields:

- `domain` (string): The domain
- `dns` (object): As the dns endpoint
- `ipinfo` (object): Per-IP city, region, country, loc, postal, timezone and asn
- `web` (object): As the web endpoint
- `related` (object): As the related endpoint

```bash
curl 'https://host.io/api/full/example.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "domain": "example.com",
  "dns": {
    "a": [
      "203.0.113.7"
    ]
  },
  "ipinfo": {
    "203.0.113.7": {
      "country": "US"
    }
  },
  "web": {
    "title": "Example Domain"
  },
  "related": {
    "ip": [
      {
        "value": "203.0.113.7",
        "count": 12
      }
    ]
  }
}
```

## Pivots

### List domains that share a field value.

`GET /api/domains/{field}/{value}`

- Takes: Domain, IP address, Email
- Footprint: passive (the target is not contacted)

Field is one of ip, ns, mx, asn, backlinks, redirects, adsense, facebook, twitter, instagram, gtm, googleanalytics or email. The value must match the field and is not always a domain. Maximum 10 million results per query.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `field` | path | string | yes | What to pivot on Example: ip One of: ip, ns, mx, asn, backlinks, redirects, adsense, facebook, twitter, instagram, gtm, googleanalytics, email |
| `value` | path | string | yes | Value for that field (IP, root domain, ASN, ID, handle or email) Example: 203.0.113.7 |
| `limit` | query | integer | no | Domains per page Example: 25 One of: 0, 1, 5, 10, 25, 100, 250, 1000 |
| `page` | query | integer | no | Page number, 0-indexed Example: 0 |

Response fields:

- `total` (integer): Total domains found
- `domains` (array): Domains on this page
- `page` (integer): Page number (some responses)

```bash
curl 'https://host.io/api/domains/ip/203.0.113.7' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "ip": "203.0.113.7",
  "total": 2,
  "domains": [
    "example.com",
    "example.org"
  ]
}
```

---

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/
