Skip to main content
POST
/
api
/
gofundme
/
campaigns
/
search
/gofundme/campaigns/search
curl --request POST \
  --url https://api.anysite.io/api/gofundme/campaigns/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 500,
  "timeout": 300,
  "query": "<string>",
  "country": "US",
  "currency": "USD",
  "city": "<string>",
  "state": "<string>",
  "postal_code": "<string>",
  "has_donations": true,
  "goal_min": 1,
  "goal_max": 1,
  "raised_min": 1,
  "raised_max": 1,
  "donation_count_min": 1,
  "created_after": 1,
  "created_before": 1,
  "latitude": 0,
  "longitude": 0,
  "radius_meters": 2
}
'
[
  {
    "id": "<string>",
    "alias": "<string>",
    "url": "<string>",
    "campaign_title": "<string>",
    "@type": "GofundmeCampaignHit",
    "description": "<string>",
    "image": "<string>",
    "currency": "<string>",
    "goal_amount": 123,
    "current_amount": 123,
    "amount_to_goal": 123,
    "goal_progress": 123,
    "donation_count": 123,
    "heart_count": 123,
    "comment_count": 123,
    "category_id": 123,
    "category_name": "<string>",
    "project_type": "<string>",
    "charity_id": 123,
    "charity_name": "<string>",
    "organizer_name": "<string>",
    "location": {
      "@type": "GofundmeLocation",
      "city": "<string>",
      "state": "<string>",
      "country": "<string>",
      "postal_code": "<string>",
      "text": "<string>"
    },
    "latitude": 123,
    "longitude": 123,
    "youtube_url": "<string>",
    "language_locale": "<string>",
    "has_donations": true,
    "created_at": 123,
    "updated_at": 123,
    "last_donation_at": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of campaigns to return

Required range: 1 <= x <= 1000
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
query
string | null

Free-text keyword to match campaigns

category
enum<string> | null

Filter by campaign category

Available options:
Medical, Illness & Healing,
Funerals & Memorials,
Accidents & Emergencies,
Babies, Kids & Family,
Animals & Pets,
Rent, Food & Monthly Bills,
Other,
Education & Learning,
Community & Neighbors,
Business & Entrepreneurs,
Dreams, Hopes & Wishes,
Creative Arts, Music & Film,
Sports, Teams & Clubs,
Travel & Adventure,
Volunteer & Service,
Missions, Faith & Church,
Non-Profits & Charities,
Celebrations & Events,
Competitions & Pageants,
Environment,
Weddings & Honeymoons
country
string | null

Two-letter ISO country code of the campaign

Example:

"US"

currency
string | null

Three-letter ISO currency code

Example:

"USD"

locale
enum<string> | null

Filter by the campaign's language locale

Available options:
en_US,
en_GB,
de_DE,
es_MX,
es_ES,
it_IT,
fr_FR,
nl_NL,
fr_CA,
pt_BR
project_type
enum<string> | null

Filter by campaign type (personal or charity)

Available options:
personal,
charity
city
string | null

Filter by city name

state
string | null

Filter by state / region

postal_code
string | null

Filter by postal / ZIP code

has_donations
boolean | null

Only return campaigns that already received donations

goal_min
number | null

Minimum goal amount

Required range: x >= 0
goal_max
number | null

Maximum goal amount

Required range: x >= 0
raised_min
number | null

Minimum amount raised

Required range: x >= 0
raised_max
number | null

Maximum amount raised

Required range: x >= 0
donation_count_min
integer | null

Minimum number of donations

Required range: x >= 0
created_after
integer | null

Only campaigns created at or after this unix timestamp (seconds)

Required range: x >= 0
created_before
integer | null

Only campaigns created at or before this unix timestamp (seconds)

Required range: x >= 0
latitude
number | null

Latitude for radius search (paired with longitude)

Required range: -90 <= x <= 90
longitude
number | null

Longitude for radius search (paired with latitude)

Required range: -180 <= x <= 180
radius_meters
integer | null

Radius in meters around latitude/longitude

Required range: x >= 1

Response

Successful Response

id
string
required
alias
string
required
url
string
required
campaign_title
string
required
@type
string
default:GofundmeCampaignHit
description
string | null
image
string | null
currency
string | null
goal_amount
number | null
current_amount
number | null
amount_to_goal
number | null
goal_progress
number | null
donation_count
integer | null
heart_count
integer | null
comment_count
integer | null
category_id
integer | null
category_name
string | null
project_type
string | null
charity_id
integer | null
charity_name
string | null
organizer_name
string | null
location
object | null
latitude
number | null
longitude
number | null
youtube_url
string | null
language_locale
string | null
has_donations
boolean | null
created_at
integer | null
updated_at
integer | null
last_donation_at
integer | null