Global Geography API

The API provides concise country information, including geographic data for seamless integration into applications.

About the API:  

The Global Geography API is a versatile tool designed to provide comprehensive data on countries around the world. With an easy-to-use interface and seamless integration capabilities, this API allows users to access a wide range of country-related information for their applications without the burden of handling intricate details.

This API offers a plethora of data points covering various aspects of countries, providing users with a complete snapshot. The information available through the API includes data such as ISO Code, region, sub region and more. This information can be leveraged for applications that require a quick overview of a particular country's attributes, without the need to delve into complex details.

Users can use the Global Geography API to retrieve basic data about a country, such as its country code, region code and sub region code. This information can be useful for creating interfaces that allow users to explore countries at a glance, making it suitable for travel-related applications, educational platforms or even business directories that need to display relevant information about a country.

What sets the Global Geography API apart is its simplicity. Users can retrieve a wide range of data points with just a few API calls, eliminating the need for complex database management or data aggregation. This simplified approach saves development time and resources, allowing creators to focus on implementing unique features that leverage acquired country data.

In conclusion, the Global Geography API provides a simple solution for users who want to incorporate country-related data into their applications. By providing essential information about countries around the world. This API allows users to create rich user experiences without the complexity of handling large data sets. Its ease of use and versatility make it an ideal choice for a wide range of applications in a variety of industries.

 

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

It will receive parameters and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. Travel planning applications: integrate country information to help users explore destinations, learn about cultures and plan their trips effectively.

  2. Educational platforms: Provide students with quick country information for geography or social studies classes.

  3. Time zone converters: Develop tools that help users accurately schedule meetings or coordinate events in different time zones.

  4. Multilingual content applications: Adapt content based on the predominant languages in different countries, improving user engagement.

  5. News and weather applications: Display country-specific news and weather updates to provide users with region-specific information.

Are there any limitations to your plans?

Besides the number of API calls per month, there are no other limitations. 

API Documentation

Endpoints


