Skip to main content
POST
/
api
/
gofundme
/
campaigns
/
donations
/gofundme/campaigns/donations
curl --request POST \
  --url https://api.anysite.io/api/gofundme/campaigns/donations \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "campaign": "<string>",
  "count": 2,
  "timeout": 300,
  "order": "CREATED_AT"
}
'
[
  {
    "id": "<string>",
    "@type": "GofundmeDonation",
    "name": "<string>",
    "amount": 123,
    "currency": "<string>",
    "created_at": 123,
    "is_anonymous": true,
    "is_recurring": true,
    "is_offline": true,
    "is_verified": true,
    "is_giving_fund_donation": true,
    "profile_url": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
campaign
string
required

Campaign slug ('help-ben-fight-cancer') or full URL

Minimum string length: 1
Examples:

"help-ben-fight-cancer"

"https://www.gofundme.com/f/help-ben-fight-cancer"

count
integer
required

Number of donations to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
order
enum<string>
default:CREATED_AT

Return most recent or top (largest) donations

Available options:
CREATED_AT,
AMOUNT

Response

Successful Response

id
string
required
@type
string
default:GofundmeDonation
name
string | null
amount
number | null
currency
string | null
created_at
integer | null
is_anonymous
boolean | null
is_recurring
boolean | null
is_offline
boolean | null
is_verified
boolean | null
is_giving_fund_donation
boolean | null
profile_url
string | null