# GoFundMe Campaign Scraper (`crawlerbros/gofundme-campaign-scraper`) Actor

Scrape GoFundMe fundraising campaigns - search by keyword, category, country, and funding metrics, or look up campaigns directly by URL. Titles, descriptions, funding progress, donation counts, organizer info, images, and more.

- **URL**: https://apify.com/crawlerbros/gofundme-campaign-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Automation, Lead generation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## GoFundMe Campaign Scraper

Scrape GoFundMe fundraising campaigns — search by keyword, category, country, and funding metrics, or look up campaigns directly by URL. Get titles, descriptions, funding progress, donation counts, organizer info, images, and more. HTTP-only via GoFundMe's public search index. No auth, no proxy.

### What this actor does

- **Two modes:** `search` (keyword + filters) and `byUrls` (exact lookup)
- **Global coverage:** campaigns across 20 countries (US, UK, Germany, Canada, Australia, and more)
- **Rich filters:** category, country, organizer language, goal amount, amount raised, donation count, heart/like count, created-date range, has-donations flag, charity name, registered-charity-only, popular/trending-only, crisis-response-only
- **Flexible URL input:** accepts full GoFundMe URLs, `gofund.me` short links, bare slugs, or numeric campaign IDs
- **Sortable:** relevance, newest, most funded, most donations, most hearts, highest goal
- Empty fields are always omitted — no null/sentinel values

### Output per campaign

- `campaignId`, `title`, `description`
- `organizerName`, `beneficiaryName` (if the funds' recipient differs from the organizer), `charityName` (if a registered charity)
- `category`
- `city`, `state`, `country`, `location`, `zip`, `latitude`, `longitude`
- `goalAmount`, `currentAmount`, `amountToGoal`, `goalProgressPercent`, `currency`
- `donationCount`, `recentDonationCount`, `heartCount`, `commentCount`, `socialShareCount`
- `createdAt`, `updatedAt`, `lastDonationAt` — UTC ISO timestamps
- `hasDonations`, `isPopular`, `isRecentlyCreated`, `hasRecentDonations`, `donationsClosed`, `isRegisteredCharity`, `isCrisisResponse`
- `campaignTags[]`
- `language`, `languageLocale`
- `imageUrl`, `thumbnailUrl`, `youtubeUrl` (if a video was added)
- `campaignUrl`, `shortUrl` (`gofund.me/...` link, if set)
- `recordType: "campaign"`, `scrapedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search` / `byUrls` |
| `searchQuery` | string | `medical` | Free-text keyword (mode=search) |
| `campaignUrls` | array | – | GoFundMe URLs / short links / slugs / IDs (mode=byUrls) |
| `categories` | array | – | One or more of the 21 GoFundMe categories |
| `countries` | array | – | One or more of 20 supported countries |
| `languageLocale` | string | Any | Organizer's language/locale |
| `minGoalAmount` / `maxGoalAmount` | int | – | Funding goal bounds |
| `minCurrentAmount` / `maxCurrentAmount` | int | – | Amount-raised bounds |
| `minDonationCount` | int | – | Minimum number of donations |
| `minHeartCount` | int | – | Minimum hearts/likes |
| `createdAfter` / `createdBefore` | string | – | `YYYY-MM-DD` date bounds |
| `hasDonationsOnly` | bool | `false` | Exclude campaigns with zero donations |
| `charityName` | string | – | Exact registered-charity name (mode=search) |
| `registeredCharityOnly` | bool | `false` | Only campaigns tied to a verified registered charity |
| `popularOnly` | bool | `false` | Only campaigns GoFundMe currently flags as popular/trending |
| `crisisResponseOnly` | bool | `false` | Only campaigns linked to an active crisis-response leaderboard |
| `sortBy` | string | `relevance` | `relevance` / `newest` / `mostFunded` / `mostDonations` / `mostHearts` / `highestGoal` |
| `sortDirection` | string | `desc` | `desc` / `asc` |
| `maxItems` | int | `50` | Hard cap (1–1000) |

#### Example: recent, well-funded medical campaigns in the US

```json
{
  "mode": "search",
  "searchQuery": "surgery",
  "categories": ["Medical, Illness & Healing"],
  "countries": ["US"],
  "minCurrentAmount": 10000,
  "sortBy": "mostFunded",
  "maxItems": 50
}
```

#### Example: lookup by URL

```json
{
  "mode": "byUrls",
  "campaignUrls": [
    "https://www.gofundme.com/f/support-brandon-buckinghams-medical-recovery",
    "https://gofund.me/brandon-kite-22nov"
  ]
}
```

### Use cases

- **Fundraising research** — analyze successful campaign patterns by category or country
- **Crisis response monitoring** — track disaster-relief and emergency campaigns as they emerge
- **Nonprofit/charity research** — identify registered-charity campaigns and community trends
- **Due diligence** — pull campaign details, organizer names, and funding progress by URL
- **Market research** — study fundraising goal sizes and donation patterns by category/region

### Data source & limitations

Data comes from GoFundMe's public campaign search index, the same source `gofundme.com/s` queries from every visitor's browser. Coverage spans the 20 countries GoFundMe currently supports; campaigns set to private or removed by GoFundMe will not appear. `sortBy` values other than `relevance` reorder each fetched page of results rather than re-sorting GoFundMe's entire multi-million-campaign index, since GoFundMe does not expose a public globally-sorted index for those fields — for exhaustive "true top-N by amount raised" analysis, fetch with a higher `maxItems` and re-sort the output yourself.

### FAQ

**Can I search by donor name or donation amount?**
No — individual donation/donor-level data is not part of the public campaign index this actor uses.

**Why do some campaigns show no `charityName`?**
Most GoFundMe campaigns are personal fundraisers, not registered nonprofits; `charityName` only appears for verified charity campaigns.

**Does this include private or unlisted campaigns?**
No — only campaigns indexed in GoFundMe's public search are returned.

**How current is the data?**
Each run queries GoFundMe's live search index directly, so results (funding totals, donation counts) reflect the current state at run time.

# Actor input Schema

## `mode` (type: `string`):

What to fetch.

## `searchQuery` (type: `string`):

Free-text keyword search across campaign title, description, and organizer name (mode=search).

## `campaignUrls` (type: `array`):

GoFundMe campaign URLs (e.g. `https://www.gofundme.com/f/my-campaign`), `gofund.me` short links, bare slugs, or numeric campaign IDs.

## `categories` (type: `array`):

Restrict to one or more fundraiser categories.

## `countries` (type: `array`):

Restrict to one or more campaign countries (ISO 3166-1 alpha-2).

## `languageLocale` (type: `string`):

Restrict to campaigns whose organizer language matches this locale.

## `minGoalAmount` (type: `integer`):

Lower bound on the campaign's funding goal (in the campaign's own currency).

