API: Lending Type Queries

About Lending Type Queries

The World Bank classified countries according to the type of lending they are eligible for through the World Bank. For a description of these categories and how they are set, please visit the country classification page.

Request Format

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

Response Format

XML

 
<wb:lendingTypes page="1" pages="1" per_page="50" total="4" xmlns:wb="http://www.worldbank.org">
  <wb:lendingType id="IBD">IBRD</wb:lendingType>
  <wb:lendingType id="IDB">Blend</wb:lendingType>
  <wb:lendingType id="IDX">IDA</wb:lendingType>
  <wb:lendingType id="NC">Not classified</wb:lendingType>
  </wb:lendingTypes>

JSON

  [{"page":"1","pages":"1","per_page":"50","total":"4"},[{"id":"IBD","value":"IBRD"},{"id":"IDB","value":"Blend"},{"id":"IDX","value":"IDA"},{"id":"NC","value":"Not classified"}]]

Examples

Lending type can be used to narrow country or indicator queries. For example, to see a list of IDA only countries, use the following call

http://api.worldbank.org/v2/countries?lendingType=IDX

To list all Lending Types

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

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