The World Bank Development Indicators API is a powerful resource for developers looking for economic and social data from around the world. The API provides access to a wide range of data from over 200 countries and 18 regional and income group classifications, covering a variety of development indicators such as GDP, population, inflation, and more. The data is sourced from the World Bank, a leading provider of global development data and analysis.
This API allows developers to retrieve data on a wide range of indicators, making it a valuable tool for a variety of applications such as data visualization, economic analysis, and research. The API supports multiple years of data, so developers can retrieve historical data as well as the latest figures. The data is returned in JSON format, making it easy to integrate into a wide variety of applications and systems. The API also supports filtering, allowing developers to retrieve only the data they need, which can help to optimize performance and reduce data transfer costs.
With its extensive coverage of global development indicators and flexible querying capabilities, the World Bank Development Indicators API is an essential tool for any developer working with economic and social data. The API is also available in multiple languages.
Data visualization: The API can be used to retrieve data on a wide range of development indicators, making it a valuable tool for creating interactive visualizations of economic and social trends.
Economic analysis: The API can be used to retrieve historical data on GDP, inflation, and other economic indicators, making it a valuable tool for economic research and analysis.
Social research: The API can be used to retrieve data on population, education, and other social indicators, making it a valuable tool for social research and analysis.
Government and policy: The API can be used to retrieve data on various indicators relevant to government and policy-making, such as GDP and inflation.
Business and finance: The API can be used to retrieve data on various indicators relevant to business and finance, such as GDP and inflation.
International development: The API can be used to retrieve data on various indicators relevant to international development, such as GDP and poverty levels.
Besides API call limitations per month, there are no other limitations
The "Get Indicators List" endpoint of the World Bank Development Indicators API allows developers to retrieve a list of all the available indicators and their codes that can be used to query data from the API. This endpoint returns information such as the indicator name, source, and description, allowing developers to understand the data they are retrieving and to identify the appropriate indicator code for a specific data query.
Get Indicators List - Endpoint Features
| Object | Description |
|---|---|
q |
[Required] Indicator to retrieve |
{"total":85,"page":1,"pageSize":50,"items":[{"indicatorCode":"BG.GSR.NFSV.GD.ZS","indicatorName":"Trade in services (% of GDP)"},{"indicatorCode":"BM.KLT.DINV.WD.GD.ZS","indicatorName":"Foreign direct investment, net outflows (% of GDP)"},{"indicatorCode":"BN.CAB.XOKA.GD.ZS","indicatorName":"Current account balance (% of GDP)"},{"indicatorCode":"BX.KLT.DINV.WD.GD.ZS","indicatorName":"Foreign direct investment, net inflows (% of GDP)"},{"indicatorCode":"BX.TRF.PWKR.DT.GD.ZS","indicatorName":"Personal remittances, received (% of GDP)"},{"indicatorCode":"CM.MKT.LCAP.GD.ZS","indicatorName":"Market capitalization of listed domestic companies (% of GDP)"},{"indicatorCode":"CM.MKT.TRAD.GD.ZS","indicatorName":"Stocks traded, total value (% of GDP)"},{"indicatorCode":"EG.EGY.PRIM.PP.KD","indicatorName":"Energy intensity level of primary energy (MJ/$2021 PPP GDP)"},{"indicatorCode":"EG.GDP.PUSE.KO.PP","indicatorName":"GDP per unit of energy use (PPP $ per kg of oil equivalent)"},{"indicatorCode":"EG.GDP.PUSE.KO.PP.KD","indicatorName":"GDP per unit of energy use (constant 2021 PPP $ per kg of oil equivalent)"},{"indicatorCode":"EG.USE.COMM.GD.PP.KD","indicatorName":"Energy use (kg of oil equivalent) per $1,000 GDP (constant 2021 PPP)"},{"indicatorCode":"EN.GHG.CO2.RT.GDP.KD","indicatorName":"Carbon intensity of GDP (kg CO2e per constant 2021 US$ of GDP)"},{"indicatorCode":"EN.GHG.CO2.RT.GDP.PP.KD","indicatorName":"Carbon intensity of GDP (kg CO2e per 2021 PPP $)"},{"indicatorCode":"ER.GDP.FWTL.M3.KD","indicatorName":"Water productivity, total (constant 2015 US$ GDP per cubic meter of total freshwater withdrawal)"},{"indicatorCode":"FD.AST.PRVT.GD.ZS","indicatorName":"Domestic credit to private sector by banks (% of GDP)"},{"indicatorCode":"FM.AST.PRVT.GD.ZS","indicatorName":"Monetary sector credit to private sector (% of GDP)"},{"indicatorCode":"FM.LBL.BMNY.GD.ZS","indicatorName":"Broad money (% of GDP)"},{"indicatorCode":"FS.AST.CGOV.GD.ZS","indicatorName":"Claims on central government, etc. (% of GDP)"},{"indicatorCode":"FS.AST.DOMO.GD.ZS","indicatorName":"Claims on other sectors of the domestic economy (% of GDP)"},{"indicatorCode":"FS.AST.DOMS.GD.ZS","indicatorName":"Domestic credit provided by financial sector (% of GDP)"},{"indicatorCode":"FS.AST.PRVT.GD.ZS","indicatorName":"Domestic credit to private sector (% of GDP)"},{"indicatorCode":"GB.XPD.RSDV.GD.ZS","indicatorName":"Research and development expenditure (% of GDP)"},{"indicatorCode":"GC.AST.TOTL.GD.ZS","indicatorName":"Net acquisition of financial assets (% of GDP)"},{"indicatorCode":"GC.DOD.TOTL.GD.ZS","indicatorName":"Central government debt, total (% of GDP)"},{"indicatorCode":"GC.LBL.TOTL.GD.ZS","indicatorName":"Net incurrence of liabilities, total (% of GDP)"},{"indicatorCode":"GC.NFN.TOTL.GD.ZS","indicatorName":"Net investment in nonfinancial assets (% of GDP)"},{"indicatorCode":"GC.NLD.TOTL.GD.ZS","indicatorName":"Net lending (+) / net borrowing (-) (% of GDP)"},{"indicatorCode":"GC.REV.XGRT.GD.ZS","indicatorName":"Revenue, excluding grants (% of GDP)"},{"indicatorCode":"GC.TAX.TOTL.GD.ZS","indicatorName":"Tax revenue (% of GDP)"},{"indicatorCode":"GC.XPN.TOTL.GD.ZS","indicatorName":"Expense (% of GDP)"},{"indicatorCode":"MS.MIL.XPND.GD.ZS","indicatorName":"Military expenditure (% of GDP)"},{"indicatorCode":"NE.CON.GOVT.ZS","indicatorName":"General government final consumption expenditure (% of GDP)"},{"indicatorCode":"NE.CON.PRVT.ZS","indicatorName":"Households and NPISHs final consumption expenditure (% of GDP)"},{"indicatorCode":"NE.CON.TOTL.ZS","indicatorName":"Final consumption expenditure (% of GDP)"},{"indicatorCode":"NE.DAB.TOTL.ZS","indicatorName":"Gross national expenditure (% of GDP)"},{"indicatorCode":"NE.EXP.GNFS.ZS","indicatorName":"Exports of goods and services (% of GDP)"},{"indicatorCode":"NE.GDI.FPRV.ZS","indicatorName":"Gross fixed capital formation, private sector (% of GDP)"},{"indicatorCode":"NE.GDI.FTOT.ZS","indicatorName":"Gross fixed capital formation (% of GDP)"},{"indicatorCode":"NE.GDI.TOTL.ZS","indicatorName":"Gross capital formation (% of GDP)"},{"indicatorCode":"NE.IMP.GNFS.ZS","indicatorName":"Imports of goods and services (% of GDP)"},{"indicatorCode":"NE.RSB.GNFS.ZS","indicatorName":"External balance on goods and services (% of GDP)"},{"indicatorCode":"NE.TRD.GNFS.ZS","indicatorName":"Trade (% of GDP)"},{"indicatorCode":"NV.AGR.TOTL.ZS","indicatorName":"Agriculture, forestry, and fishing, value added (% of GDP)"},{"indicatorCode":"NV.IND.MANF.ZS","indicatorName":"Manufacturing, value added (% of GDP)"},{"indicatorCode":"NV.IND.TOTL.ZS","indicatorName":"Industry, including construction, value added (% of GDP)"},{"indicatorCode":"NV.SRV.TOTL.ZS","indicatorName":"Services, value added (% of GDP)"},{"indicatorCode":"NY.GDP.COAL.RT.ZS","indicatorName":"Coal rents (% of GDP)"},{"indicatorCode":"NY.GDP.DEFL.KD.ZG","indicatorName":"Inflation, GDP deflator (annual % growth)"},{"indicatorCode":"NY.GDP.DEFL.KD.ZG.AD","indicatorName":"Inflation, GDP deflator, linked series (annual % growth)"},{"indicatorCode":"NY.GDP.DEFL.ZS","indicatorName":"GDP deflator (base year varies by country)"}]}
curl --location --request GET 'https://zylalabs.com/api/953/world+bank+development+indicators+api/774/get+indicators+list?q=GDP' --header 'Authorization: Bearer YOUR_API_KEY'
Based on the indicator name, you will be able to retrieve all the details related. Get a better insight about the indicator.
{"indicatorCode":"NE.GDI.TOTL.ZS","indicatorName":"Gross capital formation (% of GDP)","topic":"Economic Policy & Debt: National accounts: Shares of GDP & other","shortDescription":null,"longDescription":"Gross capital formation (formerly gross domestic investment) consists of outlays on additions to the fixed assets of the economy plus net changes in the level of inventories. Fixed assets include land improvements (fences, ditches, drains, and so on); plant, machinery, and equipment purchases; and the construction of roads, railways, and the like, including schools, offices, hospitals, private residential dwellings, and commercial and industrial buildings. Inventories are stocks of goods held by firms to meet temporary or unexpected fluctuations in production or sales, and \"work in progress.\" According to the 1993 SNA, net acquisitions of valuables are also considered capital formation."}
curl --location --request GET 'https://zylalabs.com/api/953/world+bank+development+indicators+api/775/get+indicators+details&indicatorCode=Required' --header 'Authorization: Bearer YOUR_API_KEY'
With the indicator Code, you will be able to query the data related to that indicator in the country of your choice.
Get Indicator Data - Endpoint Features
| Object | Description |
|---|---|
country |
[Required] ISO 3166 alpha-3 country codes |
indicator |
[Required] |
{"countryCode":"EUU","countryName":"European Union","indicatorCode":"NY.GDP.MKTP.CD","indicatorName":"GDP (current US$)","data":{"1960":285151593517.8653,"1961":316957315284.2486,"1962":350242479710.816,"1963":384746828593.3421,"1964":426774574129.4504,"1965":467012617276.6352,"1966":505529224628.4718,"1967":538186984638.65045,"1968":577537349543.9318,"1969":644490038737.5481,"1970":728936354558.5033,"1971":823997564740.8566,"1972":993807576357.3236,"1973":1285760453749.9297,"1974":1455564730991.1843,"1975":1694691860215.149,"1976":1775046705220.4775,"1977":2011021369358.248,"1978":2449229543717.8096,"1979":2960086312677.681,"1980":3311398072837.089,"1981":2890050505826.477,"1982":2787868117631.329,"1983":2710862889681.462,"1984":2612656839102.004,"1985":2686730457063.8086,"1986":3753266239108.059,"1987":4639614022608.166,"1988":5094084472960.005,"1989":5202884439938.858,"1990":6505695339260.155,"1991":6727631751634.049,"1992":7389295673878.143,"1993":6750807644414.015,"1994":7157908667157.895,"1995":8298352822403.698,"1996":8433614719069.702,"1997":7735885029565.067,"1998":7970103042535.264,"1999":7936107808460.764,"2000":7288481048952.246,"2001":7407615944962.443,"2002":8100430284893.673,"2003":9956860723577.65,"2004":11449101966447.191,"2005":11954349375611.97,"2006":12768357074578.389,"2007":14789471689508.004,"2008":16364455236166.71,"2009":14844813523139.973,"2010":14641773544950.594,"2011":15874713437636.057,"2012":14731876146120.652,"2013":15398507628838.623,"2014":15763596442222.57,"2015":13656252620703.34,"2016":13988147697216.623,"2017":14871313684625.824,"2018":16092403309151.48,"2019":15809073096211.443,"2020":15504055464107.43,"2021":17495226733585.229,"2022":17023612496380.377,"2023":18659133072074.81,"2024":19497115588443.58}}
curl --location --request GET 'https://zylalabs.com/api/953/world+bank+development+indicators+api/776/get+indicator+data?country=EUU&indicator=NY.GDP.MKTP.CD' --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 "Get Indicators List" endpoint returns a list of available indicators with their codes, names, and descriptions. The "Get Indicators Details" endpoint provides detailed information about a specific indicator, including its topic and descriptions. The "Get Indicator Data" endpoint returns historical and current data for a specified indicator and country, organized by year.
Key fields in the response data include "indicatorCode," "indicatorName," "countryCode," "countryName," and "data" (which contains year-value pairs). These fields help identify the indicator and the corresponding data for each year.
The response data is structured in JSON format. For the "Get Indicator Data" endpoint, data is organized by country and indicator, with years as keys and corresponding values. This structure allows for easy access to specific data points.
The "Get Indicators List" provides a comprehensive list of indicators. The "Get Indicators Details" offers in-depth descriptions of specific indicators. The "Get Indicator Data" supplies actual data values for selected indicators across various countries and years.
Users can customize requests by specifying parameters such as "indicatorCode" for the "Get Indicator Data" endpoint and filtering by country or region. This allows for targeted data retrieval based on specific needs.
The data is sourced from the World Bank, a reputable provider of global development data. The World Bank ensures data accuracy through rigorous collection and validation processes, maintaining high-quality standards.
Typical use cases include economic analysis, social research, data visualization, and policy-making. Developers can leverage the API to create applications that analyze trends, visualize data, or inform decision-making processes.
When encountering partial or empty results, users should check the requested parameters for accuracy. It's also advisable to implement error handling in applications to manage cases where data may not be available for certain years or indicators.
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:
600ms
Service Level:
100%
Response Time:
709ms
Service Level:
100%
Response Time:
965ms
Service Level:
100%
Response Time:
500ms
Service Level:
100%
Response Time:
1,025ms
Service Level:
100%
Response Time:
56ms
Service Level:
100%
Response Time:
2,722ms
Service Level:
100%
Response Time:
2,645ms
Service Level:
100%
Response Time:
9,913ms
Service Level:
100%
Response Time:
10,788ms
Service Level:
100%
Response Time:
815ms
Service Level:
100%
Response Time:
48ms
Service Level:
100%
Response Time:
76ms
Service Level:
100%
Response Time:
39ms
Service Level:
100%
Response Time:
60ms
Service Level:
100%
Response Time:
45ms
Service Level:
100%
Response Time:
7,025ms
Service Level:
100%
Response Time:
46ms
Service Level:
100%
Response Time:
52ms
Service Level:
100%
Response Time:
44ms