Builders wishing to create purposes provided with information about particular person international locations and different worldwide information could also be all for these APIs discovered within the Nations class of ProgrammableWeb.
What’s a Nations API?
A Nations API, or Software Programming Interface, is an interface that connects builders to software program that includes information regarding international locations all over the world.
APIs within the Nations class might present information about demographics, geography, tradition, flags, airport codes, postal codes, capital cities, universities, pure historical past, forex and monetary markets, surroundings and any variety of regional options.
This text focuses on the 10 favourite Nations APIs of ProgrammableWeb readers.
1. REST Nations API
REST Nations APIMonitor this API supplies details about the world’s nations through REST calls. These calls enable customers to retrieve all out there international locations or to retrieve a given nation’s forex, capital metropolis, calling code, area, sub-region, ISO 639-1 language, title, or nation code.
2. Nutritics API
Nutritics APIMonitor this API helps the extraction and manipulation of vitamin and food-related information from the official nationwide databases of nations all over the world. It operates as a multilingual gateway portal to country-specific vitamin and dietetics information. The API is beneficial for creating analytical addons purposes for recipes, diets, and meal planning, along with customizing entry to educational analysis and collaboration sources.
Nutritics API supplies vitamin of merchandise from particular international locations. Picture: Nutritics
three. College Domains and Names Information Record API
The College Domains and Names Information Record APIMonitor this API from Hipo Labs retrieves JSON recordsdata with domains, names, and international locations of nationwide and worldwide universities.
four. Open AQ API
OpenAQ makes use of a mix of open information and open supply instruments in addition to a worldwide, grassroots neighborhood to struggle air inequality in numerous areas the world over. Use the Open AQ APIMonitor this API to construct apps that energy a wide range of air high quality measurement instruments. The API convey responses in JSON format.
5. Numbeo Value of Dwelling API
The Numbeo Value of Dwelling APIMonitor this API integrates dwelling situations comparisons between two cities or international locations. Strategies embrace cities, worth objects, forex alternate, resort costs, indices, crime, healthcare, air pollution, site visitors, and local weather.
6. GeoDataSource Neighbouring Nations API
The GeoDataSource Neighbouring Nations Internet ServiceMonitor this API permits customers to get the related land border international locations (the neighboring international locations) based mostly on the enter of nation code in ISO3166-2 format.
7. World Financial institution Nation API
The World Financial institution Nation APIMonitor this API returns nation information together with area, revenue degree, ISO codes, lending kind, capital metropolis, longitude, and latitude. Information is supplies in JSON or XML codecs.
eight. Graph Nations GraphQL API
The Graph Nations APIMonitor this API is a free GraphQL API to question country-related information like currencies, languages, flags, areas+subregions, bordering international locations, and distance to different international locations.
9. The Basetrip API
The Basetrip APIMonitor this API provides a wide range of journey data by nation together with forex data, electrical energy (sockets & plugs), ATM areas, credit score and debit playing cards data, driving information, dial codes, well being associated data, and emergency numbers. Moreover, Basetrip provides GeoJSON formatted information.
Add journey details about numerous international locations to apps through this API. Picture: The Basetrip
10. Tuxx EU Nation API
The Tuxx EU Nation APIMonitor this API checks whether or not a given nation is a rustic within the European Union. A rustic within the European Union is a rustic that belongs to the financial and political union of 28 member states that are primarily situated in Europe.
Head over to the Nations class for greater than 40 APIs, SDKs, and Supply Code Samples.