Site Traffic API

This API will allow you to check where the traffic of a site comes from, and the sources and location of this traffic. Check it out!

About the API:

With Site Traffic API you will be able to consult from where the site receives its traffic. It means that you can check where are located the visitors (per country), how many monthly visits they receive, and traffic sources (direct, social media, emails, etc).

 

 

What your API receives and what your API provides (input/output)?

Only pass the URL or domain you want to consult. And you will be given traffic divided per country, monthly visits, engagement metrics such as average visit duration, bounce rate, pages per visit, and traffic sources. They are receiving their users from web searches? Do they receive the most traffic through paid advertising? This API will let you know that. 

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. 

What are the most common uses cases of this API?

This API will allow you to order your database by the conditions you decide. Do you want to know which are the URLs that receive the most traffic? Or do you want to know the pages that have the highest bounce rate? What are the URLs that make your users stay longer? Also, you can use this API to measure the performance of your own page. You can see the behavior of users and make decisions based on the metrics received.

Retrieve Search Engines Rankings and Page's net worth as well. 

Are there any limitations with your plans?

The only limitation is the number of API calls you can make per month. And, also, you can only make 1 API call per second. Besides that, all our subscription plans work the same. 

API Documentation

Endpoints


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 https://zylalabs.com/api/29/site+traffic+api/93/traffic+source+and+overview
                                                                            
                                                                        

Traffic Source and Overview - Endpoint Features

Object Description
domain [Required] Pass the domain or URL that you want to check information from.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Version":1,"SiteName":"onechop.store","Description":null,"TopCountryShares":[],"Title":null,"Engagments":{"BounceRate":"0","Month":"9","Year":"2024","PagePerVisit":"0","Visits":"0","TimeOnSite":"0"},"EstimatedMonthlyVisits":{"2024-07-01":0,"2024-08-01":0,"2024-09-01":0},"GlobalRank":{"Rank":null},"CountryRank":{"Country":null,"CountryCode":null,"Rank":null},"CategoryRank":{"Rank":null,"Category":null},"GlobalCategoryRank":{"Rank":null,"Category":null},"IsSmall":true,"Policy":0,"TrafficSources":{"Social":0,"Paid Referrals":0,"Mail":0,"Referrals":0,"Search":0,"Direct":0},"Category":"","LargeScreenshot":"https://site-images.similarcdn.com/image?url=onechop.store&t=1&s=1&h=0a525151cbdbba0d9a6c8995130f69b499a67da71ef3245e93d4322934a9c4bc","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","UrlCode":"monaco","Name":"Monaco"},{"Code":"MN","UrlCode":"mongolia","Name":"Mongolia"},{"Code":"ME","UrlCode":"montenegro","Name":"Montenegro"},{"Code":"MS","UrlCode":"montserrat","Name":"Montserrat"},{"Code":"MA","UrlCode":"morocco","Name":"Morocco"},{"Code":"MZ","UrlCode":"mozambique","Name":"Mozambique"},{"Code":"MM","UrlCode":"myanmar","Name":"Myanmar"},{"Code":"NA","UrlCode":"namibia","Name":"Namibia"},{"Code":"NR","UrlCode":"nauru","Name":"Nauru"},{"Code":"NP","UrlCode":"nepal","Name":"Nepal"},{"Code":"NL","UrlCode":"netherlands","Name":"Netherlands"},{"Code":"AN","UrlCode":"netherlands-antilles","Name":"Netherlands Antilles"},{"Code":"NC","UrlCode":"new-caledonia","Name":"New Caledonia"},{"Code":"NZ","UrlCode":"new-zealand","Name":"New Zeala...
                                                                                                                                                                                                                    
                                                                                                    

Traffic Source and Overview - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/29/site+traffic+api/93/traffic+source+and+overview?domain=nytimes.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. 



                                                                            
GET https://zylalabs.com/api/29/site+traffic+api/1372/countries+list
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"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","intermediate-...
                                                                                                                                                                                                                    
                                                                                                    

Countries List - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/29/site+traffic+api/1372/countries+list' --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 Site Traffic 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

The Site Traffic API is a service that provides information about the traffic sources and location of a website. It allows you to check the country-wise distribution of visitors, monthly visit counts, engagement metrics, and traffic sources such as direct, social media, emails, and more.

The API only requires the URL or domain you want to query. By passing this information, you can retrieve detailed insights into the site's traffic.

The API provides a range of information, including traffic divided by country, monthly visit counts, and engagement metrics like average visit duration, bounce rate, and pages per visit. It also offers information about the traffic sources.

Yes, the Site Traffic API provides information about the location of website visitors. You can obtain data on the country-wise distribution of the site's traffic to gain insights into your audience's geographic reach.

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
752ms

Category:


Related APIs