世界银行发展指标API是一个强大的资源,供开发者查找来自全球的经济和社会数据。该API提供访问来自200多个国家和18个地区和收入组分类的广泛数据,涵盖各种发展指标,如国内生产总值(GDP)、人口、通货膨胀等。数据来源于世界银行,世界领先的全球发展数据和分析提供者。
这个API允许开发者检索广泛指标的数据,使其成为数据可视化、经济分析和研究等多种应用的重要工具。该API支持多年的数据,因此开发者可以检索历史数据以及最新数据。数据以JSON格式返回,易于集成到各种应用和系统中。该API还支持过滤,允许开发者仅检索所需数据,这可以帮助优化性能并减少数据传输成本。
凭借其广泛的全球发展指标覆盖和灵活的查询能力,世界银行发展指标API是任何处理经济和社会数据的开发者的必备工具。该API还支持多种语言。
数据可视化:该API可以用于检索广泛发展指标的数据,使其成为创建经济和社会趋势互动可视化的宝贵工具。
经济分析:该API可以用于检索GDP、通货膨胀和其他经济指标的历史数据,使其成为经济研究和分析的宝贵工具。
社会研究:该API可以用于检索人口、教育和其他社会指标的数据,使其成为社会研究和分析的宝贵工具。
政府和政策:该API可以用于检索与政府和政策制定相关的各种指标的数据,例如GDP和通货膨胀。
商业和金融:该API可以用于检索与商业和金融相关的各种指标的数据,例如GDP和通货膨胀。
国际发展:该API可以用于检索与国际发展相关的各种指标的数据,例如GDP和贫困水平。
除了每月的API调用限制外,没有其他限制
世界银行发展指标API的“获取指标列表”端点允许开发者检索所有可用指标及其代码的列表,这些指标和代码可以用来从API查询数据。该端点返回的信息包括指标名称、来源和描述,使开发者能够理解他们所检索的数据,并确定特定数据查询的适当指标代码
获取指标列表 - 端点功能
| 对象 | 描述 |
|---|---|
q |
[必需] 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'
根据指标名称,您将能够获取所有相关的详细信息。更好地了解该指标
{"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'
通过指标代码,您将能够查询您选择的国家与该指标相关的数据
获取指标数据 - 端点功能
| 对象 | 描述 |
|---|---|
country |
[必需] ISO 3166 alpha-3 country codes |
indicator |
[必需] |
{"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'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
“获取指标列表”端点返回可用指标的列表,包括它们的代码、名称和描述。“获取指标详情”端点提供有关特定指标的详细信息,包括其主题和描述。“获取指标数据”端点返回指定指标和国家的历史和当前数据,并按年份组织
响应数据中的关键字段包括“indicatorCode”“indicatorName”“countryCode”“countryName”和“data”(包含年份-值对)这些字段有助于识别指标及其对应的每年数据
响应数据采用JSON格式结构。对于“获取指标数据”接口,数据按国家和指标组织,年份作为键,对应的值为数据。这种结构便于访问特定数据点
"获取指标列表"提供了全面的指标列表 "获取指标详情"提供了特定指标的深入描述 "获取指标数据"提供了各国和各年所选指标的实际数据值
用户可以通过指定参数如“indicatorCode”来定制请求以获取“获取指标数据”端点,并按国家或地区进行过滤。这允许根据特定需求进行有针对性的数据提取
数据来源于世界银行,这是一个信誉良好的全球发展数据提供者。世界银行通过严格的收集和验证过程确保数据的准确性,保持高质量标准
典型的使用案例包括经济分析、社会研究、数据可视化和政策制定。开发人员可以利用该API创建应用程序,以分析趋势、可视化数据或为决策过程提供信息
当遇到部分或空结果时,用户应检查请求参数的准确性。此外,建议在应用程序中实现错误处理,以管理某些年份或指标的数据可能不可用的情况
服务级别:
100%
响应时间:
294ms
服务级别:
100%
响应时间:
428ms
服务级别:
100%
响应时间:
0ms
服务级别:
100%
响应时间:
322ms
服务级别:
100%
响应时间:
326ms
服务级别:
100%
响应时间:
2,722ms
服务级别:
100%
响应时间:
53ms
服务级别:
100%
响应时间:
967ms
服务级别:
100%
响应时间:
428ms
服务级别:
100%
响应时间:
288ms
服务级别:
100%
响应时间:
6,766ms
服务级别:
100%
响应时间:
2,015ms
服务级别:
100%
响应时间:
5,476ms
服务级别:
100%
响应时间:
55ms
服务级别:
100%
响应时间:
6,817ms
服务级别:
100%
响应时间:
7,685ms
服务级别:
100%
响应时间:
628ms
服务级别:
100%
响应时间:
2,191ms
服务级别:
100%
响应时间:
311ms
服务级别:
100%
响应时间:
929ms