Domain and URL Classification API

The Domain and URL Classification API is a powerful tool that can automatically classify a website's domain or URL into different business categories, such as Law, Commerce, Internet and Telecommunications, News, and more. It uses machine learning algorithms and a constantly updated database to determine a website's business category, making it easy for users to understand the purpose of the website. This API can be used for a variety of use cases, such as website filtering, business intelligence, and more.

About the API:

The Domain and URL Classification API is a powerful tool that can quickly and accurately identify the business category of any given website. This API uses advanced machine learning algorithms to analyze the content and structure of a website and determine its primary categories, such as law, commercial, internet and telecommunications, news, and more.

The API is designed to be easy to use and integrate into any existing application or workflow, making it the perfect solution for businesses that need to quickly and accurately categorize large numbers of websites. With its fast and accurate results, this API can save businesses time and resources, while also providing valuable insights into the online landscape.

Additionally, the API is always kept up to date with the latest industry developments, ensuring that it remains reliable and accurate at all times. Overall, the Domain and URL Classification API is a must-have tool for any business looking to gain a deeper understanding of the online landscape and make data-driven decisions.

 

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.
logo_url Returns the URL of the logo of the domain. The logo URL field could be empty for some domains.
social_media Returns the list of links of all the social media channels of the domain. The social media field could be empty for some domains.
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.
objects Returns Company and Tech data. The company object returns information about the company's domain and the Tech Object returns the list of technologies that the company uses both internally and for the domain. Both attributes could be empty for some domains.
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 filtering: The Domain and URL Classification API can be used to filter and block access to websites that contain inappropriate or harmful content, such as hate speech or illegal activities. This can be useful for organizations that need to ensure that their employees or members have safe and appropriate internet access.

  2. Digital advertising: The API can be used to identify the business category of a website and target online advertising to specific audiences. This is can be useful for businesses looking to reach a specific target demographic or audience.

  3. Market research: The API can be used to analyze the landscape of a specific business category, such as e-commerce, to help identify trends and insights that can inform business strategy.

  4. Cybersecurity: The API can be used to identify and flag potentially suspicious or malicious websites, helping organizations protect against cyber attacks.

  5. News Monitoring: The API can be used to classify news websites and filter news articles based on their categories, such as politics, sports, entertainment, and more, allowing users to stay up-to-date with the latest news in their specific area of interest.

  6. Search Engine Optimization (SEO): The API can be used to identify the business category of a website and make sure that it is properly categorized on search engines, which can be useful for businesses looking to increase their online visibility and drive more traffic to their website.

 

Are there any limitations to your plans?

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

 

API Documentation

Endpoints


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, social media URLs, and domain logo. 

Also, you will retrieve company information, like company name, where it's located and employees range and revenue (if it's public information). 

 

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

This will be the query

http://zylalabs.com/api/12/klazify/47/domain?url=https://cnn.com

JSON output:

