Duaer

入门

在 Duaer 里查世界银行指标

在 Duaer 里:世界银行的各国年度发展数据:GDP、人口、通胀、贸易、卫生、教育等 1000 多项指标,按指标代码查询。一次成功查询用 1 额度。

能拿到什么

Duaer 数据市场里的「世界银行指标」:世界银行的各国年度发展数据:GDP、人口、通胀、贸易、卫生、教育等 1000 多项指标,按指标代码查询。查到结果时用 1 额度,结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → 世界银行指标,或打开 数据市场。相关:IMF 经济指标、国际贸易、WHO 卫生统计。

适合做什么

  • 在市场进入分析中比较各国 GDP、人口等宏观指标。
  • 取一段时间序列用于图表或模型输入。

在画布里检索

  1. 打开节点创建器,选 Duaer 数据 → World Bank indicators。
  2. 填 Country(ISO 代码,可用逗号分隔多个,如 CN,US;世界用 WLD)与 Indicator(如 NY.GDP.MKTP.CD);From Year / To Year 可选。
  3. Limit 默认 10,最大 20。执行。

查到结果才扣 1 额度;没有结果、输入有误或上游失败都不扣。

用 API 调用

  • GET https://api.duaer.com/v1/data/world-bank?country=CN,US,IN&indicator=NY.GDP.MKTP.CD&limit=6
  • Authorization: Bearer <Duaer key>

下方是与数据市场「复制技能」相同的英文技能,含参数、示例与返回字段。

调用技能(英文)

与数据市场「复制技能」一致。

---
name: duaer-world-bank
description: >-
  Duaer World Bank indicators. Yearly development data for any country from the World Bank: GDP, population, inflation, trade, health, education, and 1,000+ other indicators by code.
  One successful search uses 1 Duaer credit.
---

# Duaer World Bank indicators

Duaer World Bank indicators reads the World Bank Indicators API. Without years, Duaer returns the most recent non-empty values; with `from` or `to` it returns that span.

## When to use

- Compare countries on GDP, population, or other macro indicators in a market-entry memo.
- Pull a time series for a chart or a model input.

## When not to use

- Forecasts of next years. Use https://skills.duaer.com/imf.md (World Economic Outlook).
- Health statistics by sex or age. Use https://skills.duaer.com/who-gho.md.

## Call

`GET https://api.duaer.com/v1/data/world-bank?country=CN,US,IN&indicator=NY.GDP.MKTP.CD&limit=6`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Get a Duaer key: https://skills.duaer.com/keys.md

## Parameters

Provide `country` and `indicator`.

- `country` — ISO code, or several joined by commas, such as CN,US. Use WLD for the world.
- `indicator` — World Bank indicator code, such as NY.GDP.MKTP.CD (GDP in current US$).
- `from` — Optional. First year, such as 2010.
- `to` — Optional. Last year.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

Common codes: `NY.GDP.MKTP.CD` GDP (current US$), `NY.GDP.PCAP.CD` GDP per person, `SP.POP.TOTL` population, `FP.CPI.TOTL.ZG` inflation (%), `SL.UEM.TOTL.ZS` unemployment (%), `NE.EXP.GNFS.ZS` exports (% of GDP), `SP.DYN.LE00.IN` life expectancy.

## Examples

- `GET https://api.duaer.com/v1/data/world-bank?country=CN,US,IN&indicator=NY.GDP.MKTP.CD&limit=6` — latest GDP of three countries.
- `GET https://api.duaer.com/v1/data/world-bank?country=WLD&indicator=SP.POP.TOTL&from=2000&to=2024&limit=20` — world population since 2000.

## Result

The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:

- `country`, `countryCode` — country name and ISO3 code.
- `indicator`, `indicatorName` — indicator code and name.
- `year` — data year.
- `value` — numeric value in the unit of the indicator.

Fields without a value are left out.

## Credits

A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

## Related

- https://skills.duaer.com/imf.md — Duaer IMF indicators
- https://skills.duaer.com/trade.md — Duaer International trade
- https://skills.duaer.com/who-gho.md — Duaer WHO health statistics

常见问题

Duaer 的世界银行指标检索扣多少额度?

查到结果时扣 1 额度;没有结果或出错不扣。

Duaer 用的世界银行指标代码去哪找?

在 data.worldbank.org 打开指标页面,从地址栏复制代码,如 NY.GDP.MKTP.CD;Duaer 技能里也列了常用代码。

同组