1. RunSignup
  2. API
  3. Methods
  4. Get Race Donation Summary

Get Race Donation Summary

Gets the donation summary for a race, including the fundraising goal, current total raised, and a per-charity breakdown with individual goals and totals. The per-charity response also includes processing fees paid by the race and directly paid donation profit totals, both in cents.

If no donation_period_id is provided, the current or most recent donation period is used.

Rate limit: 5 requests per hour per race. Exceeding this limit returns a 429 status code.

An example JSON response is below.

{
    "race_donation_summary": {
        "donation_period_id": 123,
        "goal_in_cents": 500000,
        "current_total_in_cents": 350000,
        "charities": [
            {
                "charity_id": 1,
                "charity_name": "Charity",
                "goal_in_cents": 200000,
                "current_total_in_cents": 150000,
                "total_processing_fee_paid_by_race_in_cents": 4500,
                "total_directly_paid_donation_profit_in_cents": 12000
            },
            {
                "charity_id": 2,
                "charity_name": "Another Charity Name",
                "goal_in_cents": 300000,
                "current_total_in_cents": 200000,
                "total_processing_fee_paid_by_race_in_cents": 6200,
                "total_directly_paid_donation_profit_in_cents": 18500
            }
        ]
    }
}

URL

https://api.runsignup.com/rest/v2/race-donations/get-race-donation-summary.json

HTTP Method

GET

Authentication

OAuth2 Support

This API endpoint supports OAuth2 authentication. See the OAuth2 Developer Guide for implementation details.

Note: We may leverage OAuth2 scopes in the future to limit what access APIs require.

Standard Parameters

Parameter HTTP Method Default Description Datatype
api_key GET API Key string
api_secret GET API Secret string
rsu_api_key GET API v2 key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET. string
sp_api_key GET Super partner API key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET. string
X-RSU-API-SECRET HTTP Header API v2 or super partner secret. string
Authorization HTTP Header Authorization Header. If using OAuth 2.0, fill this in with `Bearer <token>`. string

Parameters

Parameter HTTP Method Default Description Datatype
race_id
Required
GET ID of race. uint
donation_period_id GET Donation period ID. Defaults to the current or most recent period. uint

If you continue to use this site, you consent to use all cookies. We use cookies to offer you a better browsing experience. Read how we use cookies and how you can control them by visiting our Privacy Policy.

If you continue to use this site, you consent to use all cookies.