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

This API endpoint 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
* Not available with some plans

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",
    "result": {
        "code": 200,
        "msg": "Success"
    },
    "last_checked": 1727886583,
    "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
        }
    ]
}

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

This API endpoint 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
* Not available with some plans

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",
    "result": {
        "code": 200,
        "msg": "Success: CMS or Host Found"
    },
    "last_checked": 1727949595,
    "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"
        }
    ]
}

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

This API endpoint 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
private*Optionally 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 be used for any purpose other than to tally your API usage.
  • true
  • false (default)
* Not available with some plans

Result JSON

Responses are JSON encoded and have the following format.

For better lead generation, we are including detected social media profile URLs. Includes Twitter, Facebook, Instagram, LinkedIn and YouTube networks.

{
    "request": "https://whatcms.org/others/WhatCMS/API/Tech?key=YOUR-API-KEY&url=blog.mozilla.org",
    "result": {
        "code": 200,
        "msg": "Success"
    },
    "last_checked": 1727870647,
    "results": [
        {
            "name": "WordPress",
            "id": 1,
            "version": "5.7.2",
            "categories": [
                "Blog",
                "CMS"
            ],
            "url": "https://whatcms.org/c/WordPress"
        },
        {
            "name": "PHP",
            "id": 1656,
            "categories": [
                "Programming Language"
            ],
            "url": "https://whatcms.org/c/PHP"
        },
        {
            "name": "MySQL",
            "id": 1595,
            "categories": [
                "Database"
            ],
            "url": "https://whatcms.org/c/MySQL"
        },
        {
            "name": "Nginx",
            "id": 1611,
            "categories": [
                "Web Server"
            ],
            "url": "https://whatcms.org/c/Nginx"
        }
    ],
    "meta": {
        "social": [
            {
                "network": "twitter",
                "url": "https://twitter.com/firefox",
                "profile": "firefox"
            },
            {
                "network": "twitter",
                "url": "https://twitter.com/mozilla",
                "profile": "mozilla"
            },
            {
                "network": "instagram",
                "url": "https://www.instagram.com/firefox/",
                "profile": "firefox"
            },
            {
                "network": "instagram",
                "url": "https://www.instagram.com/mozilla/",
                "profile": "mozilla"
            },
            {
                "network": "youtube",
                "url": "https://www.youtube.com/user/firefoxchannel",
                "profile": "firefoxchannel"
            }
        ]
    }
}

Technology List

Download a JSON list of the technologies we detect.

https://www.themedetect.com/API/List

Status Endpoint

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

https://www.themedetect.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 and of 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: [additional details will be provided here]
110Url Parameter Not Set
111Invalid Url
112Missing required parameter: [additional details will be provided here]
113Invalid value for required parameter: [additional details will be provided here]
120Rate Limited
121You have exceeded your monthly request quota
123Account disabled per violation of Terms and Conditions
124Free plan rate limited (multiple accounts)
125Free plan exceeded monthly request quota (multiple accounts)
200Success
201CMS/Host/Theme not detected
202Requested Url Was Unavailable
203Not a WordPress powered site
204WordPress theme not found

Deprecated Features

The following are deprecated features of our API and will be removed on the following dates

DescriptionRemoval Date
The "request_web" field will be removed from all JSON responses2022-10-01
The "API/CMS" endpoint will be removed at a later date. Please use the "API/Tech" endpoint instead.TBD