API Explorer

Trust Funds and FIFs

Afghanistan Reconstruction Trust Fund (ARTF) - Donor Contributions - BETA

Data as of Apr 20, 2014

Afghanistan Reconstruction Trust Fund (ARTF) - Donor Contributions: This data represents Donor contributions (pledges and paid-in amounts) towards the Afghanistan Reconstruction Trust Fund (ARTF).

Important Note

We recommend users to adopt API service option only for datasets exceeding a million records. For other datasets, kindly use the JSON link available on the "Actions and Tools" section which enables extraction of all the records at once.

Parameters
ParameterValueDescriptionAPI FIELD NAMEData Type
As Of DateDate when the data snapshot was taken.as_of_dateDATE
Trustee Fund Number Refers to Trustee Account. The Trustee Account is the account at the highest level in the Trust Fund hierarchy into which Contributions or other funds are received. Every Trust fund hierarchy has one Trustee Account. trustee_fund_number_STRING
Trustee Fund NameRefers to the Trustee Fund name used in the World Bank system to identify a Trustee Account.trustee_fund_nameSTRING
FundFund/Program type.fundSTRING
Donor IDDonor identification number.donor_idSTRING
Donor CountryName of donor country/entity.donor_countrySTRING
Donor CodeCountry Code according to the World Bank country list. Might be different from the ISO country code.donor_codeSTRING
Ammendment unique IDUnique Identifier for the contribution. Contributions are sometimes paid in installments. When payments share the Ammendment ID, these are installments of the same contribution committed. ammendment_unique_idSTRING
Installment Posting DateDate the Trust Funds team posts actual receivables into TF account for a portion of a Contribution (installment).installment_posting_dateDATE
Installment Posting year SYCalendar year within which the Installment Posting Date falls.installment_posting_year_sySTRING
Installment Posting year FYWorld Bank Fiscal year within which the Installment Posting Date. The fiscal year begins on July 1st of the previous year and runs through June 30th of the designated year.installment_posting_year_fySTRING
Installment Posting year CYCalendar year within which the Installment Posting Date falls.installment_posting_year_cySTRING
Donor or Grant Agreement CurrencyCurrency of the contribution, as per the Grant Agreement. donor_or_grant_agreement_currencySTRING
Contribution Commitment AmountContribution Commitment amount - The amount pledged by a donor in the grant agreement. This amount is recorded by the bank, and sometimes paid in separate installments. contribution_commitment_amountNUMBER
Installment Due DateDate installment is due for Contribution Amount. Date donor pledges to make contributions.installment_due_dateDATE
Installment Due Year SYSolar year within which the Installment Due Date falls. installment_due_year_sySTRING
Installment Due Year FYFiscal year within which the Installment Due Date falls. The fiscal year begins on July 1st of the previous year and runs through June 30th of the designated year.installment_due_year_fySTRING
Installment Due Year CYCalendar year within which the Installment Due Date falls. installment_due_year_cySTRING
Foreign Exchange Receipt DateValue date of Receipt Amount in Receipt Currency exchanged for USD .foreign_exchange_receipt_dateDATE
Foreign Exchange Receipt Year SYSolar year within which the Foreign Exchange Date falls. foreign_exchange_receipt_year_sySTRING
Foreign Exchange Receipt Year FYFiscal year within which the Foreign Exchange Date falls. The fiscal year begins on July 1st of the previous year and runs through June 30th of the designated year.foreign_exchange_receipt_year_fySTRING
Foreign Exchange Receipt Year CYCalendar year within which the Foreign Exchange Date falls.foreign_exchange_receipt_year_cySTRING
Receipt Amount (In Donation Currency)Contributions received from a Donor in the form of cash by the World Bank entity administering the Trust Fund. receipt_amount_in_donation_currencyNUMBER
Project PreferenceA Description of the project for which Donor expressed contribution preference. project_preferenceSTRING
Project Preference Trust Fund Grant NumberTrust fund grant ID for which Donor expressed contribution preference. project_preference_trust_fund_grant_numberSTRING
Project Preference Project IDProject ID for which Donor expressed contribution preference. project_preference_project_idSTRING
Preference Amount (in USD)Amount of Contribution with Preference, in USD .preference_amount_in_usdNUMBER
No Preference Amount (in USD)Amount of contribution with no Preference, in USD.no_preference_amount_in_usdNUMBER
Total Receipt Amount (in USD)Paid-in Receipt Amount Preference + No Preference (in USD).total_receipt_amount_in_usdNUMBER
Resource IDID of the associated ResourceSTRING
SelectFields that required E.g (fiscal_year|supplier_country|total_amount)STRING
TopNumber of records to fetchNUMBER
SkipSkip the records from the ascending orderNUMBER
Please Note:
  • This API will support up to a maximum of 1000 records per request / page.
  • The date format for all date fields should be DD-MMM-YYYY.
  • Selection will allow for multiple parameters E.g (Country = India|Afghanistan).
  • The filters for blank and non-blank should be IS NULL and IS NOT NULL E.g (Country = IS NULL, Country = IS NOT NULL)

