World Bank Development Indicators API

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://www.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":1442,"page":1,"pageSize":20,"items":[{"indicatorCode":"AG.AGR.TRAC.NO","indicatorName":"Agricultural machinery, tractors"},{"indicatorCode":"AG.CON.FERT.PT.ZS","indicatorName":"Fertilizer consumption (% of fertilizer production)"},{"indicatorCode":"AG.CON.FERT.ZS","indicatorName":"Fertilizer consumption (kilograms per hectare of arable land)"},{"indicatorCode":"AG.LND.AGRI.K2","indicatorName":"Agricultural land (sq. km)"},{"indicatorCode":"AG.LND.AGRI.ZS","indicatorName":"Agricultural land (% of land area)"},{"indicatorCode":"AG.LND.ARBL.HA","indicatorName":"Arable land (hectares)"},{"indicatorCode":"AG.LND.ARBL.HA.PC","indicatorName":"Arable land (hectares per person)"},{"indicatorCode":"AG.LND.ARBL.ZS","indicatorName":"Arable land (% of land area)"},{"indicatorCode":"AG.LND.CREL.HA","indicatorName":"Land under cereal production (hectares)"},{"indicatorCode":"AG.LND.CROP.ZS","indicatorName":"Permanent cropland (% of land area)"},{"indicatorCode":"AG.LND.EL5M.RU.K2","indicatorName":"Rural land area where elevation is below 5 meters (sq. km)"},{"indicatorCode":"AG.LND.EL5M.RU.ZS","indicatorName":"Rural land area where elevation is below 5 meters (% of total land area)"},{"indicatorCode":"AG.LND.EL5M.UR.K2","indicatorName":"Urban land area where elevation is below 5 meters (sq. km)"},{"indicatorCode":"AG.LND.EL5M.UR.ZS","indicatorName":"Urban land area where elevation is below 5 meters (% of total land area)"},{"indicatorCode":"AG.LND.EL5M.ZS","indicatorName":"Land area where elevation is below 5 meters (% of total land area)"},{"indicatorCode":"AG.LND.FRST.K2","indicatorName":"Forest area (sq. km)"},{"indicatorCode":"AG.LND.FRST.ZS","indicatorName":"Forest area (% of land area)"},{"indicatorCode":"AG.LND.IRIG.AG.ZS","indicatorName":"Agricultural irrigated land (% of total agricultural land)"},{"indicatorCode":"AG.LND.PRCP.MM","indicatorName":"Average precipitation in depth (mm per year)"},{"indicatorCode":"AG.LND.TOTL.K2","indicatorName":"Land area (sq. km)"}]}
                                                                                                                                                                                                                    
                                                                                                    

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://www.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://www.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
  • 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

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

Category:


Related APIs