To use this endpoint you must indicate the country iso code. 



                                                                            
GET https://zylalabs.com/api/2444/global+geography+api/2399/search+by+country
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"links":{"first":"/countries/GB/cities?format=json&language=en&page=1&per_page=100","last":"/countries/GB/cities?format=json&language=en&page=67&per_page=100","next":"/countries/GB/cities?format=json&language=en&page=2&per_page=100","previous":""},"page":1,"per_page":100,"total_pages":67,"total_cities":6673,"cities":[{"geonameid":2657880,"population":831,"name":"Abberton","latitude":51.83435,"longitude":0.91084,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657876,"population":0,"name":"Abbey Dore","latitude":51.96667,"longitude":-2.9,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":7302135,"population":13000,"name":"Abbey Wood","latitude":51.48688,"longitude":0.10747,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657870,"population":1351,"name":"Abbots Bromley","latitude":52.81705,"longitude":-1.87694,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657863,"population":10472,"name":"Abbots Langley","latitude":51.70573,"longitude":-0.41757,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657869,"population":481,"name":"Abbotsbury","latitude":50.66667,"longitude":-2.6,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657864,"population":1267,"name":"Abbotskerswell","latitude":50.50816,"longitude":-3.61342,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657862,"population":446,"name":"Abbotsley","latitude":52.19403,"longitude":-0.20664,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657859,"population":2112,"name":"Abbotts Ann","latitude":51.19016,"longitude":-1.53234,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657857,"population":0,"name":"Aber","latitude":53.23333,"longitude":-4.01667,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657850,"population":1422,"name":"Aberaeron","latitude":52.24247,"longitude":-4.25871,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657845,"population":5061,"name":"Abercanaid","latitude":51.72361,"longitude":-3.36611,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657844,"population":10118,"name":"Abercarn","latitude":51.64733,"longitude":-3.13476,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657839,"population":1250,"name":"Aberchirder","latitude":57.56012,"longitude":-2.62856,"country":{"code":"GB"},"division":{"code":"GB-SCT","geonameid":2638360}},{"geonameid":2657837,"population":5983,"name":"Abercynon","latitude":51.64548,"longitude":-3.32727,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657835,"population":31135,"name":"Aberdare","latitude":51.71438,"longitude":-3.44918,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657832,"population":198590,"name":"Aberdeen","latitude":57.14369,"longitude":-2.09814,"country":{"code":"GB"},"division":{"code":"GB-SCT","geonameid":2638360}},{"geonameid":2657829,"population":1650,"name":"Aberdour","latitude":56.05417,"longitude":-3.30058,"country":{"code":"GB"},"division":{"code":"GB-SCT","geonameid":2638360}},{"geonameid":2657825,"population":725,"name":"Aberdyfi","latitude":52.544,"longitude":-4.04606,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657821,"population":3547,"name":"Aberfan","latitude":51.68892,"longitude":-3.34178,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657820,"population":1960,"name":"Aberfeldy","latitude":56.62196,"longitude":-3.86693,"country":{"code":"GB"},"division":{"code":"GB-SCT","geonameid":2638360}},{"geonameid":2657819,"population":620,"name":"Aberffraw","latitude":53.19223,"longitude":-4.46543,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657817,"population":1503,"name":"Aberford","latitude":53.82604,"longitude":-1.34231,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657816,"population":750,"name":"Aberfoyle","latitude":56.17861,"longitude":-4.38419,"country":{"code":"GB"},"division":{"code":"GB-SCT","geonameid":2638360}},{"geonameid":2657815,"population":14651,"name":"Abergavenny","latitude":51.82098,"longitude":-3.01743,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657812,"population":17769,"name":"Abergele","latitude":53.28436,"longitude":-3.5822,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657808,"population":589,"name":"Abergwili","latitude":51.86593,"longitude":-4.26969,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657804,"population":10083,"name":"Aberkenfig","latitude":51.54,"longitude":-3.59556,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657803,"population":1180,"name":"Aberlady","latitude":56.00884,"longitude":-2.85851,"country":{"code":"GB"},"division":{"code":"GB-SCT","geonameid":2638360}},{"geonameid":2657795,"population":900,"name":"Abermule","latitude":52.54339,"longitude":-3.23723,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657793,"population":0,"name":"Abernant","latitude":51.88139,"longitude":-4.41556,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657792,"population":1470,"name":"Abernethy","latitude":56.33247,"longitude":-3.31226,"country":{"code":"GB"},"division":{"code":"GB-SCT","geonameid":2638360}},{"geonameid":2657789,"population":1648,"name":"Aberporth","latitude":52.13248,"longitude":-4.54173,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657788,"population":783,"name":"Abersoch","latitude":52.82437,"longitude":-4.50584,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657787,"population":0,"name":"Abersychan","latitude":51.72468,"longitude":-3.06348,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657784,"population":10946,"name":"Abertillery","latitude":51.72981,"longitude":-3.13432,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":3345315,"population":6504,"name":"Abertridwr","latitude":51.59583,"longitude":-3.26833,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657782,"population":18749,"name":"Aberystwyth","latitude":52.41548,"longitude":-4.08292,"country":{"code":"GB"},"division":{"code":"GB-WLS","geonameid":2634895}},{"geonameid":2657780,"population":38676,"name":"Abingdon","latitude":51.67109,"longitude":-1.28278,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":9409462,"population":257,"name":"Abinger Hammer","latitude":51.21602,"longitude":-0.43332,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657775,"population":2650,"name":"Aboyne","latitude":57.07546,"longitude":-2.78023,"country":{"code":"GB"},"division":{"code":"GB-SCT","geonameid":2638360}},{"geonameid":2657774,"population":10074,"name":"Abram","latitude":53.50855,"longitude":-2.59266,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":9072588,"population":1613,"name":"Abridge","latitude":51.6495,"longitude":0.12033,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657771,"population":280,"name":"Acaster Malbis","latitude":53.90056,"longitude":-1.1063,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657770,"population":35318,"name":"Accrington","latitude":53.75379,"longitude":-2.35863,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657749,"population":201,"name":"Acharacle","latitude":56.74449,"longitude":-5.79726,"country":{"code":"GB"},"division":{"code":"GB-SCT","geonameid":2638360}},{"geonameid":2657706,"population":0,"name":"Acklam","latitude":54.04745,"longitude":-0.8038,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":6947758,"population":282,"name":"Acklam Wold","latitude":54.0474,"longitude":-0.7865,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657705,"population":0,"name":"Acklington","latitude":55.3,"longitude":-1.63333,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657704,"population":2317,"name":"Acle","latitude":52.63681,"longitude":1.54757,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657700,"population":1106,"name":"Acomb","latitude":54.99229,"longitude":-2.11229,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657697,"population":53689,"name":"Acton","latitude":51.50901,"longitude":-0.2762,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657696,"population":1475,"name":"Acton","latitude":52.45,"longitude":-3.01667,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657695,"population":417,"name":"Acton Bridge","latitude":53.27343,"longitude":-2.60754,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657693,"population":544,"name":"Acton Burnell","latitude":52.61388,"longitude":-2.69468,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657689,"population":786,"name":"Acton Trussell","latitude":52.76083,"longitude":-2.09672,"country":{"code":"GB"},"division":{"code":"GB-ENG","geonameid":6269131}},{"geonameid":2657688,"population"...
                                                                                                                                                                                                                    
                                                                                                    

Search by country - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2444/global+geography+api/2399/search+by+country&country_code=Required' --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 Global Geography 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
  • 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

To use this API the user must indicate the number of results to receive, a pagination and indicate whether the country names appear in ascending or descending order.

There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.

Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.

Global Geography API provides users with geographic information about countries around the world.

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, refer to the β€˜X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ response 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
89%
 Response Time
979ms

Category:


Related APIs