https://datacatalogapi.worldbank.org/dexapps/fone/api/apiservice?datasetId=DS00990&resourceId=RS00920&top=100&type=json

No Data Available

DS00990
World Bank Group
May 7, 2013
Nov 14, 2024
Licensing and Attribution
Creative Commons Attribution 4.0 International
Creative Commons Attribution 4.0 International
Additional Information
Transactions
Donor ID
World Bank Group
Day
Regional
official
No further updates planned
South Asia
installment_posting_date, installment_due_date
Query tool,API,Bulk download
English
No further updates planned
Apr 20, 2014
Nov 14, 2024
Nov 14, 2024
Scope
Afghanistan
What's in this Dataset?
598
29
JavaScript makes it super simple to fetch from an API endpoint.
fetch('https://datacatalogapi.worldbank.org/dexapps/fone/api/apiservice?datasetId=DS00990&resourceId=RS00920&top=100&type=json')
    .then(response => {
        if (!response.ok) {
            throw new Error('');
        }
        return response.json();
    })
    .then(data => {
        // Do something with the response data
        // console.log(data);
    })
    .catch(error => {
        console.error('Error:', error);
    });
    
Python for easily work with data.
import requests
url = 'https://datacatalogapi.worldbank.org/dexapps/fone/api/apiservice?datasetId=DS00990&resourceId=RS00920&top=100&type=json'
try:
    response = requests.get(url)
    response.raise_for_status()  # Raise an exception for 4XX and 5XX status codes
    data = response.json()  # Parse the JSON response
    print(data)  # Print the response data
except requests.RequestException as e:
    print(f'Error: {e}')
PowerShell code to extract data.
$url = 'https://datacatalogapi.worldbank.org/dexapps/fone/api/apiservice?datasetId=DS00990&resourceId=RS00920&top=100&type=json'
try {
    $response = Invoke-RestMethod -Uri $url -Method Get
    # Print the response
    Write-Output $response
} catch {
    # Print error message if request fails
    Write-Error "Error: $_"
}
The following snippet brings data into your application.
require 'net/http'
url = URI('https://datacatalogapi.worldbank.org/dexapps/fone/api/apiservice?datasetId=DS00990&resourceId=RS00920&top=100&type=json')
begin
response = Net::HTTP.get_response(url)
if response.is_a?(Net::HTTPSuccess)
    puts response.body
else
    puts "Error: #{response.code} - #{response.message}"
end
rescue StandardError => e
puts "Error: #{e.message}"
end
Below code that makes usage with .NET more natural.
using System;
using System.Net.Http;
using System.Threading.Tasks;
class Program
{
    static async Task Main(string[] args)
    {
        var response = await new HttpClient().GetStringAsync("https://datacatalogapi.worldbank.org/dexapps/fone/api/apiservice?datasetId=DS00990&resourceId=RS00920&top=100&type=json");
        Console.WriteLine(response);
    }
}
JAVA for easily work with data.
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
public class Main {
    public static void main(String[] args) throws Exception {
        URL url = new URL("https://datacatalogapi.worldbank.org/dexapps/fone/api/apiservice?datasetId=DS00990&resourceId=RS00920&top=100&type=json");
        HttpURLConnection connection = (HttpURLConnection) url.openConnection();
        connection.setRequestMethod("GET");
        BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
        String line;
        StringBuffer response = new StringBuffer();
        while ((line = reader.readLine()) != null) {
            response.append(line);
        }
        reader.close();
        System.out.println(response.toString());
    }
}
The following snippet brings data into your application.
shell "curl -X GET https://datacatalogapi.worldbank.org/dexapps/fone/api/apiservice?datasetId=DS00990&resourceId=RS00920&top=100&type=json"
PHP code to brings the data.
<?php
// Specify the URL you want to send the GET request to
$url = "https://datacatalogapi.worldbank.org/dexapps/fone/api/apiservice?datasetId=DS00990&resourceId=RS00920&top=100&type=json";
// Initialize cURL session
$curl = curl_init();
// Set the cURL options
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
// Execute cURL session
$response = curl_exec($curl);
// Close cURL session
curl_close($curl);
// Print the response
echo $response;
?>
            
Copy and paste the following to import this dataset into Stata.
clear
. import delimited "https://datacatalogapi.worldbank.org/dexapps/fone/api/apiservice?datasetId=DS00990&resourceId=RS00920&top=100&type=json"