## `maxGoalAmount` (type: `integer`):

Upper bound on the campaign's funding goal.

## `minCurrentAmount` (type: `integer`):

Lower bound on funds raised so far.

## `maxCurrentAmount` (type: `integer`):

Upper bound on funds raised so far.

## `minDonationCount` (type: `integer`):

Only campaigns with at least this many donations.

## `minHeartCount` (type: `integer`):

Only campaigns with at least this many hearts/likes.

## `createdAfter` (type: `string`):

Only campaigns created on or after this date.

## `createdBefore` (type: `string`):

Only campaigns created on or before this date.

## `hasDonationsOnly` (type: `boolean`):

Exclude campaigns that have not yet received any donations.

## `charityName` (type: `string`):

Restrict to campaigns raising funds for this exact registered charity (e.g. `American Red Cross`, `American Cancer Society`).

## `registeredCharityOnly` (type: `boolean`):

Exclude personal fundraisers; keep only campaigns tied to a verified registered charity.

## `popularOnly` (type: `boolean`):

Keep only campaigns GoFundMe currently flags as popular/trending.

## `crisisResponseOnly` (type: `boolean`):

Keep only campaigns linked to an active GoFundMe crisis-response leaderboard (disaster relief, emergencies, etc.).

## `sortBy` (type: `string`):

How to order results within each fetched page (mode=search). `relevance` uses GoFundMe's own search ranking.

## `sortDirection` (type: `string`):

Ascending or descending order (ignored when sortBy=relevance).

## `maxItems` (type: `integer`):

Hard cap on emitted records.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "medical",
  "campaignUrls": [],
  "categories": [],
  "countries": [],
  "languageLocale": "",
  "hasDonationsOnly": false,
  "registeredCharityOnly": false,
  "popularOnly": false,
  "crisisResponseOnly": false,
  "sortBy": "relevance",
  "sortDirection": "desc",
  "maxItems": 50
}
```

# Actor output Schema

## `campaigns` (type: `string`):

Dataset containing all scraped GoFundMe campaigns.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "search",
    "searchQuery": "medical",
    "campaignUrls": [],
    "categories": [],
    "countries": [],
    "languageLocale": "",
    "hasDonationsOnly": false,
    "registeredCharityOnly": false,
    "popularOnly": false,
    "crisisResponseOnly": false,
    "sortBy": "relevance",
    "sortDirection": "desc",
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/gofundme-campaign-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "search",
    "searchQuery": "medical",
    "campaignUrls": [],
    "categories": [],
    "countries": [],
    "languageLocale": "",
    "hasDonationsOnly": False,
    "registeredCharityOnly": False,
    "popularOnly": False,
    "crisisResponseOnly": False,
    "sortBy": "relevance",
    "sortDirection": "desc",
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/gofundme-campaign-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "search",
  "searchQuery": "medical",
  "campaignUrls": [],
  "categories": [],
  "countries": [],
  "languageLocale": "",
  "hasDonationsOnly": false,
  "registeredCharityOnly": false,
  "popularOnly": false,
  "crisisResponseOnly": false,
  "sortBy": "relevance",
  "sortDirection": "desc",
  "maxItems": 50
}' |
apify call crawlerbros/gofundme-campaign-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlerbros/gofundme-campaign-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/2YzIJII1hqI0dwof9/builds/WNghETKPQfPrZDCCg/openapi.json
