Skip to content
OSINTtools.io

host.io API

Domain data service showing DNS, hosting, outbound links, backlinks and how many domains share an IP, ASN, name server or mail server.

Base URL
https://host.io
Sign-in
Bearer token
Free tier
Free tier
Format
REST
Endpoints
5

Compiled by OSINTtools.io editors from host.io · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

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.

Quick start

  1. Get a key

    Create an account with host.io and copy your bearer token (free tier). Where to get it

  2. Make your first request

    Metadata scraped from a domain's homepage.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://host.io/api/web/example.com' \
      -H 'Authorization: Bearer YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "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"
      ]
    }

Authentication

Send your token in the Authorization header as Bearer YOUR_TOKEN.

Also accepted: Basic auth with the token as username, or the token query parameter.

Get a key from host.io

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs; per-page maximum depends on plan (free plan 5 domains per page)

Free tier.

Errors

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

Domain data

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

Path parameters

domainstringrequiredtakes your domain

Domain to look up

Example: example.com
Response fields · 11Show

domainstring

The domain

rankinteger

Position in the host.io 10M domains ranking

urlstring

URL fetched

ipstring

IP address

datestring

Date of the scrape

lengthinteger

Page length

encodingstring

Page encoding

copyrightstring

Copyright text

titlestring

Page title

descriptionstring

Page description

linksarray

Domains linked from the homepage

curl 'https://host.io/api/web/example.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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}

Returns A, AAAA, MX and NS records.

Path parameters

domainstringrequiredtakes your domain

Domain to look up

Example: example.com
Response fields · 5Show

domainstring

The domain

aarray

IPv4 addresses

aaaaarray

IPv6 addresses

mxarray

Mail servers

nsarray

Nameservers

curl 'https://host.io/api/dns/example.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "domain": "example.com",
  "a": [
    "203.0.113.7"
  ],
  "aaaa": [
    "2001:db8::1"
  ],
  "mx": [
    "mail.example.com"
  ],
  "ns": [
    "ns1.example.com"
  ]
}

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

Path parameters

domainstringrequiredtakes your domain

Domain to look up

Example: example.com
Response fields · 5Show

domainstring

The domain

dnsobject

As the dns endpoint

ipinfoobject

Per-IP city, region, country, loc, postal, timezone and asn

webobject

As the web endpoint

relatedobject

As the related endpoint

curl 'https://host.io/api/full/example.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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}

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.

Path parameters

fieldstringrequired

What to pivot on

Example: ipOne of: ip, ns, mx, asn, backlinks, redirects, adsense, facebook, twitter, instagram, gtm, googleanalytics, email
valuestringrequiredtakes your ip address

Value for that field (IP, root domain, ASN, ID, handle or email)

Example: 203.0.113.7

Query parameters

limitinteger

Domains per page

Example: 25Default: 25One of: 0, 1, 5, 10, 25, 100, 250, 1000
pageinteger

Page number, 0-indexed

Example: 0Default: 0
Response fields · 3Show

totalinteger

Total domains found

domainsarray

Domains on this page

pageinteger

Page number (some responses)

curl 'https://host.io/api/domains/ip/203.0.113.7' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "ip": "203.0.113.7",
  "total": 2,
  "domains": [
    "example.com",
    "example.org"
  ]
}