Classify domains in the IAB Content Taxonomy v3.1, including websites with non-English content.
Check the content category of websites where ads may appear, so you can keep campaigns away from inappropriate, unsafe, or off-brand placements.
Turn category intelligence into allowlists, blocklists, parental controls, and acceptable-use policies.
Add content-category context to cybersecurity products, helping customers apply browsing policies and understand the type of website behind a domain.
Get IAB v3.1 content categories with confidence scores for a domain. Switch format to get an additional OpenRTB object.
View API docscurl -X POST "https://website-categorization.whoisxmlapi.com/api/v4/categorize?apiKey=YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"domain": "stackoverflow.com"}'{ "domain": "stackoverflow.com", "primary_category": { "iab_id": "IAB-599", "tier1": "Technology & Computing", "tier2": "Computing", "path": "Technology & Computing > Computing", "confidence": 0.94 }, "credits_charged": 1 }curl -X POST "https://website-categorization.whoisxmlapi.com/api/v4/categorize?apiKey=YOUR_API_KEY&output_mode=set&coverage=0.65" \ -H "Content-Type: application/json" \ -d '{"domain": "stackoverflow.com"}'{ "domain": "stackoverflow.com", "primary_category": { "iab_id": "IAB-599", "tier1": "Technology & Computing", "tier2": "Computing", "path": "Technology & Computing > Computing", "confidence": 0.94 }, "credits_charged": 1, "prediction_set": { "set": [ { "tier1": "Technology & Computing", "tier2": "Computing", "confidence": 0.94 }, { "tier1": "Business and Finance", "tier2": "Business", "confidence": 0.19 } ] } }curl -X POST "https://website-categorization.whoisxmlapi.com/api/v4/categorize?apiKey=YOUR_API_KEY&output_format=openrtb" \ -H "Content-Type: application/json" \ -d '{"domain": "stackoverflow.com"}'{ "domain": "stackoverflow.com", "primary_category": { "iab_id": "IAB-599", "tier1": "Technology & Computing", "tier2": "Computing", "path": "Technology & Computing > Computing", "confidence": 0.94 }, "credits_charged": 1, "openrtb": { "cat": [ "596", "599" ], "cattax": 9 } }curl -X POST "https://website-categorization.whoisxmlapi.com/api/v4/categorize?apiKey=YOUR_API_KEY&output_mode=set&coverage=0.65&output_format=openrtb" \ -H "Content-Type: application/json" \ -d '{"domain": "stackoverflow.com"}'{ "domain": "stackoverflow.com", "primary_category": { "iab_id": "IAB-599", "tier1": "Technology & Computing", "tier2": "Computing", "path": "Technology & Computing > Computing", "confidence": 0.94 }, "credits_charged": 1, "prediction_set": { "set": [ { "tier1": "Technology & Computing", "tier2": "Computing", "confidence": 0.94 }, { "tier1": "Business and Finance", "tier2": "Business", "confidence": 0.19 } ] }, "openrtb": { "cat": [ "596", "599" ], "cattax": 9 } }
Standard JSON · Top category Returns the highest-ranked IAB v3.1 category.
Standard JSON · Prediction set Adds calibrated alternative predictions at the coverage you set (0.60 by default).
OpenRTB · Top category Returns the highest-ranked IAB v3.1 category. Includes an AdCOM-shaped OpenRTB object.
OpenRTB · Prediction set Adds calibrated alternative predictions at the coverage you set (0.60 by default). Includes an AdCOM-shaped OpenRTB object.
Get a clean JSON response that is easy to work with: ranked categories, IAB IDs, tier-by-tier paths, confidence scores, and a primary category.
Add output_format=openrtb to a single-domain request to include an OpenRTB-ready version of the result in your response.
Use include=policy to map categories to 47 policy groups—the labels used in DNS filtering, secure web gateways, and endpoint controls.
Need one answer? Send one domain. Need more? Classify up to 100 domains in one request.
Connect the WhoisXML API MCP server to Claude, Cursor, VS Code, or another MCP client. Then ask to classify a website in plain words or have your AI agents do it for you.
Connect the MCP serverHosted MCP server (Streamable HTTP, OAuth)
https://mcp-hosted.whoisxmlapi.com/mcp
Works with Claude, Cursor, VS Code and other MCP clients
It returns categories from the IAB Content Taxonomy v3.1: 704 categories across four tiers.
Yes. The bulk endpoint classifies up to 100 domains in one synchronous call, and only domains that return a result are charged. See the bulk requests documentation for details.
Not always. If the API cannot read a site, it may return no category. No-category results do not consume a credit.
The default limit is 600 requests per minute per API key, or about 10 requests per second on average.
A classification that returns a category costs one credit, including cached results. No-category results, errors, rate-limited requests, and the taxonomy endpoint are not billed.
Still have questions? Read the API docs or contact us.
“As part of my research into establishing resilience and security properties within the domain name infrastructure of the broader Internet, I was pleased to use the WhoisXML API Website Categorization service to identify the business categories of affected infrastructure. Integrating the APIs into my research workflow was seamless, thanks to the clear and comprehensive documentation available on their website. Within minutes, I was able to begin classifying websites and gain deeper insights into the types of businesses impacted by resilience gaps and security-related incidents.”
“WhoisXML API’s Website Categorization API helped me save time. If I did not use it, I would still be categorizing domains manually. It also improved the study’s accuracy, as the API had well-defined categories, and the output is precise and relevant.”
“The website intelligence is easy to set up and returns everything we need. One reason for this is the documentation of the API, which is well-written and very detailed.”
“Thanks to well-structured and clear API documentation provided by WhoisXML API, we were able to integrate the solution seamlessly into our system with minimal technical challenges.”
“With other APIs, there’s a tendency for requests to fail. But I didn’t notice that with Website Categorization API. I noticed that whenever a request was made, the website was always categorized.”
“I used WHOIS API and Website Categorization API. Both tools are simple and straightforward to use. Some API providers have extra bells and whistles that they force you to use, but WhoisXML API is really easy to work with. It’s stable, and I can trust that it’s not going to flatline later.”
















Get the most relevant data to be ahead of emerging security threats.
Learn more
Get data feeds of new registered domains along with their WHOIS data generated in real time.
Learn more
Track domains registered in coordinated batches, complete with WHOIS and DNS details for every domain.
Learn more
Get well-parsed and normalized WHOIS information for any domain name, IP address or email.
Learn more
Enhance your domain research toolkit by our enterprise-grade web-based solution that helps you in searching...
Learn more
Find out the exact physical location of any IP address, email or domain name.
Learn more
Monitor exact matches, variations and common misspellings of your brand name & trademarks.
Learn more
Give the list of domain names tied to the specified DNS records via API calls with outputs in JSON and XML.
Learn more
Find out which domains were added or dropped by registrants, with given search criteria.
Learn more
Find domains and subdomains related by specific terms in their hostnames.
Learn more
Assess the domain's or IP addresses reputation and risk profile with a simple score based on a comprehensive...
Learn more
Get the most comprehensive database of SSL (Secure Sockets Layer) Certificates.
Learn more
Get data feeds of SSL certificates along with their well parsed fields in real time. Accurate. Up-to-date.
Learn more
Easily identify malicious resources and retrieve their threat information.
Learn more
We provide complete and relevant domain WHOIS data which can be customized and easily integrated as per your business needs.
Learn more
Get insights for the new business registered on the web.
Learn more
Website Categorization API
Get free access to our API. 500 free credits. No credit card required.