{
  "domain": {
    "categories": [
      {
        "confidence": 0.99,
        "name": "/News",
        "IAB12": "News"
      }
    ],
    "domain_url": "https://www.cnn.com/",
    "social_media": {
      "facebook_url": "//facebook.com/CNN",
      "twitter_url": "//twitter.com/CNN",
      "instagram_url": "//instagram.com/cnn"
    },
    "logo_url": "https://klazify.s3.amazonaws.com/16269333031613574115602d2fe371bfb0.22754507.png",
    "updated_at": "2022-04-29T05:16:45.000000Z"
  },
  "success": true,
  "objects": {
    "company": {
      "name": "CNN",
      "city": "Atlanta",
      "stateCode": "GA",
      "countryCode": "US",
      "employeesRange": "5K-10K",
      "revenue": null,
      "raised": null,
      "tags": [
        "Publishing",
        "Broadcasting",
        "B2C",
        "ISP"
      ],
      "tech": [
        "aws_route_53",
        "optimizely",
        "zendesk",
        "outbrain_ads",
        "facebook_advertiser",
        "adobe_dynamic_tag_management",
        "microsoft_office_365",
        "app_nexus",
        "google_tag_manager",
        "atlassian_confluence",
        "talend",
        "oracle_peoplesoft",
        "stripe",
        "gigya",
        "sage_50cloud",
        "quickbooks",
        "oracle_data_integrator",
        "informatica",
        "db2",
        "episerver",
        "apache_tomcat",
        "atlassian_jira",
        "rubicon_project",
        "microsoft_dynamics",
        "saleslogix",
        "cj_affiliate",
        "information_builders",
        "media.net",
        "gotomeeting",
        "windows_server",
        "filemaker_pro",
        "appnexus",
        "basecamp",
        "teradata",
        "salesforce",
        "microsoft_project",
        "wrike",
        "aws_kinesis",
        "aws_redshift",
        "rabbitmq",
        "aws_lambda",
        "splunk",
        "sap_sales_order_management",
        "oracle_business_intelligence",
        "netsuite",
        "aws_dynamodb",
        "apache_http_server",
        "github",
        "hootsuite",
        "qlikview",
        "oracle_cash_and_treasury_management",
        "ibm_cognos",
        "clearslide",
        "pentaho",
        "google_search_appliance",
        "sap_concur",
        "neo4j",
        "sap_crm",
        "netsuite_crm",
        "apache_cassandra",
        "openx",
        "ibm_websphere",
        "microsoft_power_bi",
        "apache_spark",
        "kentico",
        "liferay",
        "magnolia_cms",
        "ibm_lotus_notes",
        "mavenlink",
        "ibm_infosphere",
        "hp_servers",
        "mongodb",
        "twilio",
        "cision",
        "couchbase",
        "oracle_weblogic",
        "openid",
        "oracle_essbase",
        "pivotal_tracker",
        "pubmatic",
        "sap_crystal_reports",
        "soasta",
        "hive",
        "oracle_crm",
        "meltwater",
        "microstrategy",
        "goldmine",
        "apache_hadoop",
        "adobe_marketing_cloud",
        "sap_business_objects",
        "vmware_server",
        "tibco_spotfire",
        "couchdb",
        "factset",
        "oracle_hyperion",
        "peoplesoft_crm",
        "postgresql",
        "sybase",
        "aws_iam",
        "trello",
        "unbounce",
        "mysql",
        "dropbox",
        "salesforce_dmp"
      ]
    }
  }


                                                                            
POST https://zylalabs.com/api/972/domain+and+url+classification+api/805/domain
                                                                            
                                                                        

Domain - Endpoint Features

Object Description
url [Required] The domain that you want to classify. (ex: https://google.com)
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"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":1012,"remaining_api_calls":998988}}
                                                                                                                                                                                                                    
                                                                                                    

Domain - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/972/domain+and+url+classification+api/805/domain?url=http://zylalabs.com' --header 'Authorization: Bearer YOUR_API_KEY' 


    

The URL endpoint works similarly to the Domain one. The difference is that in this endpoint you will be able to categorize a full URL path instead only the root domain. 

This endpoint will help you to retrieve the category of the URL that is passed to it. 

Just passing https://www.nytimes.com/ will give you the category "/News", because that is suitable for the root domain.

For example, this URL from the NY times https://www.nytimes.com/2022/06/30/business/stock-market-worst-start-50-years.html directs you to an article about the stock market. 

In this case, you will be receiving the category "/Finance/Investing/Stocks & Bonds"

So, let's take a look at the output this query retrieves: 

http://zylalabs.com/api/12/klazify/48/url?url=https://www.nytimes.com/2022/06/30/business/stock-market-worst-start-50-years.html

 

JSON output: 

