{
  "openapi": "3.0.1",
  "info": {
    "title": "GoFundMe Campaign Scraper",
    "description": "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.",
    "version": "1.0",
    "x-build-id": "WNghETKPQfPrZDCCg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~gofundme-campaign-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-gofundme-campaign-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/crawlerbros~gofundme-campaign-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-gofundme-campaign-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/crawlerbros~gofundme-campaign-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-gofundme-campaign-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byUrls"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text keyword search across campaign title, description, and organizer name (mode=search).",
            "default": "medical"
          },
          "campaignUrls": {
            "title": "Campaign URLs (mode=byUrls)",
            "type": "array",
            "description": "GoFundMe campaign URLs (e.g. `https://www.gofundme.com/f/my-campaign`), `gofund.me` short links, bare slugs, or numeric campaign IDs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Category (mode=search)",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict to one or more fundraiser categories.",
            "items": {
              "type": "string",
              "enum": [
                "Medical, Illness & Healing",
                "Rent, Food & Monthly Bills",
                "Animals & Pets",
                "Funerals & Memorials",
                "Accidents & Emergencies",
                "Babies, Kids & Family",
                "Community & Neighbors",
                "Education & Learning",
                "Non-Profits & Charities",
                "Other",
                "Dreams, Hopes & Wishes",
                "Travel & Adventure",
                "Sports, Teams & Clubs",
                "Creative Arts, Music & Film",
                "Business & Entrepreneurs",
                "Competitions & Pageants",
                "Missions, Faith & Church",
                "Celebrations & Events",
                "Volunteer & Service",
                "Environment",
                "Weddings & Honeymoons",
                "Birthday Pots"
              ],
              "enumTitles": [
                "Medical, Illness & Healing",
                "Rent, Food & Monthly Bills",
                "Animals & Pets",
                "Funerals & Memorials",
                "Accidents & Emergencies",
                "Babies, Kids & Family",
                "Community & Neighbors",
                "Education & Learning",
                "Non-Profits & Charities",
                "Other",
                "Dreams, Hopes & Wishes",
                "Travel & Adventure",
                "Sports, Teams & Clubs",
                "Creative Arts, Music & Film",
                "Business & Entrepreneurs",
                "Competitions & Pageants",
                "Missions, Faith & Church",
                "Celebrations & Events",
                "Volunteer & Service",
                "Environment",
                "Weddings & Honeymoons",
                "Birthday Pots"
              ]
            },
            "default": []
          },
          "countries": {
            "title": "Country (mode=search)",
            "uniqueItems": true,
            "type": "array",
            "description": "Restrict to one or more campaign countries (ISO 3166-1 alpha-2).",
            "items": {
              "type": "string",
              "enum": [
                "US",
                "GB",
                "DE",
                "CA",
                "AU",
                "MX",
                "IT",
                "NL",
                "ES",
                "FR",
                "IE",
                "BE",
                "CH",
                "PT",
                "AT",
                "SE",
                "DK",
                "NO",
                "FI",
                "LU"
              ],
              "enumTitles": [
                "United States",
                "United Kingdom",
                "Germany",
                "Canada",
                "Australia",
                "Mexico",
                "Italy",
                "Netherlands",
                "Spain",
                "France",
                "Ireland",
                "Belgium",
                "Switzerland",
                "Portugal",
                "Austria",
                "Sweden",
                "Denmark",
                "Norway",
                "Finland",
                "Luxembourg"
              ]
            },
            "default": []
          },
          "languageLocale": {
            "title": "Organizer language (mode=search)",
            "enum": [
              "",
              "en_US",
              "en_GB",
              "de_DE",
              "es_MX",
              "it_IT",
              "es_ES",
              "fr_FR",
              "nl_NL",
              "fr_CA",
              "pt_BR"
            ],
            "type": "string",
            "description": "Restrict to campaigns whose organizer language matches this locale.",
            "default": ""
          },
          "minGoalAmount": {
            "title": "Min goal amount",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Lower bound on the campaign's funding goal (in the campaign's own currency)."
          },
          "maxGoalAmount": {
            "title": "Max goal amount",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Upper bound on the campaign's funding goal."
          },
          "minCurrentAmount": {
            "title": "Min amount raised",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Lower bound on funds raised so far."
          },
          "maxCurrentAmount": {
            "title": "Max amount raised",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Upper bound on funds raised so far."
          },
          "minDonationCount": {
            "title": "Min donation count",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Only campaigns with at least this many donations."
          },
          "minHeartCount": {
            "title": "Min heart (like) count",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Only campaigns with at least this many hearts/likes."
          },
          "createdAfter": {
            "title": "Created after (YYYY-MM-DD)",
            "type": "string",
            "description": "Only campaigns created on or after this date."
          },
          "createdBefore": {
            "title": "Created before (YYYY-MM-DD)",
            "type": "string",
            "description": "Only campaigns created on or before this date."
          },
          "hasDonationsOnly": {
            "title": "Only campaigns with donations",
            "type": "boolean",
            "description": "Exclude campaigns that have not yet received any donations.",
            "default": false
          },
          "charityName": {
            "title": "Charity name (mode=search)",
            "type": "string",
            "description": "Restrict to campaigns raising funds for this exact registered charity (e.g. `American Red Cross`, `American Cancer Society`)."
          },
          "registeredCharityOnly": {
            "title": "Only registered-charity campaigns",
            "type": "boolean",
            "description": "Exclude personal fundraisers; keep only campaigns tied to a verified registered charity.",
            "default": false
          },
          "popularOnly": {
            "title": "Only popular/trending campaigns",
            "type": "boolean",
            "description": "Keep only campaigns GoFundMe currently flags as popular/trending.",
            "default": false
          },
          "crisisResponseOnly": {
            "title": "Only crisis-response campaigns",
            "type": "boolean",
            "description": "Keep only campaigns linked to an active GoFundMe crisis-response leaderboard (disaster relief, emergencies, etc.).",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "newest",
              "mostFunded",
              "mostDonations",
              "mostHearts",
              "highestGoal"
            ],
            "type": "string",
            "description": "How to order results within each fetched page (mode=search). `relevance` uses GoFundMe's own search ranking.",
            "default": "relevance"
          },
          "sortDirection": {
            "title": "Sort direction",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Ascending or descending order (ignored when sortBy=relevance).",
            "default": "desc"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 50
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}