Web Content Classification API

Web Content Classification API

Web Content Classification API uses advanced machine learning algorithms to automatically classify and categorize text and multimedia content found on the web. It can be used to improve the efficiency of content moderation, filtering, and search capabilities, as well as to gain valuable insights into the types of content that are most popular and relevant to a specific audience.

API description

About the API:

The Web Content Classification API can also identify the subcategories within each primary category, such as specific industries or topics. This allows for a more detailed and nuanced understanding of a website's content and audience.

This API can be used for a variety of purposes, such as improving the efficiency of content moderation and filtering, as well as for gaining valuable insights into the types of content that are most popular and relevant to a specific audience. For example, businesses can use the API to identify potential competitors, track changes in industry trends, or target specific audiences with their advertising and marketing efforts.

Additionally, the Web Content Classification API can be integrated into a wide range of applications and systems, such as search engines, content management systems, and analytics platforms. This allows developers and businesses to easily access and utilize the powerful classification capabilities of the API without the need for extensive training or specialized expertise.

In summary, the Web Content Classification API is a versatile and efficient tool that can help businesses and developers gain valuable insights into the web content and audience, and improve the efficiency of their moderation and filtering capabilities.


What this API receives and what your API provides (input/output)?

This API will receive a domain or an URL and it will deliver information like:

Property Description
message Returns an error message or success message depending on whether or not your query succeeds.
categories Returns the list of categories with his names and confidence scores.
full_path_url_mode [Optional] Returns true or false depending on if the URL is a full path or not.
full_path_url [Optional] Returns the full path URL we use to obtain data.
success Returns true or false depending on whether or not your query succeeds.


What are the most common uses cases of this API?

  1. Content Moderation: Automatically classify and filter out inappropriate or offensive content on a website or social media platform.
  2. Search Engine Optimization: Improve the relevance and accuracy of search results by classifying web pages based on their content and intent.
  3. Ad Targeting: Identify and target specific audiences based on the content and categories of websites they visit.
  4. Competitor Analysis: Identify and track the web presence and content of competitors in a specific industry.
  5. Content Recommendation: Suggest relevant and similar content to users based on the classification of the web pages they visit.
  6. Analytics and Reporting: Gain insights into the types of content and topics that are most popular and relevant to a specific audience.


Are there any limitations to your plans?

Besides API call limitations per month, there are no other limitations.


API Documentation


If you need to retrieve information about a domain and enrich your databases with data from a company, this endpoint will help you with that. 

Passing the domain, you will be able to get information like business category, IAB categorization.



Let's take a look at the output classification CNN: 


JSON output:

  "domain": {
    "categories": [
        "confidence": 0.99,
        "name": "/News",
        "IAB12": "News"
    "domain_url": "https://www.cnn.com/",

Response details:

Success: "true/false". This will determine if the query was successful or not.
Categories: Returns the list of categories with his names and confidence scores.
Confidence: This is is a value between 0 and 0.99, where it will allow you to know how much likely is that category related to the website. Closer to 1 is better confidence.
Name: Category name.
IAB: IAB category.
domain_url: The url that was queried.

POST https://zylalabs.com/api/1017/web+content+classification+api/885/domain

Domain - Endpoint Features
Object Description
url [Required] Url to lookup.
Test Endpoint


                                                                                                                                                                                                                            {"domain":{"categories":[{"confidence":0.92,"name":"\/Science\/Computer Science","IAB15":"Science"},{"confidence":0.9,"name":"\/Computers & Electronics\/Programming"},{"confidence":0.52,"name":"\/Internet & Telecom"}],"domain_url":"https:\/\/www.zylalabs.com","social_media":{"twitter_url":"https:\/\/twitter.com\/Zyla_Labs","linkedin_url":"https:\/\/www.linkedin.com\/company\/zyla-labs\/?viewAsMember=true","youtube_url":"https:\/\/www.youtube.com\/channel\/UCP3kIxcJkh0xg3egImplEVg","instagram_url":"https:\/\/www.instagram.com\/zylalabs\/"},"logo_url":"https:\/\/klazify.s3.amazonaws.com\/944901632167344466563bebd39834471.63871427.png","updated_at":"2023-01-11T13:44:26.000000Z"},"success":true,"objects":{"company":{"name":"Zyla Labs","city":"San Ramon","stateCode":"CA","countryCode":"US","employeesRange":"1-10","revenue":null,"raised":null,"tags":["Publishing"],"tech":["google_apps","cloud_flare","amazon_s3","recaptcha","heroku","google_tag_manager","hubspot","facebook_advertiser","piwik","google_analytics","algolia"]}},"similar_domains":["vinquery.com","images-extractor.herokuapp.com,"],"api_usage":{"this_month_api_calls":1109,"remaining_api_calls":998891}}


curl --location --request POST 'https://zylalabs.com/api/1017/web+content+classification+api/885/domain?url=https://cnn.com' --header 'Authorization: Bearer YOUR_API_KEY' 


API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Web Content Classification API REST API, simply include your bearer token in the Authorization header.


Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
 Response Time

Useful links:



Related APIs