Domain and URL Classification API

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.

API description

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":996,"remaining_api_calls":999004}}
                                                                                                                                                                                                                    
                                                                                                    

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.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":997,"remaining_api_calls":999003}}
                                                                                                                                                                                                                    
                                                                                                    

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":998,"remaining_api_calls":999002}}
                                                                                                                                                                                                                    
                                                                                                    

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
  • 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
100%
 Response Time
178ms

Category:


Tags:


Related APIs