World Bank Development Indicators API

The World Bank Development Indicators API provides access to a wide range of economic and social data from over 200 countries and 18 regional and income group classifications. The API allows developers to retrieve data on various indicators such as GDP, population, inflation, and more. The API returns data in JSON format.

About the API:

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.

 

What are the most common uses cases of this API?

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. Business and finance: The API can be used to retrieve data on various indicators relevant to business and finance, such as GDP and inflation.

  6. International development: The API can be used to retrieve data on various indicators relevant to international development, such as GDP and poverty levels.

 

Are there any limitations to your plans?

Besides API call limitations per month, there are no other limitations

API Documentation

Endpoints


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 https://zylalabs.com/api/953/world+bank+development+indicators+api/774/get+indicators+list
                                                                            
                                                                        

Get Indicators List - Endpoint Features

Object Description
q [Required] Indicator to retrieve
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"total":86,"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/$2017 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 2017 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 2017 PPP)"},{"indicatorCode":"EN.ATM.CO2E.KD.GD","indicatorName":"CO2 emissions (kg per 2015 US$ of GDP)"},{"indicatorCode":"EN.ATM.CO2E.PP.GD","indicatorName":"CO2 emissions (kg per PPP $ of GDP)"},{"indicatorCode":"EN.ATM.CO2E.PP.GD.KD","indicatorName":"CO2 emissions (kg per 2017 PPP $ of GDP)"},{"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 (% GDP)"},{"indicatorCode":"FM.LBL.BMNY.GD.ZS","indicatorName":"Broad money (% of GDP)"},{"indicatorCode":"FS.AST.CGOV.GD.ZS","indicatorName":"Claims on central government, etc. (% 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 %)"},{"indicatorCode":"NY.GDP.DEFL.KD.ZG.AD","indicatorName":"Inflation, GDP deflator: linked series (annual %)"}]}
                                                                                                                                                                                                                    
                                                                                                    

Get Indicators List - CODE SNIPPETS


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. 



                                                                            
GET https://zylalabs.com/api/953/world+bank+development+indicators+api/775/get+indicators+details
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"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."}
                                                                                                                                                                                                                    
                                                                                                    

Get Indicators Details - CODE SNIPPETS


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 https://zylalabs.com/api/953/world+bank+development+indicators+api/776/get+indicator+data
                                                                            
                                                                        

Get Indicator Data - Endpoint Features

Object Description
country [Required] ISO 3166 alpha-3 country codes
indicator [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"countryCode":"EUU","countryName":"European Union","indicatorCode":"NY.GDP.MKTP.CD","indicatorName":"GDP (current US$)","data":{"1960":null,"1961":null,"1962":null,"1963":null,"1964":null,"1965":null,"1966":null,"1967":null,"1968":null,"1969":null,"1970":725931117202.681,"1971":820813003647.737,"1972":990428711523.757,"1973":1282020509407.61,"1974":1451750057862.35,"1975":1690875090425.37,"1976":1770054233927.2,"1977":2004900497340.86,"1978":2442696478420.52,"1979":2952838432090.34,"1980":3303181850263.89,"1981":2879984188262.2,"1982":2777376665977.44,"1983":2702069500746.21,"1984":2603395491959.08,"1985":2677660947369.09,"1986":3744041974466.61,"1987":4631250656846.37,"1988":5084288198655.59,"1989":5193668896729.2,"1990":6498471911158.62,"1991":6736015994578.52,"1992":7406290275006.52,"1993":6761114918561.71,"1994":7161872216278.51,"1995":8296026012678.74,"1996":8431518032299.25,"1997":7733761443399.13,"1998":7969786047468.6,"1999":7925751140105.29,"2000":7276100425846.39,"2001":7393822815819.07,"2002":8083838310847.3,"2003":9931880091381.26,"2004":11419026235917.2,"2005":11910846593666.3,"2006":12713924308247,"2007":14728760786208.9,"2008":16297628240370.6,"2009":14763782458925.1,"2010":14557639624574.1,"2011":15759494356498.2,"2012":14636200267663.1,"2013":15299732275660.3,"2014":15652098620138.5,"2015":13551929359932.8,"2016":13893207820569.6,"2017":14766273067392.1,"2018":15978719985091.5,"2019":15691850452107.3,"2020":15300141971364.8,"2021":17088620744318.8}}
                                                                                                                                                                                                                    
                                                                                                    

Get Indicator Data - CODE SNIPPETS


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' 


    

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 World Bank Development Indicators 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

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
100%
 Response Time
301ms

Category:


Related APIs