Search nonprofits
Searches the nonprofit registry Daffodil grants to, by name or EIN. Check grantable before offering a nonprofit to a Donor.
Your secret API key: dfl_live_… in production, dfl_test_… in the Sandbox.
In: header
Query Parameters
A name or an EIN.
1 <= length <= 200How many objects to return, 1 to 100.
201 <= value <= 100The next_cursor from the previous page. Omit for the first page.
Response Body
curl -X GET "https://sandbox.api.getdaffodil.com/v1/nonprofits?q=food+bank&limit=20&cursor=string"{
"data": [
{
"id": "np_3O9F93l8HsuBKoBLX52FGS",
"ein": "12-3456789",
"name": "Bay Area Food Bank",
"city": "San Francisco",
"state": "CA",
"grantable": true
}
],
"has_more": true,
"next_cursor": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}Update a Campaign PATCH
Changes the fields you send. A `draft` Campaign can go `live`, `paused`, or `ended`; `live` and `paused` move between each other or to `ended`; nothing returns to `draft`, and an ended Campaign stays ended. Going `live` or `paused` from `draft` counts against your Account’s Campaign limit (403 `entitlement_limit`). A live or paused Campaign ends by itself once `ends_at` passes, with `campaign.ended`.
Post interest or a fee to a Fund POST
Posts an `interest` or `fee` Ledger entry to a Fund at once and sends `ledger_entry.posted`. A fee larger than the Fund’s `balance` is refused with 409 `insufficient_funds`. Sandbox only: exists on `sandbox.api.getdaffodil.com` and answers 404 `not_found` everywhere else.