We created the GlobalGiving API so that GlobalGiving fans and developers can take projects on GlobalGiving, and the ability to donate directly to them, anywhere on the web - or introduce new experiences to our existing community of GlobalGiving Project Leaders and donors. We look forward to working with you to expand GlobalGiving's reach and impact!
To use the GlobalGiving API, you must first create an account and then request a key. This is a quick, simple process that enables us to better serve your application. With an account set up, you can access start using your API key to access the available API operations.
This first version of the API is fairly basic. It is based on a set of RESTful web-services through HTTPS which provides the simplest and quickest way to access information for GlobalGiving projects and to submit a donation. As we learn more, and as you provide us with feedback, we look forward to launching more of the functionality you want.
There are two key areas of this site to support your work: First, is this Developer Reference Guide of which you are reading the introduction, and which includes all the information you need to develop your application. Second, is the Developer Forum where you can see what others in the developer community are creating, share thinking, collaborate, and provide us with feedback and input on our next set of code.
1. Review
our Code of Conduct and Terms of Service.
2. Register
for an API key.
3. Start
the Get Started Guide and Tutorial to dive in.
The GlobalGiving API allows you to integrate grassroots project information, organization data, and donation options in your app or website by giving you direct access to the information in our database. Below are some examples of code usage.
Get the current list of projects on GlobalGiving
HTTP GET Request using cURL
curl -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET "https://api.globalgiving.org/api/public/projectservice/all/projects?api_key=YOUR_API_KEY&nextProjectId=354"
View information about specific projects listed on GlobalGiving:
HTTP GET Request using cURL
curl -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET "https://api.globalgiving.org/api/public/projectservice/projects/collection/ids?api_key=YOUR_API_KEY&projectIds=123,1883"
Our partners have used our API to build lots of great projects. See below for a few of our favorites.
Chime For Change, a program founded by Gucci, Beyonce, and Salma Hayek, used our API to allow visitors to see, fund, and read updates on projects designed to improve the lives of women and girls globally.
Heartful.ly allows users to fundraise in honor of a special occasion with charitable wedding registries and birthday fundraising pages.
SDGfunders, a project of the Foundation Center by Candid, integrates projects that align with each of the Sustainable Development Goals into its philanthropy platform.
KizunaCranes.com was an engaging site designed to raise funds for the Japan earthquake relief efforts.
In addition to our REST API, GlobalGiving provides an additional data feed that is updated on a daily basis.
At GlobalGiving, we value the importance of transparency. Now you can explore our projects and partner organizations in IATI standard format! IATI aims to make information about aid spending easier to access, use and understand. Read more about this initiative at iatistandard.org.
We provide the following data in IATI format (updated daily):
Get support from other developers in the API Developers Forum.