Get Region Project Counts for a Specific Region

This operation retrieves project counts for a specific region. This is a non-secure request as indicated by the '/public/' element in the URL path, therefore, an access token (authentication) is not required.

HTTP Method:

GET

Content Type:

xml, json

Accept Type:

xml, json

Path:

https://api.globalgiving.org/api/public/projectservice/regions/{regionname}/countries/projects/count

Path Parameter:

{regionname} the region name identifier, replace with actual value, required

Query String Parameters:

&api_key described in the API Key section, required

Query String Example:

/api/public/projectservice/regions/Africa/countries/projects/count?api_key=YOUR_API_KEY

Tip:
Adding '/active' to the path returns only active projects able to accept donations. Funded and retired projects are excluded.

Example:

/api/public/projectservice/regions/Africa/countries/projects/active/count?api_key=YOUR_API_KEY

HTTP GET Request using cURL:

curl -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET "https://api.globalgiving.org/api/public/projectservice/regions/Africa/countries/projects/count?api_key=YOUR_API_KEY"

XML Response:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<regions>
   <region>
      <countries>
         <country>
            <iso3166CountryCode>BF</iso3166CountryCode>
            <name>Burkina Faso</name>
            <projectCount>3</projectCount>
         </country>
         <country>
            <iso3166CountryCode>BI</iso3166CountryCode>
            <name>Burundi</name>
            <projectCount>2</projectCount>
         </country>
         .
         .
      </countries>
      <name>Africa</name>
   </region>
</regions>

NOTE: The <country> elements are repeating.

See Get Region Project Counts Response Structure

See Element Definitions for Get Region Project Counts Response

WARNING: Javascript is currently disabled or is not available in your browser. GlobalGiving makes extensive use of Javascript and will not function properly with Javascript disabled. Please enable Javascript and refresh this page.