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.
{"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.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
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:
1,321ms
Service Level:
100%
Response Time:
285ms
Service Level:
100%
Response Time:
308ms
Service Level:
100%
Response Time:
1,301ms
Service Level:
100%
Response Time:
4,056ms
Service Level:
100%
Response Time:
1,093ms
Service Level:
100%
Response Time:
2,845ms