List charity-coin creators
curl --request GET \
--url https://api.donate.gg/api/v1/charity-coins/creatorsimport requests
url = "https://api.donate.gg/api/v1/charity-coins/creators"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.donate.gg/api/v1/charity-coins/creators', 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/v1/charity-coins/creators",
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/v1/charity-coins/creators"
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/v1/charity-coins/creators")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.donate.gg/api/v1/charity-coins/creators")
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{
"pageKey": "<string>",
"response": [
{
"user": {
"id": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar": "<string>",
"twitter": {
"accountId": "<string>",
"username": "<string>",
"displayName": "<string>",
"avatar": "<string>",
"description": "<string>"
},
"twitch": {
"accountId": "<string>",
"username": "<string>",
"displayName": "<string>",
"avatar": "<string>",
"description": "<string>"
},
"configId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
},
"creditedAccount": {
"chain": {
"id": 123,
"name": "<string>",
"type": "bitcoin"
},
"address": "<string>"
},
"donationSource": {
"label": "<string>",
"address": "<string>",
"chain": {
"id": 123,
"name": "<string>",
"type": "bitcoin"
},
"developerProjectId": "<string>"
},
"pendingUsdE6": "<string>",
"finalizedUsdE6": "<string>",
"displayedUsdE6": "<string>",
"pendingCount": 123,
"finalizedCount": 123,
"donationCount": 123,
"firstDonationAt": "<string>",
"lastDonationAt": "<string>",
"rank": 123
}
],
"pumpAccountBundle": {}
}{
"error": "<string>",
"code": "VALIDATION_ERROR",
"issues": [
null
]
}Coins
List charity-coin creators
Paginated leaderboard of charity-coin creators (credited accounts). Public: no API key is needed. Send one to use your organization’s rate limit. New integrations use GET /v2/coin-creators.
GET
/
v1
/
charity-coins
/
creators
List charity-coin creators
curl --request GET \
--url https://api.donate.gg/api/v1/charity-coins/creatorsimport requests
url = "https://api.donate.gg/api/v1/charity-coins/creators"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.donate.gg/api/v1/charity-coins/creators', 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/v1/charity-coins/creators",
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/v1/charity-coins/creators"
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/v1/charity-coins/creators")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.donate.gg/api/v1/charity-coins/creators")
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{
"pageKey": "<string>",
"response": [
{
"user": {
"id": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar": "<string>",
"twitter": {
"accountId": "<string>",
"username": "<string>",
"displayName": "<string>",
"avatar": "<string>",
"description": "<string>"
},
"twitch": {
"accountId": "<string>",
"username": "<string>",
"displayName": "<string>",
"avatar": "<string>",
"description": "<string>"
},
"configId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
},
"creditedAccount": {
"chain": {
"id": 123,
"name": "<string>",
"type": "bitcoin"
},
"address": "<string>"
},
"donationSource": {
"label": "<string>",
"address": "<string>",
"chain": {
"id": 123,
"name": "<string>",
"type": "bitcoin"
},
"developerProjectId": "<string>"
},
"pendingUsdE6": "<string>",
"finalizedUsdE6": "<string>",
"displayedUsdE6": "<string>",
"pendingCount": 123,
"finalizedCount": 123,
"donationCount": 123,
"firstDonationAt": "<string>",
"lastDonationAt": "<string>",
"rank": 123
}
],
"pumpAccountBundle": {}
}{
"error": "<string>",
"code": "VALIDATION_ERROR",
"issues": [
null
]
}Headers
Was this page helpful?