Get GlobalGiving Themes

This operation retrieves all GlobalGiving themes. 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/themes

Query String Parameters:

&api_key described in the API Key section, required

Query String Example:

/api/public/projectservice/themes?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/themes?api_key=YOUR_API_KEY"

XML Response:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<themes>
   <theme>
      <id>edu</id>
      <name>Education</name>
   </theme>
   <theme>
      <id>env</id>
      <name>Environment</name>
   </theme>
   .
   .
</themes>

NOTE: The <theme> elements are repeating.

Get Themes Response Structure

themes

theme [one or more]

id string
name string

Element Definitions For Get Themes Response

Element Mandatory Description
id required Unique identifier for theme.
name required Name of theme.
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.