Developers

The Donorato API

Search donation records from your own CRM, prospect-research tool or data pipeline: the same records, and the same free and paid steps, as the Donorato app.

The API is being built. Its reference, the OpenAPI (Swagger) document, always lists what you can call today. For early access, email support@donorato.com.

Fastest: let an AI assistant build it with you

Copy this prompt into ChatGPT, Claude, Gemini, Copilot or any coding assistant. It tells the assistant to read the API's own reference first and use only what's in it, to keep your key out of the code, and to ask you before anything that costs money.

You are helping me connect my code to the Donorato API. Donorato is a database of donation records taken from the donor lists nonprofits publish on their websites and in their annual reports: who gave how much to which nonprofit, and in which year.

How Donorato's data is sold, so you understand which calls cost money:
- The account buys credits, and paid unlocks spend them. An unlock that finds nothing costs nothing, and anything already unlocked can be read again free.
- Found (free): whether a searched donor has giving records. A free response never names a recipient, an amount or a year.
- Summary (credits, per donor): counts of gifts and recipients, total and largest gift as ranges, years active, loyalty, trend, gift types, donor type, and one row per cause (NTEE, scope, size) with the recipient's name hidden.
- Details (credits, per donor): every recipient's name, EIN and location, the donor's rank among its donors, and every gift with the URL of its source document.
- Gifts to the account's own organization (by EIN) never appear.

The API is at https://api.donorato.com/. Its machine-readable reference (OpenAPI) is https://api.donorato.com/swagger/v1/swagger.json, and the same reference is readable at https://api.donorato.com/swagger.

Rules for you:
1. Before writing any code, fetch the OpenAPI document (or ask me to paste it if you can't fetch URLs) and use only the operations, parameters and fields it lists. Never guess an endpoint or a field name. The API is still being built, so if what I want isn't in the document, tell me so plainly instead of inventing it.
2. Start by calling GET https://api.donorato.com/api/health and show me the response, so we know the address works.
3. If an operation needs a key or a sign-in, ask me for it, and keep it in an environment variable (DONORATO_API_KEY) or a secret store, never in the code or in your replies.
4. Before any unlock (any level above Found), get a quote first: the API has a quote operation that takes the same request as the unlock and spends nothing. Show me the quote and wait for me to say yes. When you then send the unlock, set its maxCredits to the quoted amount, so it can never spend more. Never buy credits unless I ask. Free Found searches you may run freely.
5. Integer ids never appear in the API: rows are named by their "id" (a GUID). Keep those ids, don't construct them.
6. Ask me which language I use, then go one step at a time: show the code for one call, have me run it, look at the real response, and only then write the next step.

If you get stuck or the API returns an error you can't explain, suggest I email support@donorato.com with the request and response (without the key).

Or start by hand

  1. Check the address

    The health check needs no key.

    curl https://api.donorato.com/api/health
  2. Read the reference

    Every operation, parameter and response is in the OpenAPI document. Open https://api.donorato.com/swagger in a browser, or load the JSON into your own tools.

    curl https://api.donorato.com/swagger/v1/swagger.json
  3. Get access

    Email support@donorato.com and tell us what you're building. Keep any key you're given in a secret store, never in your code.

What to expect

TopicHow it works
IdsRecords, orders and files are named by an id (a GUID). Keep the ids responses give you; never build one.
Free and paidA Found search is free and says only whether a donor has records. Summary and Details spend credits per donor, as in the app (see pricing).
QuotesEvery unlock can be quoted first, free, with the same request.
Spending capSend maxCredits with an unlock and it is refused rather than spend more than that.
FormatJSON requests and responses.
Referencehttps://api.donorato.com/swagger

Find out who gives, and where

Search a donor for free. Pay only for the records you want to see.