Lists
Every operation that returns more than one thing answers with the same object, whether or not there can be a next page.nextCursor back as cursor. null means there is nothing more.
- A cursor belongs to one request. Send it with the same filters and the same
sortas the request that returned it. You may changelimitbetween pages. - Any other cursor is an error. A cursor that was edited, cut short, taken from another
operation, or sent with a different filter answers
400 INVALID_CURSOR. Start again without a cursor. The API never answers a bad cursor with the first page, so a loop cannot run forever on a stale one. - A cursor is opaque. Nothing in it can be read, and it is at most 1,024 characters. Do not build or edit one.
- A list of a project’s own things is tied to the project. A cursor from one project’s
GET /v2/configsis refused for another project’s key.
Page size
limit is a whole number written plainly, such as 25. 025, 25.0 and 1e1 are rejected.
The other lists (chains, categories, registers, register entries, deposit chains, donation
transfers and the beneficiaries of a config) are short, take no
limit, and always have nextCursor: null.
References
Config and coin reads identify recipients bytype and id. For a coin page,
read the beneficiaries of the config to get their profiles and weights together.
- Send at most 100 references, each
<type>:<id>, separated by commas. - The answer has one item for each different reference, in the order you asked. A reference you send twice is answered once.
- An id that names nothing comes back with
available: falseandnullforname,imageUrl,urlandsource. - A
typecan becharity,campaignoruser. A config created through the API names charities and campaigns; a config created on donate.gg can also pay a person directly.
A recipient that is withheld
A config is permanent, so it can name a charity that has since been hidden or disabled, or that has opted out of Donate, or a campaign that has since been hidden. Such a recipient still has to be shown on a page that lists what a coin pays, so the API publishes a stand-in for it and never its own profile. This is the stand-in for a charity:available: falsewith anameand animageUrl: show them as they are. Do not link to a page, and do not look for more details.- The stand-in is the same whatever the reason, and the API does not say why.
- A hidden campaign has the same stand-in in the lookup, with
"type": "campaign"and the nameUnavailable campaign. GET /v2/charities/{charityId}answers200for such a charity too, with the same stand-in,eligible: false, an emptydescriptionandnullfor everything else that is the charity’s own, itsstatsincluded. Only an id that names no charity is a404.GET /v2/campaigns/{campaignId}answers200for a hidden campaign in the same way: the stand-in,eligible: false, an emptydescription, nomediaandnullfor everything else that is the campaign’s own, itsstatusandstatsincluded. Only an id that names no campaign is a404.- A withheld recipient cannot be named in a new config, is not in search results or lists, and
its donations and messages answer
404. - One charity that has opted out is shown as itself: the Zoological Society of Cincinnati
(
6e89a0e4-d663-517b-8934-be9f95f658d2). The lookup and its own read answer its stored profile withavailable: true,url: nullandeligible: false. Everything else above still holds for it.
Money
No amount is ever a JSON number. An amount is an unsigned whole number in a string, and its name says the unit.
Parse both with a big integer type. A JavaScript
Number loses precision above 2^53, which an
18-decimal token passes at about 0.009 of a token.
A token says which currency an Atomic amount is in:
Totals
Wherever a total appears it is the same object, under the keystats.
A charity, a campaign and a coin carry their
stats. A config’s totals belong to the project that
created it, so they are a separate, keyed read: GET /v2/configs/{configId}/stats.
Identifiers
An
address is always on-chain. A link to a page is a url.
Times
Every instant is RFC 3339 in UTC with milliseconds, such as2026-11-19T09:12:04.118Z, and its
name ends in At.
Images and links
imageUrl, url and websiteUrl are absolute http or https URLs, or null. url is the
thing’s page on donate.gg; websiteUrl is its own site. When imageUrl is null, show your own
fallback: the API sends an image in place of a missing one only for a
withheld recipient.
Missing values
Every field in the reference is always present in a response. A value that does not exist isnull, never a missing key. A list with nothing in it is []. A description is always a
string, and is empty when there is none.
Unknown input is refused
A query parameter or a body field the operation does not know answers400, with the name of the
field in issues. A misspelled filter cannot return unfiltered results.