Get a charity
curl --request GET \
--url https://api.donate.gg/api/v2/charities/{charityId}import requests
url = "https://api.donate.gg/api/v2/charities/{charityId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.donate.gg/api/v2/charities/{charityId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.donate.gg/api/v2/charities/{charityId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.donate.gg/api/v2/charities/{charityId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.donate.gg/api/v2/charities/{charityId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.donate.gg/api/v2/charities/{charityId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"type": "charity",
"id": "9b4dae4e-d8c1-4322-a594-35a4858296b2",
"available": true,
"name": "Make-A-Wish America",
"imageUrl": "https://docs.candid.org/edoc/11142134",
"url": "https://www.donate.gg/charities/make-a-wish-america",
"source": null,
"description": "Together, we create life-changing wishes for children with critical illnesses.",
"websiteUrl": "https://wish.org",
"registrationNumber": "86-0481941",
"country": "US",
"location": {
"street": "1702 E Highland Ave",
"city": "Phoenix",
"state": "AZ",
"zipCode": "85016"
},
"socials": {
"x": {
"url": "https://x.com/makeawish",
"handle": "makeawish"
},
"facebook": {
"url": "https://www.facebook.com/makeawish",
"handle": "makeawish"
},
"instagram": {
"url": "https://www.instagram.com/makeawishamerica",
"handle": "makeawishamerica"
},
"linkedin": {
"url": "https://www.linkedin.com/company/make-a-wish-foundation",
"handle": "make-a-wish-foundation"
},
"youtube": {
"url": "https://www.youtube.com/user/MakeAWishFoundation",
"handle": "MakeAWishFoundation"
},
"blog": null
},
"eligible": true,
"stats": {
"totalUsdE6": "228998452896",
"pendingUsdE6": "84066",
"settledUsdE6": "228998368830",
"donationCount": 845,
"pendingCount": 1,
"settledCount": 844,
"firstDonationAt": "2026-04-19T00:52:27.000Z",
"lastDonationAt": "2026-11-18T22:53:59.000Z"
}
}{
"code": "VALIDATION_ERROR",
"message": "<string>",
"issues": [
{
"path": "<string>",
"code": "required",
"message": "<string>"
}
]
}{
"code": "UNAUTHENTICATED",
"message": "This API key is not valid."
}{
"code": "NOT_FOUND",
"message": "<string>"
}{
"code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests. Wait for the time in the Retry-After header."
}Charities
Get a charity
Everything needed to show a charity: name, image, mission, website, registration, location, social links and the total it has received through Donate. A charity that is hidden, disabled or has opted out answers 200 with available: false: a stand-in name and image to show in its place and none of its own details or totals, so a page that shows a coin’s recipients keeps working. One charity that has opted out, the Zoological Society of Cincinnati (6e89a0e4-d663-517b-8934-be9f95f658d2), is shown as itself with eligible: false. Only an id that names no charity answers 404. Public: no API key is needed. Send one to use your organization’s rate limit.
GET
/
v2
/
charities
/
{charityId}
Get a charity
curl --request GET \
--url https://api.donate.gg/api/v2/charities/{charityId}import requests
url = "https://api.donate.gg/api/v2/charities/{charityId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.donate.gg/api/v2/charities/{charityId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.donate.gg/api/v2/charities/{charityId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.donate.gg/api/v2/charities/{charityId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.donate.gg/api/v2/charities/{charityId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.donate.gg/api/v2/charities/{charityId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"type": "charity",
"id": "9b4dae4e-d8c1-4322-a594-35a4858296b2",
"available": true,
"name": "Make-A-Wish America",
"imageUrl": "https://docs.candid.org/edoc/11142134",
"url": "https://www.donate.gg/charities/make-a-wish-america",
"source": null,
"description": "Together, we create life-changing wishes for children with critical illnesses.",
"websiteUrl": "https://wish.org",
"registrationNumber": "86-0481941",
"country": "US",
"location": {
"street": "1702 E Highland Ave",
"city": "Phoenix",
"state": "AZ",
"zipCode": "85016"
},
"socials": {
"x": {
"url": "https://x.com/makeawish",
"handle": "makeawish"
},
"facebook": {
"url": "https://www.facebook.com/makeawish",
"handle": "makeawish"
},
"instagram": {
"url": "https://www.instagram.com/makeawishamerica",
"handle": "makeawishamerica"
},
"linkedin": {
"url": "https://www.linkedin.com/company/make-a-wish-foundation",
"handle": "make-a-wish-foundation"
},
"youtube": {
"url": "https://www.youtube.com/user/MakeAWishFoundation",
"handle": "MakeAWishFoundation"
},
"blog": null
},
"eligible": true,
"stats": {
"totalUsdE6": "228998452896",
"pendingUsdE6": "84066",
"settledUsdE6": "228998368830",
"donationCount": 845,
"pendingCount": 1,
"settledCount": 844,
"firstDonationAt": "2026-04-19T00:52:27.000Z",
"lastDonationAt": "2026-11-18T22:53:59.000Z"
}
}{
"code": "VALIDATION_ERROR",
"message": "<string>",
"issues": [
{
"path": "<string>",
"code": "required",
"message": "<string>"
}
]
}{
"code": "UNAUTHENTICATED",
"message": "This API key is not valid."
}{
"code": "NOT_FOUND",
"message": "<string>"
}{
"code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests. Wait for the time in the Retry-After header."
}Headers
Response
OK
Was this page helpful?