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.
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. |
Besides API call limitations per month, there are no other limitations.
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.Domain - Endpoint Features
| Object | Description |
|---|---|
url |
[Required] Url to lookup. |
{"domain":{"categories":[{"confidence":0.99,"name":"\/Adult"}],"domain_url":"https:\/\/xnxx.com","updated_at":"2023-01-18T12:52:02.000000Z"},"success":true,"api_usage":{"this_month_api_calls":360,"remaining_api_calls":999640}}
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'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime.
Each endpoint returns categorized information about a domain, URL, or email domain. The data includes categories with confidence scores, the queried URL or domain, and additional details like social media links and company information for the email endpoint.
Key fields include "success" (indicating query success), "categories" (listing category names and confidence scores), "domain_url" (the queried URL), and "objects" (providing company details for the email endpoint).
The response data is structured in JSON format, with a top-level object containing "domain" and "success" fields. The "domain" object includes nested arrays for categories and additional details, making it easy to parse and utilize.
Each endpoint accepts a primary parameter: "domain" for the Domain endpoint, "url" for the URL endpoint, and "email" for the Email endpoint. These parameters specify the content to be classified and categorized.
The Domain and URL endpoints provide category classifications, confidence scores, and the queried URL. The Email endpoint offers similar categorization along with company details, such as name, location, and employee range.
Users can leverage the returned data for various applications, such as content moderation, ad targeting, and competitor analysis. For instance, confidence scores can help prioritize content filtering based on relevance.
The API utilizes advanced machine learning algorithms trained on diverse web content to classify and categorize data. This ensures a broad coverage of topics and industries, enhancing the accuracy of classifications.
Data accuracy is maintained through continuous model training and validation against real-world content. Regular updates and quality checks ensure that the classifications remain relevant and reliable over time.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
1,321ms
Service Level:
100%
Response Time:
1,035ms
Service Level:
100%
Response Time:
1,129ms
Service Level:
100%
Response Time:
1,694ms
Service Level:
100%
Response Time:
308ms
Service Level:
100%
Response Time:
795ms
Service Level:
100%
Response Time:
1,301ms
Service Level:
100%
Response Time:
670ms
Service Level:
100%
Response Time:
4,056ms
Service Level:
100%
Response Time:
1,093ms