Host Detection

Fetch Who-Hosts-This.com data with curl, guzzle or your favorite HTTP client.

https://www.who-hosts-this.com/API/Host?key=YOUR-API-KEY&url=en.wikipedia.org

Curl Example

curl -G https://www.who-hosts-this.com/API/Host \
--data-urlencode key="Your-api-key" \
--data-urlencode url="en.wikipedia.org"

Request Parameters

The API query requires two parameters: the url you want to check and your api key.

NameDescriptionValue
urlThe url of the page to check. Required
  • en.wikipedia.org
  • https://en.wikipedia.org
  • en.wikipedia.org/a_page
keyYour unique api key. RequiredGet A Free API Key

Result JSON

Responses are JSON encoded and have the following format.

{
    "request": "https://www.who-hosts-this.com/API/Host?key=YOUR-API-KEY&url=en.wikipedia.org",
    "request_web": "https://www.who-hosts-this.com/?s=en.wikipedia.org",
    "result": {
        "code": 200,
        "msg": "Success: CMS or Host Found"
    },
    "results": [
        {
            "ip": "2620:0:861:ed1a::1",
            "type": "AAAA",
            "isp_id": "544",
            "isp_name": "Wikimedia Foundation Inc.",
            "isp_url": "https://www.who-hosts-this.com/Hosts/544-Wikimedia-Foundation-Inc"
        },
        {
            "ip": "198.35.26.96",
            "type": "A",
            "isp_id": "544",
            "isp_name": "Wikimedia Foundation Inc.",
            "isp_url": "https://www.who-hosts-this.com/Hosts/544-Wikimedia-Foundation-Inc"
        }
    ]
}

WordPress Theme Detection

Fetch ThemeDetect.com data with curl, guzzle or your favorite HTTP client.

https://www.themedetect.com/API/Theme?key=YOUR-API-KEY&url=blog.mozilla.org

Curl Example

curl -G https://www.themedetect.com/API/Theme \
--data-urlencode key="Your-api-key" \
--data-urlencode url="blog.mozilla.org"

Request Parameters

The API query requires two parameters: the url you want to check and your api key.

NameDescriptionValue
urlThe url of the page to check. Required
  • blog.mozilla.org
  • https://blog.mozilla.org
  • blog.mozilla.org/a_page
keyYour unique api key. RequiredGet A Free API Key

Result JSON

Responses are JSON encoded and have the following format.

{
    "request": "https://www.themedetect.com/API/Theme?url=blog.mozilla.org&key=YOUR-API-KEY",
    "request_web": "https://www.themedetect.com/?s=blog.mozilla.org",
    "result": {
        "code": 200,
        "msg": "Success"
    },
    "results": [
        {
            "theme_uri": "https://github.com/craigcook/frontierline-theme",
            "theme_name": "Frontierline",
            "author": "Craig Cook, Michael Ham, and all your friends at Mozilla",
            "author_uri": "https://www.mozilla.org",
            "version": "2.4",
            "license": "GPL GNU General Public License v3 or later",
            "license_uri": "http://www.gnu.org/licenses/gpl-3.0.html",
            "template": "",
            "description": "A theme for official Mozilla blogs.",
            "tags": null
        }
    ]
}

CMS Detection

Fetch WhatCMS.org data with curl, guzzle or your favorite HTTP client.

https://whatcms.org/API/CMS?key=YOUR-API-KEY&url=en.wikipedia.org

Curl Example

curl -G https://whatcms.org/API/CMS \
--data-urlencode key="Your-api-key" \
--data-urlencode url="en.wikipedia.org"

Request Parameters

The API query requires two parameters: the url you want to check and your api key.

NameDescriptionValue
urlThe url of the page to check. Required
  • en.wikipedia.org
  • https://en.wikipedia.org
  • en.wikipedia.org/a_page
keyYour unique api key. RequiredGet A Free API Key
privateOptionally tell our detection service not to track the url. URLs detected with the private option will not show up in our list of Recent Detections, be stored in our database for Tech Reports, or used for any purpose other than to tally your API usage.

Result JSON

Responses are JSON encoded and have the following format.

{
    "request": "https://whatcms.org/API/CMS?key=YOUR-API-KEY&url=en.wikipedia.org",
    "request_web": "https://whatcms.org/?s=en.wikipedia.org",
    "result": {
        "code": 200,
        "msg": "CMS Found",
        "id": 8,
        "name": "MediaWiki",
        "confidence": "high",
        "cms_url": "https://whatcms.org/c/8_MediaWiki"
    },
    "private": false
}

Technology Detection

The technology endpoint provides a more complete picture of the software powering webpages. In addition to detecting the CMS, this endpoint will return the programming language, database, web server and more of the requested url.

https://whatcms.org/API/Tech?key=YOUR-API-KEY&url=en.wikipedia.org

Curl Example

curl -G https://whatcms.org/API/Tech \
--data-urlencode key="Your-api-key" \
--data-urlencode url="en.wikipedia.org"

Request Parameters

The API query requires two parameters: the url you want to check and your api key.

NameDescriptionValue
urlThe url of the page to check. Required
  • en.wikipedia.org
  • https://en.wikipedia.org
  • en.wikipedia.org/a_page
keyYour unique api key. RequiredGet A Free API Key

Result JSON

Responses are JSON encoded and have the following format.

{
    "request": "https://whatcms.org/API/Tech?key=YOUR-API-KEY&url=en.wikipedia.org",
    "request_web": "https://whatcms.org/?s=en.wikipedia.org",
    "result": {
        "code": 200,
        "msg": "Success"
    },
    "results": [
        {
            "categories": [
                "Wiki"
            ],
            "name": "MediaWiki",
            "url": "https://whatcms.org/c/MediaWiki",
            "version": "1.34.0"
        },
        {
            "categories": [
                "Programming Language"
            ],
            "name": "PHP",
            "version": ""
        },
        {
            "categories": [
                "Web Server"
            ],
            "name": "HHVM",
            "version": "3.18.6"
        }
    ]
}

Technology List

Download a JSON list of the technologies we detect.

https://www.who-hosts-this.com/API/List

Status Endpoint

You can use the status endpoint for checking your account totals.

https://www.who-hosts-this.com/API/Status?key=YOUR-API-KEY

Example Response

{
    "request": "https://whatcms.org/API/Status?key=YOUR-API-KEY",
    "result": {
        "code": 200,
        "msg": "Success",
        "period_start": 1520722943,
        "period_end": 1523401343,
        "period_quota": 10000,
        "period_requests": 406,
        "period_remaining": 9594
    }
}

Rate Limiting

Rate limiting is an important part of our ability to provide API detections to so many customers, maintain a stable platform, and provide plans with unbeatable prices. Our plans are designed to meet everyone's needs with a wide range of rate limits along with a wide range detections per month.

120 Rate Limited

If you're receiving the "120" result code or find the rate limit of your current plan too restrictive, there are a couple of solutions we suggest.


Result Codes

CodeMessage
0Server Failure
100API Key Not Set
101Invalid API Key
102Request not authenticated: %s
110Url Parameter Not Set
111Invalid Url
112Missing required parameter: %s
113Invalid value for required parameter: %s
120Rate Limited: https://whatcms.org/Documentation#toc-rate-limiting
121You have exceeded your monthly request quota
123Account disabled per violation of Terms and Conditions
200Success
201Failed: CMS or Host Not Found
202Requested Url Was Unavailable
203Not a WordPress powered site
204WordPress theme not found