API Explorer
Trust Funds and FIFs
Afghanistan Reconstruction Trust Fund (ARTF) Project Results - BETA
Data as of Jun 25, 2014
This data represents project development objective indicators for the ARTF portfolio (from 2001 through today). This dataset pulls project indicator measurements from ARTF implementation status reports. The indicator descriptions are pulled from the ARTF results matrix. http://www.artf.af//images/uploads/ARTF_Results_Matrix_January_2014.pdf
Parameters
Parameter | Value | Description | API FIELD NAME | Data Type |
---|---|---|---|---|
Trust Fund Grant 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. | trust_fund_grant_number | STRING | |
Project ID | project_id | STRING | ||
Project Name | A Bank project is referenced by a project ID (Pxxxxxxx). More than one loan, credit, or grant may be associated with one Project ID. Projects with no project ID represent Bank-executed work. | project_name | STRING | |
Project Status | Project status. Active, or closed. Note: Closed projects may still receive applications through Application Deadline Date. | project_status | STRING | |
Sector | Corresponding Sector/Theme | sector | STRING | |
Indicator Name | A short descriptive title for the indicator highlighting the characteristics of the value being measured. | indicator_name | STRING | |
Indicator Description | Detailed description of the indicator. | indicator_description | STRING | |
Unit of Measure | Corresponding unit in which the indicator is being measured. | unit_of_measure | STRING | |
Implementation Status Results Report ID | The document ID of the Implementation Status & Results Report the data was pulled from. | implementation_status_results_report_id | STRING | |
Implementation Status Results Report Date | The date the relevant Implementation Status & Results Report was released. | implementation_status_results_report_date | DATE | |
Value Type | Describes the nature of a value. Baseline refers to the value of the indicator at the start of the project or at the point at which the first measurement was made. Target refers to the project goal for the indicator at the end of the projects. Current measurements record values for the indicator during the project. | value_type | STRING | |
Value Date | Refers to the date at which a measurement for the indicator was recorded. | value_date | DATE | |
Value | The value of the indicator recorded in the corresponding unit of measure. | value | NUMBER | |
Comment | Comments recorded in the implementation status report by team members recording information. | comment | STRING | |
As of Date | The date at which the dataset values were last updated. | as_of_date | DATE | |
Indicator ID | indicator_id | STRING | ||
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=DS00999&resourceId=RS00929&top=100&type=json
No Data Available
Additional Information
Time Series
Trust Fund Grant Number, Project ID
World Bank Group
Annual
Other
official
No further updates planned
South Asia
value_date
Query tool,API,Bulk download
English
No further updates planned
Jun 25, 2014
Oct 8, 2024
Oct 08, 2024
What's in this Dataset?
3,769
16
JavaScript makes it super simple to fetch from an API endpoint.
fetch('https://datacatalogapi.worldbank.org/dexapps/fone/api/apiservice?datasetId=DS00999&resourceId=RS00929&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=DS00999&resourceId=RS00929&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=DS00999&resourceId=RS00929&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=DS00999&resourceId=RS00929&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=DS00999&resourceId=RS00929&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=DS00999&resourceId=RS00929&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=DS00999&resourceId=RS00929&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=DS00999&resourceId=RS00929&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=DS00999&resourceId=RS00929&top=100&type=json"