# CAMPFIRE Project Scraper (`bovi/campfire-scraper`) Actor

Collect public CAMPFIRE crowdfunding project listings with titles, campaign totals, supporters, remaining days, categories, regions, and image URLs.

- **URL**: https://apify.com/bovi/campfire-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 campfire project scrapers

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## CAMPFIRE Project Scraper

Scrape public CAMPFIRE crowdfunding project cards, including titles, URLs, raised JPY, supporters, remaining days, and listing-exposed category, prefecture, and image data. Results come from CAMPFIRE's popular-project listing; the Actor takes no URL, query or category input. A Free-plan run is a one-page preview and stops after result page 1. The price is $0.01 per result plus $0.00005 per run start on the Free plan. No CAMPFIRE login or API keys are needed.

- Save one row per unique project and omit values that are not shown on the card.
- Analyze popular CAMPFIRE listings using raised JPY, backers, remaining days, and funding percentage.
- Build category and prefecture datasets for crowdfunding market research when those card fields are available.
- Export project URLs and image URLs for campaign catalogs or downstream analysis.
- Run from your Apify account without supplying CAMPFIRE API keys or login details.

### What you get

The Actor reads public CAMPFIRE project cards, follows their public pagination, and stores one dataset record per unique project. Each other field is absent from a row when the listing card does not expose it.

| Field | Type | Description |
|---|---|---|
| `title` | string | Project title; always present for saved rows. |
| `url` | string | Project URL; always present for saved rows. |
| `amount_raised_jpy` | integer | Amount currently raised, in JPY, when shown; otherwise absent. |
| `backers` | integer | Supporter count when shown; otherwise absent. |
| `days_remaining` | integer | Remaining campaign days when shown; otherwise absent. |
| `funding_percent` | number | Funding progress percentage when shown; a whole number or decimal; otherwise absent. |
| `category` | string | Project category when exposed by the listing card; otherwise absent. |
| `location` | string | Value from the card's prefecture link when exposed; otherwise absent. |
| `image_url` | string | Project image URL when exposed; otherwise absent. |

Cards without a project URL of the form `/projects/<id>/view` or without a title are skipped. The parser merges cards by project ID, and repeated URL paths are skipped, so duplicates produce one row per project.

### Sample output

This is one real record from the dataset sample:

```json
{
  "title": "1,700食以上食べて辿り着いた至高のフリッツ、銀座に旗艦店をオープンしたい！",
  "url": "https://camp-fire.jp/projects/968704/view?list=projects_popular",
  "amount_raised_jpy": 2385083,
  "backers": 216,
  "days_remaining": 42,
  "funding_percent": 79,
  "category": "フード・飲食店",
  "image_url": "https://static.camp-fire.jp/uploads/project_version/image/1687006/23ac29cb-847e-43cb-9867-dba6a81e8133.jpeg?auto=format&fit=max&ref=search_project_card&w=600"
}
```

### Pricing

You pay only for the events listed below. This Actor does not use the Pay per event + usage option, so the platform usage of your runs (compute, proxy traffic and storage) is not billed to you separately.

| Event | Unit | Free plan price |
|---|---|---|
| `apify-default-dataset-item` | One saved result | **$0.01 (Free plan)** |
| `apify-actor-start` | Once per GB of run memory, minimum one; the default is 512 MB, so one per run | **$0.00005 (Free plan)** |

At these Free-plan prices, 1,000 `apify-actor-start` events cost **$0.05 on the Free plan**, and 10,000 cost **$0.50 on the Free plan**. The corresponding `apify-default-dataset-item` calculations are **$10 on the Free plan** for 1,000 results and **$100 on the Free plan** for 10,000 results.

A Free-plan run is a one-page preview: it fetches only result page 1 and stops before requesting page 2. The Apify Free plan includes **$5 of monthly platform usage credit**.

With the default 512 MB memory, one run start plus 1 result costs **$0.01005 on the Free plan**, and one run start plus 10 results costs **$0.10005 on the Free plan**.

### How to use

1. Open the CAMPFIRE Project Scraper in your Apify account.
2. Enter `maxResults` to set the maximum number of unique project records to save.
3. Keep the default `proxyConfiguration` for Apify RESIDENTIAL access, or set `useApifyProxy` to `false` when direct access is appropriate for your run.
4. Start the Actor and let it read CAMPFIRE's popular-project listing. It requests additional public pages only when more records are needed.
5. Review the dataset and run status. A Free-plan run writes the `OUTPUT` record only when it would have needed result page 2. The rows already pushed, including the row that reported a charge limit, remain in the dataset.
6. Repeat the run through Apify Schedules; daily is a suitable starting point for regularly collected listings.

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

