Get a config
curl --request GET \
--url https://api.donate.gg/api/v2/configs/{configId}import requests
url = "https://api.donate.gg/api/v2/configs/{configId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.donate.gg/api/v2/configs/{configId}', 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/configs/{configId}",
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/configs/{configId}"
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/configs/{configId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.donate.gg/api/v2/configs/{configId}")
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{
"id": "0x99fbb793f984a8c5f06693e13af3a2629479beac1c38169ec8b601faad71bce9",
"idBase58": "BN5zs4C4zce2XBL3QjqV7LTjE51822i2jX4TPQ8DjM3v",
"beneficiaries": [
{
"type": "charity",
"id": "9b4dae4e-d8c1-4322-a594-35a4858296b2",
"weight": "100"
}
],
"createdAt": "2026-04-29T17:41:06.212Z"
}{
"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."
}Configs
Get a config
Every recipient of any config and its weight, whoever created it. A config never changes, so this answer can be kept. Read its recipients with their current display details at GET /v2/configs/{configId}/beneficiaries. Public: no API key is needed. Send one to use your organization’s rate limit.
GET
/
v2
/
configs
/
{configId}
Get a config
curl --request GET \
--url https://api.donate.gg/api/v2/configs/{configId}import requests
url = "https://api.donate.gg/api/v2/configs/{configId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.donate.gg/api/v2/configs/{configId}', 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/configs/{configId}",
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/configs/{configId}"
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/configs/{configId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.donate.gg/api/v2/configs/{configId}")
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{
"id": "0x99fbb793f984a8c5f06693e13af3a2629479beac1c38169ec8b601faad71bce9",
"idBase58": "BN5zs4C4zce2XBL3QjqV7LTjE51822i2jX4TPQ8DjM3v",
"beneficiaries": [
{
"type": "charity",
"id": "9b4dae4e-d8c1-4322-a594-35a4858296b2",
"weight": "100"
}
],
"createdAt": "2026-04-29T17:41:06.212Z"
}{
"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
Path Parameters
Response
OK
Was this page helpful?