List campaigns
curl --request GET \
--url https://api.donate.gg/api/v2/campaignsimport requests
url = "https://api.donate.gg/api/v2/campaigns"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.donate.gg/api/v2/campaigns', 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/campaigns",
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/campaigns"
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/campaigns")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.donate.gg/api/v2/campaigns")
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{
"items": [
{
"type": "campaign",
"id": "cmr2icrm701xu04jxvybvmgwn",
"available": true,
"name": "Kintara for St. Jude",
"imageUrl": "https://donategg-user-assets-prod.s3.us-east-1.amazonaws.com/image/e6a658a4-ee8a-4428-960d-56e16bfe9c91/1874bf55-7026-40be-a1ff-5fbedb6a0fd1.png",
"url": "https://www.donate.gg/campaigns/kintara-for-st-jude",
"source": "donate",
"sourceUrl": null,
"goalUsdE6": "10000000000",
"status": "active",
"eligible": true,
"categoryId": "community",
"media": [
{
"type": "image",
"url": "https://donategg-user-assets-prod.s3.us-east-1.amazonaws.com/image/e6a658a4-ee8a-4428-960d-56e16bfe9c91/1874bf55-7026-40be-a1ff-5fbedb6a0fd1.png"
}
],
"stats": {
"totalUsdE6": "13999894404",
"pendingUsdE6": "328679",
"settledUsdE6": "13999565725",
"donationCount": 558,
"pendingCount": 2,
"settledCount": 556,
"firstDonationAt": "2026-06-30T21:01:47.000Z",
"lastDonationAt": "2026-07-27T16:04:31.000Z"
},
"createdAt": "2026-07-01T20:08:14.287Z"
}
],
"nextCursor": null
}{
"code": "VALIDATION_ERROR",
"message": "<string>",
"issues": [
{
"path": "<string>",
"code": "required",
"message": "<string>"
}
]
}{
"code": "UNAUTHENTICATED",
"message": "This API key is not valid."
}{
"code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests. Wait for the time in the Retry-After header."
}Campaigns
List campaigns
Visible active campaigns, with what each has raised through Donate. sort=raised ranks by stats.totalUsdE6. eligible says whether a campaign can be named in a new config: an active campaign is listed before its recipients can be paid. Public: no API key is needed. Send one to use your organization’s rate limit.
GET
/
v2
/
campaigns
List campaigns
curl --request GET \
--url https://api.donate.gg/api/v2/campaignsimport requests
url = "https://api.donate.gg/api/v2/campaigns"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.donate.gg/api/v2/campaigns', 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/campaigns",
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/campaigns"
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/campaigns")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.donate.gg/api/v2/campaigns")
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{
"items": [
{
"type": "campaign",
"id": "cmr2icrm701xu04jxvybvmgwn",
"available": true,
"name": "Kintara for St. Jude",
"imageUrl": "https://donategg-user-assets-prod.s3.us-east-1.amazonaws.com/image/e6a658a4-ee8a-4428-960d-56e16bfe9c91/1874bf55-7026-40be-a1ff-5fbedb6a0fd1.png",
"url": "https://www.donate.gg/campaigns/kintara-for-st-jude",
"source": "donate",
"sourceUrl": null,
"goalUsdE6": "10000000000",
"status": "active",
"eligible": true,
"categoryId": "community",
"media": [
{
"type": "image",
"url": "https://donategg-user-assets-prod.s3.us-east-1.amazonaws.com/image/e6a658a4-ee8a-4428-960d-56e16bfe9c91/1874bf55-7026-40be-a1ff-5fbedb6a0fd1.png"
}
],
"stats": {
"totalUsdE6": "13999894404",
"pendingUsdE6": "328679",
"settledUsdE6": "13999565725",
"donationCount": 558,
"pendingCount": 2,
"settledCount": 556,
"firstDonationAt": "2026-06-30T21:01:47.000Z",
"lastDonationAt": "2026-07-27T16:04:31.000Z"
},
"createdAt": "2026-07-01T20:08:14.287Z"
}
],
"nextCursor": null
}{
"code": "VALIDATION_ERROR",
"message": "<string>",
"issues": [
{
"path": "<string>",
"code": "required",
"message": "<string>"
}
]
}{
"code": "UNAUTHENTICATED",
"message": "This API key is not valid."
}{
"code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests. Wait for the time in the Retry-After header."
}Headers
Query Parameters
Was this page helpful?