Passer au contenu principal
GET
/
v2
/
client
/
fundraiser
/
{id}
/
heatmap
Heatmap
curl --request GET \
  --url https://api.crowdchange.dev/v2/client/fundraiser/{id}/heatmap \
  --header 'Authorization: <api-key>'
[
  {
    "amount_raised": 100,
    "n_donors": 10,
    "country": "CA",
    "state": "NY"
  }
]

Path parameters

id
integer
requis
Fundraiser ID.

Response

Returns an array of objects with the following fields.
amount_raised
number
Total raised amount
n_donors
number
Number of donors
country
string
Country code
state
string
State or province.
Other responses
StatusDescription
400Bad Request
403Forbidden
[
  {
    "amount_raised": 100,
    "n_donors": 10,
    "country": "CA",
    "state": "NY"
  }
]