API: Topic Queries

About Topic Queries

Topics are high level categories that all indicators are mapped to.

Request Format

http://api.worldbank.org/v2/topics

Response Format

XML

<wb:topics xmlns:wb="http://www.worldbank.org" page="1" pages="1" per_page="50" total="16" >
  <wb:topic id="1" >
    <wb:value>Agriculture &amp; Rural Development</wb:value>
    <wb:sourceNote>For the 70 percent of the world's poor who live in rural areas, agriculture is the main source of income and employment. But depletion and degradation of land and water pose serious challenges to producing enough food and other agricultural products to sustain livelihoods here and meet the needs of urban populations. Data presented here include measures of agricultural inputs, outputs, and productivity compiled by the UN's Food and Agriculture Organization.</wb:sourceNote>
</wb:topic>
  <wb:topic id="2" >
    <wb:value>Aid Effectiveness</wb:value>
...

JSON

[
  {
      "page":1,
      "pages":1,
      "per_page":50,
      "total":16
  },
  [
      {
        "id":"1",
        "value":"Agriculture & Rural Development",
        "sourceNote":"For the 70 percent of the world's poor who live in rural areas, agriculture is the main source of income and employment. But depletion and degradation of land and water pose serious challenges to producing enough food and other agricultural products to sustain livelihoods here and meet the needs of urban populations. Data presented here include measures of agricultural inputs, outputs, and productivity compiled by the UN's Food and Agriculture Organization."
      },
      {
        "id":"2",

Examples

Topic-based calls are probably going to be less common for most users.

Return a list of all topics

http://api.worldbank.org/v2/topics/

This call will return all indicators associated with topic ID 5, which is Energy:

http://api.worldbank.org/v2/topics/5/indicators

Thank you for visiting the World Bank's Data Help Desk. Please review the terms of use for this website. Your continued use of this website constitutes your acceptance of these terms and conditions.

Developer Info

Feedback and Knowledge Base