# Daffy is a modern donor-advised fund (DAF) platform designed to make charitable giving easy, affordable, and accessible. Website: https://www.daffy.org Help Center: https://help.daffy.org # API Overview The Daffy Public API enables developers to interact programmatically with donor-advised funds, donations, contributions, non-profits, and user data. Getting started: https://docs.daffy.org/getting-started Authentication: https://docs.daffy.org/auth Base URL: `https://public.daffy.org/v1` Authentication: Provide `X-Api-Key` header with your personal API key. Responses: JSON Pagination: Many endpoints return a paginated structure (`items` + `meta`). See docs: https://docs.daffy.org/ref/pagination # API Reference Links - Balance: https://docs.daffy.org/ref/balance - Causes: https://docs.daffy.org/ref/causes - Contributions: https://docs.daffy.org/ref/contributions - Donations: https://docs.daffy.org/ref/donations - Gifts: https://docs.daffy.org/ref/gifts - Non Profits: https://docs.daffy.org/ref/non_profits - Users: https://docs.daffy.org/ref/users # Example Requests ## Get Balance ``` GET /v1/users/me/balance ``` ```bash curl "https://public.daffy.org/v1/users/me/balance" -H "X-Api-Key: " ``` ## Get Donations ``` GET /v1/donations ``` ```bash curl "https://public.daffy.org/v1/donations" -H "X-Api-Key: " ``` ## Search Non Profits ``` GET /v1/non_profits?cause_id=1&query=trees ``` ```bash curl "https://public.daffy.org/v1/non_profits?cause_id=1&query=trees" -H "X-Api-Key: " ``` # Notes - API requests must include the `X-Api-Key` header. - Contributions and balance endpoints only return data associated with the authenticated user. - Donations visibility may vary (public vs private). - Minimum donation and gift amounts apply (see docs). # About Daffy - Get Started with Daffy: http://help.daffy.org/en/collections/5461832-get-started-with-daffy - Membership & Pricing: http://help.daffy.org/en/collections/3470278-membership-pricing - Manage Your DAF: http://help.daffy.org/en/collections/10671593-manage-your-daf - Contribute to Your DAF: http://help.daffy.org/en/collections/3148646-contribute-to-your-daf - Donate to Charities: http://help.daffy.org/en/collections/3148647-donate-to-charities - Run Campaigns: http://help.daffy.org/en/collections/6682672-run-campaigns - Invest Your DAF: http://help.daffy.org/en/collections/3148665-invest-your-daf - Taxes & Reporting: http://help.daffy.org/en/collections/3148654-taxes-reporting - For Charities: http://help.daffy.org/en/collections/3586650-for-charities - What's New?: http://help.daffy.org/en/collections/12314612-what-s-new - Promotions: http://help.daffy.org/en/collections/3229755-promotions