# Gumroad Scraper \[Just 💰$0.72] — Products, Prices & Ratings (`blackfalcondata/gumroad-com-scraper`) Actor

Scrape Gumroad digital products by keyword. Every record carries name, price, rating and seller plus the full description and sales count when details are on. Incremental runs return only new products ready for a spreadsheet.

- **URL**: https://apify.com/blackfalcondata/gumroad-com-scraper.md
- **Developed by:** [Black Falcon Data](https://apify.com/blackfalcondata) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.72 / 1,000 results

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

### What does Gumroad Scraper do?

Gumroad Scraper extracts structured product data from [gumroad.com](https://gumroad.com) — including contact details, full descriptions, prices, and seller ratings. It supports keyword search and controllable result limits, so you can run the same query consistently over time. The actor also offers detail enrichment (full descriptions and contact information) where the source provides them.

**New to Apify?** [Sign up free](https://console.apify.com/sign-up?fpr=1h3gvi) and use the included $5 monthly platform credit to test this actor.

### Key features

- **💵 Structured pricing:** structured `price`, `currency`, `originalPrice` and `discountPct` on every product — numbers you can sort and compare without parsing price text.
- **🏪 Seller details:** `sellerName` and `sellerId` identify who sells each product.
- **⭐ Ratings and review counts:** `ratingCount`, `reviews` and `reviewCount` for every product that has them.
- **🥇 Ranking and badges:** `rank` as gumroad.com shows them on each product.
- **🖼️ Images:** `thumbnailUrl`, `mainImage` and `images` with every image URL, not just the thumbnail.
- **🧾 Specifications:** `attributes` as structured data, not a text blob.
- **🔍 Keyword search:** search gumroad.com by keyword with the `query` input.
- **🔗 Paste-mode:** paste gumroad.com URLs into `startUrls` to scrape exactly the pages you picked in the browser.
- **💰 Price range filter:** limit results to a budget with `minPrice` and `maxPrice`.
- **♻️ Incremental mode:** daily runs emit only listings that are new or whose price/condition changed since last run. Perfect for inventory-diff dashboards and competitive pricing alerts. Saves 80–95% on recurring monitoring.
- **🔔 Notifications:** telegram / Slack / Discord / WhatsApp / webhook alerts on each run. Combine with incremental to ping only when prices or inventory actually move.

### What data can you extract from gumroad.com?

Each result includes Core product fields (`query`, `sort`, `rank`, `position`, `searchTotal`, `productId`, `permalink`, and `name`, and more), detail fields when enrichment is enabled (`description`, `descriptionText`, `descriptionHtml`, `descriptionMarkdown`, and `detailFetched`), and contact information (`extractedEmails` and `extractedPhones`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

Enable detail enrichment in the input to get richer fields such as full descriptions and contact information where the source provides them.

### Input

The main inputs are a search keyword and a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`query`** — Product search keywords. Use a JSON array (e.g. \["notion template","figma kit"]) to run several searches in one go. Required if no startUrls provided.
- **`taxonomy`** — Optional Gumroad category slug to narrow the search (e.g. "design", "software-development", "business-and-money"). Use a JSON array for several categories.
- **`sort`** — Order the search results are returned in. (default: `"relevance"`)
- **`minPrice`** — Only products priced at or above this amount (whole currency units). Leave empty for no minimum.
- **`maxPrice`** — Only products priced at or below this amount (whole currency units). Leave empty for no maximum.
- **`maxResults`** — Maximum total results (0 = unlimited). (default: `100`)
- **`startUrls`** — Paste raw Gumroad search URLs. Each URL becomes its own search task; results are merged and deduped by product ID across all URLs. When provided, startUrls REPLACE the query/category fields (each supported URL becomes one task; unsupported URLs are skipped, and if none is supported the run stops with an input error). (default: `[]`)
- **`includeDetails`** — Fetch each product's detail page for the full description, attributes, sales count and timestamps. Turn off for a faster, search-only run. (default: `true`)
- **`descriptionMaxLength`** — Truncate description, descriptionText and descriptionMarkdown to N chars. 0 = no truncation. descriptionHtml is not truncated. (default: `0`)
- **`compact`** — Core fields only (for AI-agent/MCP workflows). (default: `false`)
- **`descriptionFormat`** — Pick a single description representation. `all` keeps every variant; `text` / `html` / `markdown` drop the others. (default: `"all"`)
- **`excludeEmptyFields`** — Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards. (default: `false`)
- ...and 22 more parameters

### Input examples

**Basic search** — Keyword-driven search with a result cap.

→ Full payload per result — all standard fields populated where the source provides them.

```json
{
  "query": "notion template",
  "maxResults": 50
}
```

**Incremental tracking** — Only emit products that changed since the previous run with this `stateKey`.

→ First run builds the baseline state. Subsequent runs emit only records that are new or whose tracked content changed. Set `emitUnchanged: true` to include unchanged records as well.

```json
{
  "query": "notion template",
  "maxResults": 200,
  "incrementalMode": true,
  "stateKey": "notion-template-tracker"
}
```

**Compact output for AI agents** — Return only core fields for AI-agent and MCP workflows.

→ Small payload with the most important fields — ideal for piping into LLMs without token overhead.

```json
{
  "query": "notion template",
  "maxResults": 50,
  "compact": true
}
```

### Output

Each run produces a dataset of structured product records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example product record

```json
{
  "query": "notion template",
  "sort": "relevance",
  "rank": 1,
  "position": 1,
  "searchTotal": 19732,
  "productId": "rS7gSD0HH4dRnYrlzIQHkg==",
  "permalink": "hpqcg",
  "name": "Headquarters Notion Productivity Template",
  "url": "https://productivesetups.gumroad.com/l/headquarters",
  "portalUrl": "https://productivesetups.gumroad.com/l/headquarters",
  "sellerName": "Productive Setups",
  "sellerUrl": "https://productivesetups.gumroad.com",
  "sellerVerified": false,
  "sellerId": "3915531815605",
  "sellerAvatarUrl": "https://public-files.gumroad.com/m8ls0womb4jilyjylxr3c8k779bw",
  "price": 79,
  "priceCents": 7900,
  "currency": "AUD",
  "isPayWhatYouWant": false,
  "isRecurring": false,
  "ratingCount": 200,
  "ratingAverage": 5,
  "ratingValue": 5,
  "reviewCount": 200,
  "hasSocialProof": true,
  "nativeType": "digital",
  "isSalesLimited": false,
  "thumbnailUrl": "https://public-files.gumroad.com/amydmj889wi1brzz5eeztpayq9ii",
  "productType": "digital",
  "mainImage": "https://public-files.gumroad.com/0mun5pmnyspj4v3kvn2h8v05xzic",
  "images": [
    "https://public-files.gumroad.com/0mun5pmnyspj4v3kvn2h8v05xzic"
  ],
  "description": "Simplify Your Life and Accomplish More with My Second Brain Notion Template - the Ultimate Produc...",
  "descriptionText": "Simplify Your Life and Accomplish More with My Second Brain Notion Template - the Ultimate Productivity System\nHeadquarters is the Personal All-In-One Notion Template designed around the BEST Producti...",
  "descriptionHtml": "<h2><strong>Simplify Your Life and Accomplish More with My Second Brain Notion Template - <em>the Ultimate Productivity System</em></strong></h2><p>Headquarters is the Personal All-In-One Notion Templ...",
  "descriptionMarkdown": "## Simplify Your Life and Accomplish More with My Second Brain Notion Template - the Ultimate Productivity System\n\nHeadquarters is the Personal All-In-One Notion Template designed around the BEST Prod...",
  "isPublished": true,
  "isPhysical": false,
  "createdAt": "2023-10-22T03:03:30Z",
  "updatedAt": "2026-03-31T04:44:24Z",
  "ratingPercentages": {
    "0": 0,
    "1": 0,
    "2": 0,
    "3": 1,
    "4": 99
  },
  "extractedEmails": [
    "consultantnotion@gmail.com",
    "consultantnotion@gmail.comlikewise",
    "consultantnotion@gmail.comwhen"
  ],
  "extractedUrls": [
    "https://cdn.iframe.ly/api/iframe?url=https%3A%2F%2Fyoutu.be%2Fz4Ce-IKXZhM&amp;key=31708e31359468f73bc5b03e9dcab7da",
    "https://public-files.gumroad.com/42n5z6tckfwggt47rqtggg1x16ww",
    "https://public-files.gumroad.com/89d51gbmvogv7zi5jhowlm5qaqd7",
    "https://public-files.gumroad.com/bg6935xxyv6lpar0n3fkzszfqc5i",
    "https://public-files.gumroad.com/czxd521kvgteyzvt3sww691rxudw",
    "... 10 more items"
  ],
  "listingId": "c204a9fabfdb20c7b30203610d508d504af54b7754d79807120d3c82123cb6e5",
  "searchQuery": "notion template",
  "contentQuality": "full",
  "detailFetched": true,
  "scrapedAt": "2026-10-15T05:25:12.239Z",
  "source": "gumroad.com"
}
```

### Incremental fields

When incremental mode is on, each record also carries:

- `changeType` — one of `NEW`, `UPDATED`, `UNCHANGED`, `REAPPEARED`, `EXPIRED`. Default output covers `NEW` / `UPDATED` / `REAPPEARED`; set `emitUnchanged: true` or `emitExpired: true` to opt into the others.
- `isRepost`, `repostOfId`, `repostDetectedAt` — populated when a new listing matches the tracked content of a previously expired one. Set `skipReposts: true` to drop detected reposts from the output.

### How to scrape gumroad.com

1. Go to [Gumroad Scraper](https://apify.com/blackfalcondata/gumroad-com-scraper?fpr=1h3gvi) in Apify Console.
2. Enter a search keyword.
3. Set `maxResults` to control how many results you need.
4. Enable `includeDetails` if you need full descriptions, contact info.
5. Click **Start** and wait for the run to finish.
6. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Extract product data from gumroad.com for market research and competitive analysis.
- Track pricing trends across regions and categories over time.
- Monitor new and changed products on scheduled runs without processing the full dataset every time.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
- Export clean, structured data to dashboards, spreadsheets, or data warehouses.
- Benchmark seller / dealer reputation using rating fields.

### How much does it cost to scrape gumroad.com?

Gumroad Scraper uses [pay-per-event](https://docs.apify.com/platform/actors/paid-actors/pay-per-event) pricing. You pay a small fee when the run starts and then for each result that is actually produced.

- **Run start:** $0.0081 per run
- **Per result:** $0.00072 per product record

Example costs:

- 10 results: **$0.015**
- 25 results: **$0.026**
- 100 results: **$0.08**
- 200 results: **$0.15**
- 500 results: **$0.37**

#### Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of products that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 250 products per run, daily polling (30 runs/month). Costs scale linearly with the number of products.

| Churn rate | Full re-scrape run cost | Incremental run cost | Savings vs full re-scrape | Monthly cost after baseline |
|---|---:|---:|---:|---:|
| 5% — stable niche query | $0.19 | $0.02 | $0.17 (91%) | $0.51 |
| 15% — moderate broad query | $0.19 | $0.04 | $0.15 (81%) | $1.05 |
| 30% — high-volume aggregator | $0.19 | $0.06 | $0.13 (67%) | $1.86 |

Full re-scrape monthly cost at the same cadence: $5.64. First month with incremental costs $0.68 / $1.21 / $1.99 for the 5% / 15% / 30% scenarios because the first run builds baseline state at full cost before incremental savings apply.

Platform usage is included in the per-result fee shown above.

### FAQ

#### How many results can I get from gumroad.com?

The number of results depends on the search query and available products on gumroad.com. Use the `maxResults` parameter to control how many results are returned per run.

#### Does Gumroad Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed products on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate Gumroad Scraper with other apps?

Yes. Gumroad Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use Gumroad Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use Gumroad Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode, `descriptionMaxLength`, a single `descriptionFormat`, and `excludeEmptyFields` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape gumroad.com?

This actor extracts publicly available data from gumroad.com. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/gumroad-com-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [🚗 mobile.de \[$0.59/1K💰\] Fast Scraper · Finance · Dealer GPS](https://apify.com/blackfalcondata/mobile-de-scraper?fpr=1h3gvi) — Scrape mobile.de — Germany's largest car marketplace (1.4M+ listings) at $0.6 / 1,000 results. Get.
- [ALDI Scraper — Grocery Prices, 14 Countries](https://apify.com/blackfalcondata/aldi-scraper?fpr=1h3gvi) — Scrape ALDI grocery products and prices across 14 countries — the UK, Ireland, Germany, Austria,.
- [ALDI US Scraper — Grocery Prices by ZIP Code](https://apify.com/blackfalcondata/aldi-us-scraper?fpr=1h3gvi) — Scrape aldi.us grocery products with prices, sizes, brands, categories, per-unit pricing and stock..
- [Amazon All Countries Scraper](https://apify.com/blackfalcondata/amazon-all-countries-scraper?fpr=1h3gvi) — Scrape Amazon products from 22 marketplaces by keyword or pasted search URL, with ASIN, title,.
- [Amazon Product Scraper - Search Results & Product Details](https://apify.com/blackfalcondata/amazon-scraper?fpr=1h3gvi) — Scrape Amazon product listings by search term — title, ASIN, price, list price, star rating,.
- [Apotek1 Norway Scraper — Pharmacy Products](https://apify.com/blackfalcondata/apotek1-no-scraper?fpr=1h3gvi) — Scrape apotek1.no — Norway's online pharmacy. Get structured data for medicines, supplements.
- [Apotekhjartat Sweden Scraper](https://apify.com/blackfalcondata/apotekhjartat-se-scraper?fpr=1h3gvi) — Scrape apotekhjartat.se — every product from a search, category or brand page of the Swedish online.
- [AutoScout24 Scraper \[Just 💰$0.49\] — 930K Cars, 9 Countries](https://apify.com/blackfalcondata/autoscout24-scraper?fpr=1h3gvi) — 💰 $0.49 per 1,000 cars, platform usage included. Scrape autoscout24.com — Europe's largest.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

### Disclaimer

This actor accesses only publicly available data on gumroad.com. You are responsible for how you use the extracted data — in particular any personal information such as names, phone numbers, or email addresses — and for complying with Gumroad's terms of use, applicable data-protection law (including the GDPR where it applies), and the anti-spam rules of your jurisdiction.

This actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Gumroad or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

### Search keywords

gumroad scraper, gumroad api, apify gumroad, gumroad data extraction, gumroad.com scraper, gumroad.com data, gumroad.com api.

# Changelog

This Actor's version history is a separate document: https://apify.com/blackfalcondata/gumroad-com-scraper/changelog.md

# Actor input Schema

## `query` (type: `string`):

Product search keywords. Use a JSON array (e.g. \["notion template","figma kit"]) to run several searches in one go. Required if no startUrls provided.

## `taxonomy` (type: `string`):

Optional Gumroad category slug to narrow the search (e.g. "design", "software-development", "business-and-money"). Use a JSON array for several categories.

## `sort` (type: `string`):

Order the search results are returned in.

## `minPrice` (type: `integer`):

Only products priced at or above this amount (whole currency units). Leave empty for no minimum.

## `maxPrice` (type: `integer`):

Only products priced at or below this amount (whole currency units). Leave empty for no maximum.

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

Maximum total results (0 = unlimited).

## `startUrls` (type: `array`):

Paste raw Gumroad search URLs. Each URL becomes its own search task; results are merged and deduped by product ID across all URLs. When provided, startUrls REPLACE the query/category fields (each supported URL becomes one task; unsupported URLs are skipped, and if none is supported the run stops with an input error).

## `includeDetails` (type: `boolean`):

Fetch each product's detail page for the full description, attributes, sales count and timestamps. Turn off for a faster, search-only run.

## `descriptionMaxLength` (type: `integer`):

Truncate description, descriptionText and descriptionMarkdown to N chars. 0 = no truncation. descriptionHtml is not truncated.

## `compact` (type: `boolean`):

Core fields only (for AI-agent/MCP workflows).

## `descriptionFormat` (type: `string`):

Pick a single description representation. `all` keeps every variant; `text` / `html` / `markdown` drop the others.

## `excludeEmptyFields` (type: `boolean`):

Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards.

## `scrapeReviews` (type: `boolean`):

Add each product's customer reviews (rating, text, reviewer, date, seller reply) to its row. Off by default.

## `maxReviewsPerProduct` (type: `integer`):

Most reviews to collect per product when Scrape Reviews is on. Default 20; 0 = all reviews.

## `includeSellerRecord` (type: `boolean`):

Attach the seller's profile (bio, links, website, social handles, product and rating counts) to every product row. One profile is fetched per unique seller. Off by default.

## `enrichEmails` (type: `boolean`):

Look for a public contact email in the seller's bio and on their own website. Includes the seller profile. Off by default.

## `incrementalMode` (type: `boolean`):

Compare against previous run state. stateKey is optional — defaults to a value derived from search inputs (queries, categories, sort, price range, startUrls) so different filter sets never share state.

## `stateKey` (type: `string`):

Optional. Stable identifier for the tracked search universe. Leave empty to auto-generate from search inputs.

## `skipReposts` (type: `boolean`):

When incremental, skip listings whose content matches an expired listing from a prior run (cross-run duplicate detection).

## `notifyOnlyChanges` (type: `boolean`):

When Incremental Mode is on, only send notifications for NEW and UPDATED listings. Has no effect outside incremental mode.

## `notificationLimit` (type: `integer`):

Maximum number of listings included in each notification message (1–20).

## `telegramToken` (type: `string`):

Telegram bot token (from @BotFather). Required for Telegram notifications.

## `telegramChatId` (type: `string`):

Telegram chat or channel ID (e.g. "-100123456789"). Required when telegramToken is set.

## `discordWebhookUrl` (type: `string`):

Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook.

## `slackWebhookUrl` (type: `string`):

Slack incoming webhook URL. api.slack.com/messaging/webhooks.

## `whatsappPhoneNumberId` (type: `string`):

Your WhatsApp Business phone-number ID (numeric, from Meta dashboard). Required when whatsappAccessToken is set.

## `whatsappAccessToken` (type: `string`):

WhatsApp Cloud API permanent access token (System User token from Meta Business). Recipient must have messaged the business number within the last 24h (service-conversation window — free since Nov 2024).

## `whatsappTo` (type: `string`):

Recipient phone in E.164 format without + (e.g. "436641234567"). Recipient must have messaged your business number within last 24h.

## `webhookUrl` (type: `string`):

Receives a JSON POST with {metadata, items} after each run. Universal escape hatch for n8n / Make / Zapier / custom backends.

## `webhookHeaders` (type: `object`):

Optional JSON object of custom headers (e.g. {"Authorization":"Bearer ..."}).

## `appConnector` (type: `string`):

Optional. Pick a connected app under Settings → API & Integrations to receive your results (including any contact details). Best-effort across MCP connectors as Apify expands its catalog.

## `mcpIssueTeam` (type: `string`):

Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one.

## `emitUnchanged` (type: `boolean`):

When incremental mode is on, also emit listings whose content has not changed since the last run.

## `emitExpired` (type: `boolean`):

When incremental mode is on, also emit listings that were seen before but are no longer found.

## Actor input object example

```json
{
  "query": "notion template",
  "sort": "relevance",
  "maxResults": 100,
  "startUrls": [],
  "includeDetails": true,
  "descriptionMaxLength": 0,
  "compact": false,
  "descriptionFormat": "all",
  "excludeEmptyFields": false,
  "scrapeReviews": false,
  "maxReviewsPerProduct": 20,
  "includeSellerRecord": false,
  "enrichEmails": false,
  "incrementalMode": false,
  "skipReposts": false,
  "notifyOnlyChanges": false,
  "notificationLimit": 5,
  "emitUnchanged": false,
  "emitExpired": false
}
```

# Actor output Schema

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

No description

# 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 = {
    "query": "notion template",
    "sort": "relevance",
    "maxResults": 100,
    "descriptionFormat": "all",
    "excludeEmptyFields": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/gumroad-com-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 = {
    "query": "notion template",
    "sort": "relevance",
    "maxResults": 100,
    "descriptionFormat": "all",
    "excludeEmptyFields": False,
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/gumroad-com-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 '{
  "query": "notion template",
  "sort": "relevance",
  "maxResults": 100,
  "descriptionFormat": "all",
  "excludeEmptyFields": false
}' |
apify call blackfalcondata/gumroad-com-scraper --silent --output-dataset

```

## MCP server setup

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