I am trying to obtain data with multiple indicators from World Bank’s API but am unable to do so.
The documentation suggests to use the following format:
http://api.worldbank.org/v2/country/chn;ago/indicator/AG.AGR.TRAC.NO;SP.POP.TOTL?source=2
However their very own example returns only data for ‘ago’ (Angola) and ‘AG.AGR.TRAC.NO’ (Agricultural machinery, tractors).
The same happens for any request when I try to get multiple indicators. For example http://api.worldbank.org/v2/country/us/indicator/BN.CAB.XOKA.CD;BM.GSR.MRCH.CD?source=2&format=json
should get the Current account balance and Goods imports of USA but it getting only the former.
At the same time separate requests return data for both indicators:
http://api.worldbank.org/v2/country/us/indicator/BN.CAB.XOKA.CD?source=2&format=json
and
http://api.worldbank.org/v2/country/us/indicator/BM.GSR.MRCH.CD?source=2&format=json
I am wondering what I might be doing wrong.