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).
Parameters
Parameter | Value | Description | API FIELD NAME | Data Type |
---|---|---|---|---|
As Of Date | Date when the data snapshot was taken. | as_of_date | DATE | |
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 Name | Refers to the Trustee Fund name used in the World Bank system to identify a Trustee Account. | trustee_fund_name | STRING | |
Fund | Fund/Program type. | fund | STRING | |
Donor ID | Donor identification number. | donor_id | STRING | |
Donor Country | Name of donor country/entity. | donor_country | STRING | |
Donor Code | Country Code according to the World Bank country list. Might be different from the ISO country code. | donor_code | STRING | |
Ammendment unique ID | Unique 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_id | STRING | |
Installment Posting Date | Date the Trust Funds team posts actual receivables into TF account for a portion of a Contribution (installment). | installment_posting_date | DATE | |
Installment Posting year SY | Calendar year within which the Installment Posting Date falls. | installment_posting_year_sy | STRING | |
Installment Posting year FY | World 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_fy | STRING | |
Installment Posting year CY | Calendar year within which the Installment Posting Date falls. | installment_posting_year_cy | STRING | |
Donor or Grant Agreement Currency | Currency of the contribution, as per the Grant Agreement. | donor_or_grant_agreement_currency | STRING | |
Contribution Commitment Amount | Contribution 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_amount | NUMBER | |
Installment Due Date | Date installment is due for Contribution Amount. Date donor pledges to make contributions. | installment_due_date | DATE | |
Installment Due Year SY | Solar year within which the Installment Due Date falls. | installment_due_year_sy | STRING | |
Installment Due Year FY | Fiscal 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_fy | STRING | |
Installment Due Year CY | Calendar year within which the Installment Due Date falls. | installment_due_year_cy | STRING | |
Foreign Exchange Receipt Date | Value date of Receipt Amount in Receipt Currency exchanged for USD . | foreign_exchange_receipt_date | DATE | |
Foreign Exchange Receipt Year SY | Solar year within which the Foreign Exchange Date falls. | foreign_exchange_receipt_year_sy | STRING | |
Foreign Exchange Receipt Year FY | Fiscal 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_fy | STRING | |
Foreign Exchange Receipt Year CY | Calendar year within which the Foreign Exchange Date falls. | foreign_exchange_receipt_year_cy | STRING | |
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_currency | NUMBER | |
Project Preference | A Description of the project for which Donor expressed contribution preference. | project_preference | STRING | |
Project Preference Trust Fund Grant Number | Trust fund grant ID for which Donor expressed contribution preference. | project_preference_trust_fund_grant_number | STRING | |
Project Preference Project ID | Project ID for which Donor expressed contribution preference. | project_preference_project_id | STRING | |
Preference Amount (in USD) | Amount of Contribution with Preference, in USD . | preference_amount_in_usd | NUMBER | |
No Preference Amount (in USD) | Amount of contribution with no Preference, in USD. | no_preference_amount_in_usd | NUMBER | |
Total Receipt Amount (in USD) | Paid-in Receipt Amount Preference + No Preference (in USD). | total_receipt_amount_in_usd | NUMBER | |
Resource ID | ID of the associated Resource | STRING | ||
Select | Fields that required E.g (fiscal_year|supplier_country|total_amount) | STRING | ||
Top | Number of records to fetch | NUMBER | ||
Skip | Skip the records from the ascending order | NUMBER |
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
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
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"