Lending Type Queries

Lending Types

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.

The following call provides a list of lending types:
http://api.worldbank.org/lendingTypes?api_key=xxxx

Which returns the following xml:
<wb:lendingTypes page="1" pages="1" per_page="10" total="7">
<wb:lendingType id="AGG">Aggregates</wb:lendingType>
<wb:lendingType id="IBD">IBRD only</wb:lendingType>
<wb:lendingType id="IDB">IDA blend</wb:lendingType>
<wb:lendingType id="IDX">IDA only</wb:lendingType>
<wb:lendingType id="NWB">NA</wb:lendingType>
<wb:lendingType id="NC">Not classified</wb:lendingType>
<wb:lendingType id="tes">testing spaces</wb:lendingType>
</wb:lendingTypes>

Sample Calls

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://open.worldbank.org/countries?&lendingType=IDX&api_key=xxxx