Introducing our Website Traffic Sources API, a robust analytical engine designed to decode the intricacies of online traffic. This comprehensive tool empowers businesses with detailed insights into the origins of their website visitors, shedding light on the most impactful sources driving online engagement. Whether it’s organic searches, social media referrals, paid campaigns, or direct visits, our API meticulously categorizes and analyzes incoming traffic, providing businesses with a clear roadmap to optimize their digital presence.
With real-time data and historical trends, businesses can assess the effectiveness of their marketing campaigns, understand customer behavior, and fine-tune their strategies for maximum impact. Developers can seamlessly integrate this API, enabling dynamic dashboards, detailed reports, and actionable analytics for stakeholders.
Unlock a world of possibilities by leveraging our Website Traffic Sources API. Enhance user experiences, improve conversion rates, and boost ROI by tailoring your online efforts to align with the traffic sources that truly matter. Whether you're a digital marketer striving for data-driven decisions or a business owner seeking to enhance online visibility, our API equips you with the tools to thrive in the competitive digital landscape. Stay ahead, understand your audience, and elevate your online success with our Website Traffic Sources API.
Pass the domain of your preference and receive metric insights of traffic, sources, countries, engagement metrics, and more.
Marketing Campaign Optimization: Marketers can utilize the API to identify the most effective traffic sources for their campaigns. By analyzing which sources bring in the most engaged visitors, marketers can optimize their ad spend, focusing on platforms or channels that generate higher conversion rates and better returns on investment.
Content Strategy Enhancement: Content creators and website managers can use the API to understand where their audience is coming from. By analyzing traffic sources, they can tailor their content strategy. For example, if social media platforms are major sources, they can create content that resonates with social media users, enhancing engagement and sharing potential.
User Experience Improvement: Web developers and UX designers can integrate the API to analyze traffic sources. By understanding where users are coming from, they can tailor the website's layout, content, and user journey to match the expectations of visitors from specific sources. This customization enhances user experience, encouraging longer stays and higher interaction rates.
E-commerce Conversion Optimization: E-commerce platforms can leverage the API to track traffic sources leading to successful purchases. By analyzing these sources, businesses can focus their marketing efforts on platforms generating high-quality leads and conversions. Additionally, they can personalize product recommendations and offers based on the user's source of origin, enhancing the chances of conversion.
Competitor Analysis and Benchmarking: Market researchers and analysts can use the API to study competitors' traffic sources. By understanding where competitors are receiving their traffic, businesses can identify potential opportunities and areas for improvement. This analysis aids in benchmarking strategies, allowing businesses to compare their traffic sources with industry leaders and adapt their approaches accordingly.
Besides the number of API calls available for the plan, there are no other limitations.
Pass the URL that you want to check the traffic metrics.
Receive traffic status per country (top 5 countries), source, and also engagement information.
Important: Do not use HTTP or HTTPS in your requests. Also, do not use www. before the domain. Only pass the domain, for example, "amazon.com", "google.com", etc. Also, subdomains are not supported. Only root domains.
Get Traffic - Endpoint Features
| Object | Description |
|---|---|
domain |
[Required] Domain without HTTPS or HTTP protocol. |
{"Version":1,"SiteName":"twitter.com","Description":"from breaking news and entertainment to sports and politics, get the full story with all the live commentary.","TopCountryShares":[{"Country":840,"CountryCode":"US","Value":0.29936933694603146},{"Country":392,"CountryCode":"JP","Value":0.14194787620780003},{"Country":826,"CountryCode":"GB","Value":0.04420709821252294},{"Country":76,"CountryCode":"BR","Value":0.04019945265483508},{"Country":124,"CountryCode":"CA","Value":0.03654849137427167}],"Title":"x. it’s what’s happening / x","Engagments":{"BounceRate":"0.5246518066991832","Month":"11","Year":"2024","PagePerVisit":"5.963836644350409","Visits":"586573515","TimeOnSite":"298.90200427426566"},"EstimatedMonthlyVisits":{"2024-09-01":706185991,"2024-10-01":655781056,"2024-11-01":586573515},"GlobalRank":{"Rank":50},"CountryRank":{"Country":840,"CountryCode":"US","Rank":54},"CategoryRank":{"Rank":"9","Category":"Computers_Electronics_and_Technology/Social_Networks_and_Online_Communities"},"GlobalCategoryRank":null,"IsSmall":false,"Policy":0,"TrafficSources":{"Social":0.04557893520696814,"Paid Referrals":0.00036401101994635156,"Mail":0.0008231308161170628,"Referrals":0.11457681324664497,"Search":0.14318891761829364,"Direct":0.6954681920684033},"Category":"computers_electronics_and_technology/social_networks_and_online_communities","LargeScreenshot":"https://site-images.similarcdn.com/image?url=twitter.com&t=1&s=1&h=05438debe431144d9c727828570d1754a25bd9286bc14f3aa65a4f05b9057e25","IsDataFromGa":false,"Countries":[{"Code":"AF","UrlCode":"afghanistan","Name":"Afghanistan"},{"Code":"AX","UrlCode":"land-islands","Name":"Åland Islands"},{"Code":"AL","UrlCode":"albania","Name":"Albania"},{"Code":"DZ","UrlCode":"algeria","Name":"Algeria"},{"Code":"AS","UrlCode":"american-samoa","Name":"American Samoa"},{"Code":"AD","UrlCode":"andorra","Name":"Andorra"},{"Code":"AO","UrlCode":"angola","Name":"Angola"},{"Code":"AI","UrlCode":"anguilla","Name":"Anguilla"},{"Code":"AQ","UrlCode":"antarctica","Name":"Antarctica"},{"Code":"AG","UrlCode":"antigua-and-barbuda","Name":"Antigua and Barbuda"},{"Code":"AR","UrlCode":"argentina","Name":"Argentina"},{"Code":"AM","UrlCode":"armenia","Name":"Armenia"},{"Code":"AW","UrlCode":"aruba","Name":"Aruba"},{"Code":"AU","UrlCode":"australia","Name":"Australia"},{"Code":"AT","UrlCode":"austria","Name":"Austria"},{"Code":"AZ","UrlCode":"azerbaijan","Name":"Azerbaijan"},{"Code":"BS","UrlCode":"bahamas","Name":"Bahamas"},{"Code":"BH","UrlCode":"bahrain","Name":"Bahrain"},{"Code":"BD","UrlCode":"bangladesh","Name":"Bangladesh"},{"Code":"BB","UrlCode":"barbados","Name":"Barbados"},{"Code":"BY","UrlCode":"belarus","Name":"Belarus"},{"Code":"BE","UrlCode":"belgium","Name":"Belgium"},{"Code":"BZ","UrlCode":"belize","Name":"Belize"},{"Code":"BJ","UrlCode":"benin","Name":"Benin"},{"Code":"BM","UrlCode":"bermuda","Name":"Bermuda"},{"Code":"BT","UrlCode":"bhutan","Name":"Bhutan"},{"Code":"BO","UrlCode":"bolivia-plurinational-state-of","Name":"Bolivia"},{"Code":"BQ","UrlCode":"bonaire-sint-eustatius-and-saba","Name":"Bonaire, Sint Eustatius and Saba"},{"Code":"BA","UrlCode":"bosnia-and-herzegovina","Name":"Bosnia and Herzegovina"},{"Code":"BW","UrlCode":"botswana","Name":"Botswana"},{"Code":"BV","UrlCode":"bouvet-island","Name":"Bouvet Island"},{"Code":"BR","UrlCode":"brazil","Name":"Brazil"},{"Code":"IO","UrlCode":"british-indian-ocean-territory","Name":"British Indian Ocean Territory"},{"Code":"BN","UrlCode":"brunei-darussalam","Name":"Brunei Darussalam"},{"Code":"BG","UrlCode":"bulgaria","Name":"Bulgaria"},{"Code":"BF","UrlCode":"burkina-faso","Name":"Burkina Faso"},{"Code":"BI","UrlCode":"burundi","Name":"Burundi"},{"Code":"CV","UrlCode":"cabo-verde","Name":"Cabo Verde"},{"Code":"KH","UrlCode":"cambodia","Name":"Cambodia"},{"Code":"CM","UrlCode":"cameroon","Name":"Cameroon"},{"Code":"CA","UrlCode":"canada","Name":"Canada"},{"Code":"KY","UrlCode":"cayman-islands","Name":"Cayman Islands"},{"Code":"CF","UrlCode":"central-african-republic","Name":"Central African Republic"},{"Code":"TD","UrlCode":"chad","Name":"Chad"},{"Code":"CL","UrlCode":"chile","Name":"Chile"},{"Code":"CN","UrlCode":"china","Name":"China"},{"Code":"CX","UrlCode":"christmas-island","Name":"Christmas Island"},{"Code":"CC","UrlCode":"cocos-keeling-islands","Name":"Cocos (Keeling) Islands"},{"Code":"CO","UrlCode":"colombia","Name":"Colombia"},{"Code":"KM","UrlCode":"comoros","Name":"Comoros"},{"Code":"CG","UrlCode":"congo","Name":"Congo"},{"Code":"CD","UrlCode":"congo-the-democratic-republic-of-the","Name":"Congo, the Democratic Republic of the"},{"Code":"CK","UrlCode":"cook-islands","Name":"Cook Islands"},{"Code":"CR","UrlCode":"costa-rica","Name":"Costa Rica"},{"Code":"CI","UrlCode":"cte-divoire","Name":"Côte d'Ivoire"},{"Code":"HR","UrlCode":"croatia","Name":"Croatia"},{"Code":"CU","UrlCode":"cuba","Name":"Cuba"},{"Code":"CW","UrlCode":"curaao","Name":"Curaçao"},{"Code":"CY","UrlCode":"cyprus","Name":"Cyprus"},{"Code":"CZ","UrlCode":"czech-republic","Name":"Czech Republic"},{"Code":"DK","UrlCode":"denmark","Name":"Denmark"},{"Code":"DJ","UrlCode":"djibouti","Name":"Djibouti"},{"Code":"DM","UrlCode":"dominica","Name":"Dominica"},{"Code":"DO","UrlCode":"dominican-republic","Name":"Dominican Republic"},{"Code":"EC","UrlCode":"ecuador","Name":"Ecuador"},{"Code":"EG","UrlCode":"egypt","Name":"Egypt"},{"Code":"SV","UrlCode":"el-salvador","Name":"El Salvador"},{"Code":"GQ","UrlCode":"equatorial-guinea","Name":"Equatorial Guinea"},{"Code":"ER","UrlCode":"eritrea","Name":"Eritrea"},{"Code":"EE","UrlCode":"estonia","Name":"Estonia"},{"Code":"ET","UrlCode":"ethiopia","Name":"Ethiopia"},{"Code":"FK","UrlCode":"falkland-islands-malvinas","Name":"Falkland Islands (Malvinas)"},{"Code":"FO","UrlCode":"faroe-islands","Name":"Faroe Islands"},{"Code":"FJ","UrlCode":"fiji","Name":"Fiji"},{"Code":"FI","UrlCode":"finland","Name":"Finland"},{"Code":"FR","UrlCode":"france","Name":"France"},{"Code":"GF","UrlCode":"french-guiana","Name":"French Guiana"},{"Code":"PF","UrlCode":"french-polynesia","Name":"French Polynesia"},{"Code":"TF","UrlCode":"french-southern-territories","Name":"French Southern Territories"},{"Code":"GA","UrlCode":"gabon","Name":"Gabon"},{"Code":"GM","UrlCode":"gambia","Name":"Gambia"},{"Code":"GE","UrlCode":"georgia","Name":"Georgia"},{"Code":"DE","UrlCode":"germany","Name":"Germany"},{"Code":"GH","UrlCode":"ghana","Name":"Ghana"},{"Code":"GI","UrlCode":"gibraltar","Name":"Gibraltar"},{"Code":"GR","UrlCode":"greece","Name":"Greece"},{"Code":"GL","UrlCode":"greenland","Name":"Greenland"},{"Code":"GD","UrlCode":"grenada","Name":"Grenada"},{"Code":"GP","UrlCode":"guadeloupe","Name":"Guadeloupe"},{"Code":"GU","UrlCode":"guam","Name":"Guam"},{"Code":"GT","UrlCode":"guatemala","Name":"Guatemala"},{"Code":"GG","UrlCode":"guernsey","Name":"Guernsey"},{"Code":"GN","UrlCode":"guinea","Name":"Guinea"},{"Code":"GW","UrlCode":"guinea-bissau","Name":"Guinea-Bissau"},{"Code":"GY","UrlCode":"guyana","Name":"Guyana"},{"Code":"HT","UrlCode":"haiti","Name":"Haiti"},{"Code":"HM","UrlCode":"heard-island-and-mcdonald-islands","Name":"Heard Island and McDonald Islands"},{"Code":"VA","UrlCode":"holy-see-vatican-city-state","Name":"Holy See (Vatican City State)"},{"Code":"HN","UrlCode":"honduras","Name":"Honduras"},{"Code":"HK","UrlCode":"hong-kong","Name":"Hong Kong"},{"Code":"HU","UrlCode":"hungary","Name":"Hungary"},{"Code":"IS","UrlCode":"iceland","Name":"Iceland"},{"Code":"IN","UrlCode":"india","Name":"India"},{"Code":"ID","UrlCode":"indonesia","Name":"Indonesia"},{"Code":"IR","UrlCode":"iran-islamic-republic-of","Name":"Iran"},{"Code":"IQ","UrlCode":"iraq","Name":"Iraq"},{"Code":"IE","UrlCode":"ireland","Name":"Ireland"},{"Code":"IM","UrlCode":"isle-of-man","Name":"Isle of Man"},{"Code":"IL","UrlCode":"israel","Name":"Israel"},{"Code":"IT","UrlCode":"italy","Name":"Italy"},{"Code":"JM","UrlCode":"jamaica","Name":"Jamaica"},{"Code":"JP","UrlCode":"japan","Name":"Japan"},{"Code":"JE","UrlCode":"jersey","Name":"Jersey"},{"Code":"JO","UrlCode":"jordan","Name":"Jordan"},{"Code":"KZ","UrlCode":"kazakhstan","Name":"Kazakhstan"},{"Code":"KE","UrlCode":"kenya","Name":"Kenya"},{"Code":"KI","UrlCode":"kiribati","Name":"Kiribati"},{"Code":"KP","UrlCode":"korea-democratic-peoples-republic-of","Name":"Korea, Democratic People's Republic of"},{"Code":"KR","UrlCode":"korea-republic-of","Name":"Korea, Republic of"},{"Code":"KW","UrlCode":"kuwait","Name":"Kuwait"},{"Code":"KG","UrlCode":"kyrgyzstan","Name":"Kyrgyzstan"},{"Code":"LA","UrlCode":"lao-peoples-democratic-republic","Name":"Lao People's Democratic Republic"},{"Code":"LV","UrlCode":"latvia","Name":"Latvia"},{"Code":"LB","UrlCode":"lebanon","Name":"Lebanon"},{"Code":"LS","UrlCode":"lesotho","Name":"Lesotho"},{"Code":"LR","UrlCode":"liberia","Name":"Liberia"},{"Code":"LY","UrlCode":"libya","Name":"Libya"},{"Code":"LI","UrlCode":"liechtenstein","Name":"Liechtenstein"},{"Code":"LT","UrlCode":"lithuania","Name":"Lithuania"},{"Code":"LU","UrlCode":"luxembourg","Name":"Luxembourg"},{"Code":"MO","UrlCode":"macao","Name":"Macao"},{"Code":"MK","UrlCode":"macedonia-the-former-yugoslav-republic-of","Name":"Macedonia (FYROM)"},{"Code":"MG","UrlCode":"madagascar","Name":"Madagascar"},{"Code":"MW","UrlCode":"malawi","Name":"Malawi"},{"Code":"MY","UrlCode":"malaysia","Name":"Malaysia"},{"Code":"MV","UrlCode":"maldives","Name":"Maldives"},{"Code":"ML","UrlCode":"mali","Name":"Mali"},{"Code":"MT","UrlCode":"malta","Name":"Malta"},{"Code":"MH","UrlCode":"marshall-islands","Name":"Marshall Islands"},{"Code":"MQ","UrlCode":"martinique","Name":"Martinique"},{"Code":"MR","UrlCode":"mauritania","Name":"Mauritania"},{"Code":"MU","UrlCode":"mauritius","Name":"Mauritius"},{"Code":"YT","UrlCode":"mayotte","Name":"Mayotte"},{"Code":"MX","UrlCode":"mexico","Name":"Mexico"},{"Code":"FM","UrlCode":"micronesia-federated-states-of","Name":"Micronesia, Federated States of"},{"Code":"MD","UrlCode":"moldova-republic-of","Name":"Moldova"},{"Code":"MC"}],"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/2836/website+traffic+sources+api/2952/get+traffic?domain=google.com' --header 'Authorization: Bearer YOUR_API_KEY'
Receive a list of all the countries supported and their code.
The code will be delivered in the Traffic Analysis.
[{"name":"Afghanistan","alpha-2":"AF","alpha-3":"AFG","country-code":"004","iso_3166-2":"ISO 3166-2:AF","region":"Asia","sub-region":"Southern Asia","intermediate-region":"","region-code":"142","sub-region-code":"034","intermediate-region-code":""},{"name":"Åland Islands","alpha-2":"AX","alpha-3":"ALA","country-code":"248","iso_3166-2":"ISO 3166-2:AX","region":"Europe","sub-region":"Northern Europe","intermediate-region":"","region-code":"150","sub-region-code":"154","intermediate-region-code":""},{"name":"Albania","alpha-2":"AL","alpha-3":"ALB","country-code":"008","iso_3166-2":"ISO 3166-2:AL","region":"Europe","sub-region":"Southern Europe","intermediate-region":"","region-code":"150","sub-region-code":"039","intermediate-region-code":""},{"name":"Algeria","alpha-2":"DZ","alpha-3":"DZA","country-code":"012","iso_3166-2":"ISO 3166-2:DZ","region":"Africa","sub-region":"Northern Africa","intermediate-region":"","region-code":"002","sub-region-code":"015","intermediate-region-code":""},{"name":"American Samoa","alpha-2":"AS","alpha-3":"ASM","country-code":"016","iso_3166-2":"ISO 3166-2:AS","region":"Oceania","sub-region":"Polynesia","intermediate-region":"","region-code":"009","sub-region-code":"061","intermediate-region-code":""},{"name":"Andorra","alpha-2":"AD","alpha-3":"AND","country-code":"020","iso_3166-2":"ISO 3166-2:AD","region":"Europe","sub-region":"Southern Europe","intermediate-region":"","region-code":"150","sub-region-code":"039","intermediate-region-code":""},{"name":"Angola","alpha-2":"AO","alpha-3":"AGO","country-code":"024","iso_3166-2":"ISO 3166-2:AO","region":"Africa","sub-region":"Sub-Saharan Africa","intermediate-region":"Middle Africa","region-code":"002","sub-region-code":"202","intermediate-region-code":"017"},{"name":"Anguilla","alpha-2":"AI","alpha-3":"AIA","country-code":"660","iso_3166-2":"ISO 3166-2:AI","region":"Americas","sub-region":"Latin America and the Caribbean","intermediate-region":"Caribbean","region-code":"019","sub-region-code":"419","intermediate-region-code":"029"},{"name":"Antarctica","alpha-2":"AQ","alpha-3":"ATA","country-code":"010","iso_3166-2":"ISO 3166-2:AQ","region":"","sub-region":"","intermediate-region":"","region-code":"","sub-region-code":"","intermediate-region-code":""},{"name":"Antigua and Barbuda","alpha-2":"AG","alpha-3":"ATG","country-code":"028","iso_3166-2":"ISO 3166-2:AG","region":"Americas","sub-region":"Latin America and the Caribbean","intermediate-region":"Caribbean","region-code":"019","sub-region-code":"419","intermediate-region-code":"029"},{"name":"Argentina","alpha-2":"AR","alpha-3":"ARG","country-code":"032","iso_3166-2":"ISO 3166-2:AR","region":"Americas","sub-region":"Latin America and the Caribbean","intermediate-region":"South America","region-code":"019","sub-region-code":"419","intermediate-region-code":"005"},{"name":"Armenia","alpha-2":"AM","alpha-3":"ARM","country-code":"051","iso_3166-2":"ISO 3166-2:AM","region":"Asia","sub-region":"Western Asia","intermediate-region":"","region-code":"142","sub-region-code":"145","intermediate-region-code":""},{"name":"Aruba","alpha-2":"AW","alpha-3":"ABW","country-code":"533","iso_3166-2":"ISO 3166-2:AW","region":"Americas","sub-region":"Latin America and the Caribbean","intermediate-region":"Caribbean","region-code":"019","sub-region-code":"419","intermediate-region-code":"029"},{"name":"Australia","alpha-2":"AU","alpha-3":"AUS","country-code":"036","iso_3166-2":"ISO 3166-2:AU","region":"Oceania","sub-region":"Australia and New Zealand","intermediate-region":"","region-code":"009","sub-region-code":"053","intermediate-region-code":""},{"name":"Austria","alpha-2":"AT","alpha-3":"AUT","country-code":"040","iso_3166-2":"ISO 3166-2:AT","region":"Europe","sub-region":"Western Europe","intermediate-region":"","region-code":"150","sub-region-code":"155","intermediate-region-code":""},{"name":"Azerbaijan","alpha-2":"AZ","alpha-3":"AZE","country-code":"031","iso_3166-2":"ISO 3166-2:AZ","region":"Asia","sub-region":"Western Asia","intermediate-region":"","region-code":"142","sub-region-code":"145","intermediate-region-code":""},{"name":"Bahamas","alpha-2":"BS","alpha-3":"BHS","country-code":"044","iso_3166-2":"ISO 3166-2:BS","region":"Americas","sub-region":"Latin America and the Caribbean","intermediate-region":"Caribbean","region-code":"019","sub-region-code":"419","intermediate-region-code":"029"},{"name":"Bahrain","alpha-2":"BH","alpha-3":"BHR","country-code":"048","iso_3166-2":"ISO 3166-2:BH","region":"Asia","sub-region":"Western Asia","intermediate-region":"","region-code":"142","sub-region-code":"145","intermediate-region-code":""},{"name":"Bangladesh","alpha-2":"BD","alpha-3":"BGD","country-code":"050","iso_3166-2":"ISO 3166-2:BD","region":"Asia","sub-region":"Southern Asia","intermediate-region":"","region-code":"142","sub-region-code":"034","intermediate-region-code":""},{"name":"Barbados","alpha-2":"BB","alpha-3":"BRB","country-code":"052","iso_3166-2":"ISO 3166-2:BB","region":"Americas","sub-region":"Latin America and the Caribbean","intermediate-region":"Caribbean","region-code":"019","sub-region-code":"419","intermediate-region-code":"029"},{"name":"Belarus","alpha-2":"BY","alpha-3":"BLR","country-code":"112","iso_3166-2":"ISO 3166-2:BY","region":"Europe","sub-region":"Eastern Europe","intermediate-region":"","region-code":"150","sub-region-code":"151","intermediate-region-code":""},{"name":"Belgium","alpha-2":"BE","alpha-3":"BEL","country-code":"056","iso_3166-2":"ISO 3166-2:BE","region":"Europe","sub-region":"Western Europe","intermediate-region":"","region-code":"150","sub-region-code":"155","intermediate-region-code":""},{"name":"Belize","alpha-2":"BZ","alpha-3":"BLZ","country-code":"084","iso_3166-2":"ISO 3166-2:BZ","region":"Americas","sub-region":"Latin America and the Caribbean","intermediate-region":"Central America","region-code":"019","sub-region-code":"419","intermediate-region-code":"013"},{"name":"Benin","alpha-2":"BJ","alpha-3":"BEN","country-code":"204","iso_3166-2":"ISO 3166-2:BJ","region":"Africa","sub-region":"Sub-Saharan Africa","intermediate-region":"Western Africa","region-code":"002","sub-region-code":"202","intermediate-region-code":"011"},{"name":"Bermuda","alpha-2":"BM","alpha-3":"BMU","country-code":"060","iso_3166-2":"ISO 3166-2:BM","region":"Americas","sub-region":"Northern America","intermediate-region":"","region-code":"019","sub-region-code":"021","intermediate-region-code":""},{"name":"Bhutan","alpha-2":"BT","alpha-3":"BTN","country-code":"064","iso_3166-2":"ISO 3166-2:BT","region":"Asia","sub-region":"Southern Asia","intermediate-region":"","region-code":"142","sub-region-code":"034","intermediate-region-code":""},{"name":"Bolivia (Plurinational State of)","alpha-2":"BO","alpha-3":"BOL","country-code":"068","iso_3166-2":"ISO 3166-2:BO","region":"Americas","sub-region":"Latin America and the Caribbean","intermediate-region":"South America","region-code":"019","sub-region-code":"419","intermediate-region-code":"005"},{"name":"Bonaire, Sint Eustatius and Saba","alpha-2":"BQ","alpha-3":"BES","country-code":"535","iso_3166-2":"ISO 3166-2:BQ","region":"Americas","sub-region":"Latin America and the Caribbean","intermediate-region":"Caribbean","region-code":"019","sub-region-code":"419","intermediate-region-code":"029"},{"name":"Bosnia and Herzegovina","alpha-2":"BA","alpha-3":"BIH","country-code":"070","iso_3166-2":"ISO 3166-2:BA","region":"Europe","sub-region":"Southern Europe","intermediate-region":"","region-code":"150","sub-region-code":"039","intermediate-region-code":""},{"name":"Botswana","alpha-2":"BW","alpha-3":"BWA","country-code":"072","iso_3166-2":"ISO 3166-2:BW","region":"Africa","sub-region":"Sub-Saharan Africa","intermediate-region":"Southern Africa","region-code":"002","sub-region-code":"202","intermediate-region-code":"018"},{"name":"Bouvet Island","alpha-2":"BV","alpha-3":"BVT","country-code":"074","iso_3166-2":"ISO 3166-2:BV","region":"Americas","sub-region":"Latin America and the Caribbean","intermediate-region":"South America","region-code":"019","sub-region-code":"419","intermediate-region-code":"005"},{"name":"Brazil","alpha-2":"BR","alpha-3":"BRA","country-code":"076","iso_3166-2":"ISO 3166-2:BR","region":"Americas","sub-region":"Latin America and the Caribbean","intermediate-region":"South America","region-code":"019","sub-region-code":"419","intermediate-region-code":"005"},{"name":"British Indian Ocean Territory","alpha-2":"IO","alpha-3":"IOT","country-code":"086","iso_3166-2":"ISO 3166-2:IO","region":"Africa","sub-region":"Sub-Saharan Africa","intermediate-region":"Eastern Africa","region-code":"002","sub-region-code":"202","intermediate-region-code":"014"},{"name":"Brunei Darussalam","alpha-2":"BN","alpha-3":"BRN","country-code":"096","iso_3166-2":"ISO 3166-2:BN","region":"Asia","sub-region":"South-eastern Asia","intermediate-region":"","region-code":"142","sub-region-code":"035","intermediate-region-code":""},{"name":"Bulgaria","alpha-2":"BG","alpha-3":"BGR","country-code":"100","iso_3166-2":"ISO 3166-2:BG","region":"Europe","sub-region":"Eastern Europe","intermediate-region":"","region-code":"150","sub-region-code":"151","intermediate-region-code":""},{"name":"Burkina Faso","alpha-2":"BF","alpha-3":"BFA","country-code":"854","iso_3166-2":"ISO 3166-2:BF","region":"Africa","sub-region":"Sub-Saharan Africa","intermediate-region":"Western Africa","region-code":"002","sub-region-code":"202","intermediate-region-code":"011"},{"name":"Burundi","alpha-2":"BI","alpha-3":"BDI","country-code":"108","iso_3166-2":"ISO 3166-2:BI","region":"Africa","sub-region":"Sub-Saharan Africa","intermediate-region":"Eastern Africa","region-code":"002","sub-region-code":"202","intermediate-region-code":"014"},{"name":"Cabo Verde","alpha-2":"CV","alpha-3":"CPV","country-code":"132","iso_3166-2":"ISO 3166-2:CV","region":"Africa","sub-region":"Sub-Saharan Africa","intermediate-region":"Western Africa","region-code":"002","sub-region-code":"202"},{"_note":"Response truncated for documentation purposes"}]
curl --location --request GET 'https://zylalabs.com/api/2836/website+traffic+sources+api/5013/countries+list' --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. Free Trial includes up to 50 requests.
The Website Traffic Sources API is a data analytics tool that provides detailed information about the sources of traffic to a website. It categorizes visitors based on channels such as organic search, social media, paid advertising, and direct visits, offering valuable insights into user behavior.
The API uses advanced algorithms to analyze incoming data and categorize traffic sources. It identifies patterns in referral URLs, search queries, and other parameters to determine whether the traffic is organic, social, paid, or direct, providing accurate source classification.
The API response includes a range of data parameters, such as source URL, medium (e.g., organic, referral), campaign details (for paid traffic), and user engagement metrics. These parameters provide comprehensive insights into each traffic source.
Yes, the API can differentiate between mobile and desktop traffic sources. It analyzes user agents and device information, allowing developers to segment traffic data based on the type of devices used to access the website.
Yes, there are request limits based on the subscription plan. Different plans offer varying levels of API access, including the number of requests allowed per day. Developers can review the API documentation for detailed information on rate limits applicable to their subscription.
The "Get Traffic" endpoint returns detailed traffic metrics for a specified domain, including traffic sources, top countries contributing to visits, engagement metrics like bounce rate and time on site, and estimated monthly visits. This data helps users understand where their traffic originates and how visitors interact with their site.
Key fields in the response include "TopCountryShares" (top countries by traffic), "Engagements" (bounce rate, page per visit, time on site), "EstimatedMonthlyVisits" (monthly visit estimates), and "GlobalRank" (overall site ranking). These fields provide insights into traffic distribution and user engagement.
The response data is structured in a JSON format, with nested objects for different metrics. For example, "TopCountryShares" is an array of country objects, while "Engagements" contains metrics like "BounceRate" and "TimeOnSite." This organization allows for easy parsing and analysis of traffic data.
The "Countries List" endpoint provides a comprehensive list of supported countries along with their codes, regions, and sub-regions. Each entry includes details like the country name, alpha-2 and alpha-3 codes, and ISO codes, which are useful for understanding traffic distribution by geography.
The "Get Traffic" endpoint accepts a single parameter: the domain name (without "http," "https," or "www"). Users must provide the root domain, such as "example.com," to retrieve traffic metrics. This parameter is essential for querying specific website data.
Users can analyze the returned data to identify high-performing traffic sources, assess user engagement, and make informed marketing decisions. For instance, if social media is a major traffic source, businesses can enhance their social media strategies to boost engagement and conversions.
The data is sourced from a combination of web analytics, user behavior tracking, and aggregated traffic data across various platforms. This multi-source approach enhances the accuracy and reliability of the insights provided by the API.
Data accuracy is maintained through regular updates and quality checks, including cross-referencing traffic data with multiple analytics sources. This ensures that the insights reflect current trends and user behavior, providing reliable information for decision-making.
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:
991ms
Service Level:
100%
Response Time:
323ms
Service Level:
100%
Response Time:
375ms
Service Level:
100%
Response Time:
947ms
Service Level:
100%
Response Time:
943ms
Service Level:
100%
Response Time:
627ms
Service Level:
100%
Response Time:
369ms
Service Level:
100%
Response Time:
323ms
Service Level:
100%
Response Time:
3,054ms
Service Level:
100%
Response Time:
238ms
Service Level:
100%
Response Time:
1,194ms
Service Level:
100%
Response Time:
7,340ms
Service Level:
100%
Response Time:
814ms
Service Level:
100%
Response Time:
778ms
Service Level:
100%
Response Time:
1,333ms
Service Level:
100%
Response Time:
1,116ms
Service Level:
100%
Response Time:
711ms
Service Level:
100%
Response Time:
618ms
Service Level:
99%
Response Time:
393ms
Service Level:
100%
Response Time:
609ms