{
  "domain": {
    "categories": [
      {
        "confidence": 0.66,
        "name": "/Finance/Investing/Stocks & Bonds",
        "IAB13-7": "Investing"
      },
      {
        "confidence": 0.63,
        "name": "/News/Business News/Financial Markets News",
        "IAB12": "News"
      },
      {
        "confidence": 0.61,
        "name": "/Business & Industrial"
      }
    ],
    "domain_url": "https://www.nytimes.com/2022/06/30/business/stock-market-worst-start-50-years.html",
    "full_path_url_mode": true,
    "full_path_url": "https://www.nytimes.com/2022/06/30/business/stock-market-worst-start-50-years.html",
    "logo_url": "https://klazify.s3.amazonaws.com/14652822421616684534605ca5f699fa97.92018864.png",
    "social_media": {
      "facebook_url": null,
      "twitter_url": "https://twitter.com/nytopinion/status/1380679753728983040",
      "instagram_url": null,
      "medium_url": null,
      "youtube_url": null,
      "pinterest_url": null,
      "linkedin_url": null,
      "github_url": null
    },
    "updated_at": "2022-06-30T21:35:37.000000Z"
  },
  "success": true,
  "objects": {
    "company": {
      "name": "The New York Times",
      "city": "New York",
      "stateCode": "NY",
      "countryCode": "US",
      "employeesRange": "10K-50K",
      "revenue": null,
      "raised": null,
      "tags": [
        "Publishing",
        "Media",
        "B2C"
      ]


                                                                            
POST https://zylalabs.com/api/972/domain+and+url+classification+api/806/url
                                                                            
                                                                        

URL - Endpoint Features

Object Description
url [Required] The full path URL that you want to retrieve the category and information from.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"domain":{"categories":[{"confidence":0.78,"name":"\/Science\/Computer Science","IAB15":"Science"},{"confidence":0.76,"name":"\/Computers & Electronics\/Programming","IAB-631-599":"Programming Languages\/Technology & Computing\/Computing\/Programming Languages"},{"confidence":0.67,"name":"\/Internet & Telecom\/Web Services"}],"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","instagram_url":"https:\/\/www.instagram.com\/zylalabs\/"},"logo_url":"https:\/\/klazify.s3.amazonaws.com\/11091441531683861721645db0d9cc2bb8.85333098.png"},"success":true,"objects":{"company":{"name":"Zyla Labs","city":"San Ramon","stateCode":"CA","countryCode":"US","employeesRange":"1-10","revenue":null,"raised":null,"tags":["Publishing"],"tech":["amazon_s3","cloud_flare","google_apps","google_tag_manager","recaptcha","youtube","algolia","facebook_advertiser","google_analytics","hubspot","piwik"]}},"similar_domains":["vinquery.com","images-extractor.herokuapp.com,"],"api_usage":{"this_month_api_calls":7336,"remaining_api_calls":992664}}
                                                                                                                                                                                                                    
                                                                                                    

URL - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/972/domain+and+url+classification+api/806/url?url=http://zylalabs.com' --header 'Authorization: Bearer YOUR_API_KEY' 


    

This endpoint works similarly to the Domain endpoint. 

Just pass the email domain that you want to retrieve information from. You will be able to categorize your Emails database and recognize if there is an organization that could be a target of a special offer or maybe a possible partnership, or just to recognize the business categories that conform to your emails database. 

Let's take a look at the output consulting an Amazon domain: 

http://zylalabs.com/api/12/klazify/49/[email protected]

JSON output:

{
  "domain": {
    "categories": [
      {
        "confidence": 0.77,
        "name": "/Business & Industrial"
      },
      {
        "confidence": 0.5,
        "name": "/News",
        "IAB12": "News"
      }
    ],
    "logo_url": "https://klazify.s3.amazonaws.com/211822026716109864126005b3ac209d70.36239145.png",
    "social_media": null,
    "updated_at": "2022-04-28T18:12:00.000000Z"
  },
  "success": true,
  "objects": {
    "company": {
      "name": "Amazon",
      "city": "Seattle",
      "stateCode": "WA",
      "countryCode": "US",
      "employeesRange": "100K+",
      "revenue": 386064000000,
      "raised": null,
      "tags": [
        "E-commerce",
        "Internet",
        "E-Commerce & Marketplaces",
        "Technology",
        "B2C"
      ]


                                                                            
POST https://zylalabs.com/api/972/domain+and+url+classification+api/807/email
                                                                            
                                                                        

Email - Endpoint Features

Object Description
url [Required] Pass the email that you want to retrieve the information from the domain.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"domain":{"categories":[{"confidence":0.98,"name":"\/Internet & Telecom\/Email & Messaging"}],"social_media":null,"logo_url":"https:\/\/klazify.s3.amazonaws.com\/449687977162513543060dd9946c0d955.88858599.png","updated_at":"2022-12-26T15:25:20.000000Z"},"success":true,"objects":{"company":{"name":null,"city":null,"stateCode":null,"countryCode":null,"employeesRange":null,"revenue":null,"raised":null,"tags":null,"tech":null}},"domain_registration_data":{"domain_age_date":"1995-08-13","domain_age_days_ago":"9929","domain_expiration_date":"2023-08-12","domain_expiration_days_left":"296"},"similar_domains":["mail.google.com","mail.yahoo.com,","mail.live.com","hotmail.com","inbox.com","emailaddresses.com","gawab.com","fastmail.fm","hotpop.com","mail2world.com"],"api_usage":{"this_month_api_calls":1013,"remaining_api_calls":998987}}
                                                                                                                                                                                                                    
                                                                                                    

Email - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/972/domain+and+url+classification+api/807/email?url=http://gmail.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 Domain and URL Classification API REST API, simply include your bearer token in the Authorization header.
Headers
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
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

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 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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). 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 paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

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.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, look at the β€˜X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
178ms

Category:


Related APIs