all-about-apikey/host-io/README.md

904 B

host.io

Description

Domains Data API for Developers

Example Request

  • Curl
curl "https://host.io/api/full/facebook.com?token=${{token}}"
  • Raw
GET /api/full/facebook.com?token=${{token}} HTTP/1.1
Host: host.io

Response

  • Success
{
    "domain": "facebook.com",
    "web": {
        "domain": "facebook.com",
        "rank": 3,
        "url": "https://m.facebook.com/?_rdr",
        "ip": "157.240.11.35",
        "date": "2022-05-25T20:35:10.915Z",
        "length": 59649,
        "encoding": "utf8",
        "copyright": "Meta © 2022",
        "facebook": "images",
        "title": "Facebook - log in or sign up",
        ...
  • Error
{
    "error": "Please ensure you've entered your token correctly.",
    "title": "Unknown Token"
}

Regex

[a-z0-9]{14}

Example API key

kj5c23a1d263d9