#### Input example

```json
{
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

### Input parameters

| Parameter | Type | What it does | Default |
|---|---|---|---|
| `maxResults` | integer | Integer from 1 to 1000. Sets the maximum number of unique project records to save; the Actor stops when this limit is reached. | `50` |
| `proxyConfiguration` | object | Optional proxy settings for the Actor's public requests. The default uses Apify RESIDENTIAL; setting `useApifyProxy` to `false` allows direct access when appropriate. | Apify RESIDENTIAL configuration |

### Limits and edge cases

| Condition | What you see | What to do |
|---|---|---|
| `maxResults` is reached | The Actor stops after saving the requested number of unique project records | Increase `maxResults` (1–1000) if you need more records. A Free-plan run stops after result page 1 whatever `maxResults` is. |
| Run on the Free plan | When page 2 would have been needed, the Actor stops after 1 result page and does not request page 2. The status message starts `CAMPFIRE Project Scraper Free plan preview:` and includes the returned item count and `Capped: result pages.` The `OUTPUT` record in the run's default key-value store contains `free_plan_preview`, `items_returned`, `items_requested`, `limits_applied`, `upgrade_url`, and `message` | Review the run status and `OUTPUT`. The cap applies only when the platform marks the run as non-paying; a run not marked non-paying gets full access. |
| The run reaches the platform-reported charge limit | The Actor stops with the rows already pushed before the limit was reported, including that row. No `OUTPUT` record is written; the log reports the charge limit and the status message reports the collected record count | Review the saved dataset and the run's charge limit before running again. |
| No project rows are parsed from a requested page | The page loop ends normally. The run finishes as Succeeded with an empty or short dataset, the status message reports the collected record count, and no `OUTPUT` record stores a reason | Check that the public CAMPFIRE listing is available and review the proxy setting before retrying. |
| The page number reaches 40 before `maxResults` is reached | The Actor covers pages 1–40, then stops. No `OUTPUT` record is written, and the status message reports the collected record count | The Actor has no input to start from a later page. |
| A page request fails or times out | Rows reach the dataset one by one as parsed, unseen projects are pushed. Each page request is tried up to 6 times with a 40-second timeout, waiting 1, 2, 4, 8, and 16 seconds between attempts. After the sixth failure, the last error is raised; `main.py` does not catch it, so the run ends with that error. Rows already pushed stay in the dataset. Neither the `OUTPUT` record nor the collected-record status message is written | Review the run error and proxy configuration, then retry the run. |

CAMPFIRE campaign values can change on the live site, so a later run can contain different totals, supporter counts, days, or funding percentages in this public data.

### FAQ

#### How much does it cost to scrape CAMPFIRE?

On the Free plan, each result costs **$0.01**, and each run start costs **$0.00005**. See Pricing for the platform credit and worked arithmetic examples.

#### Why is my CAMPFIRE dataset empty?

If a requested listing page produces no parsed project rows, see the Empty page row in Limits and edge cases. It explains the Succeeded result and the collected-record status message.

#### Why is my run incomplete or not working?

An incomplete run can result from the Free-plan first-page preview, a max-results or page limit, a charge-limit stop, or a fetch failure. A Free-plan run writes the `OUTPUT` record only when it would have needed result page 2. See Limits and edge cases for what remains in the dataset and how failures end.

#### Is collecting public CAMPFIRE data legal?

This Actor reads CAMPFIRE's public, server-rendered project listings and public pagination. Whether collection and downstream use of this public data are allowed depends on CAMPFIRE's source terms and applicable law for your use case, so review those requirements before using the data.

### Usage statistics

This Actor creates a small, content-free summary at the end of each run, used only to monitor reliability and improve this Actor. No input values, credentials or scraped data are sent.

A copy of the exact record for your run is saved as `USAGE_STATS` in your own Apify key-value store.

To opt out, set `disableUsageStats` to `true` in the input. Nothing is sent then.

[Full list of collected fields](https://api.apify.com/v2/key-value-stores/v9rgHjMKLDGtHf8tD/records/index.html)

# Actor input Schema

## `maxResults` (type: `integer`):

Maximum number of project records to save. The actor stops as soon as this limit is reached.

## `proxyConfiguration` (type: `object`):

Optional proxy settings. Apify RESIDENTIAL is used by default for reliable access.

## Actor input object example

```json
{
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset with the collected project records.

# 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 = {
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/campfire-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 = {
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/campfire-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 '{
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/campfire-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/campfire-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/IsXEGqVICbMI1gE1q/builds/c3vEpacnV66e6HvJk/openapi.json
