# ClickBank Marketplace Fast Scraper (No Browser) (`abelfeed/clickbank-marketplace-fast-api`) Actor

Fast, low-cost ClickBank Marketplace scraper using direct GraphQL requests. Extract offers, gravity, EPC, average $/sale, rank, and categories with built-in filters.

- **URL**: https://apify.com/abelfeed/clickbank-marketplace-fast-api.md
- **Developed by:** [Abelfeed](https://apify.com/abelfeed) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

## ClickBank Marketplace Fast Scraper (No Browser)

Extract complete, structured product and affiliate offer data from the public ClickBank Marketplace in seconds. Built on direct HTTP requests with zero headless browser overhead, this Actor delivers **50 offers per request** at a fraction of the cost and latency of browser-based scrapers.

### Why use this scraper?

- **No browser overhead:** runs on 128-256 MB RAM with sub-second page fetches (~1-2 seconds for 50 offers).
- **All-inclusive transparent pricing:** no hidden compute or proxy surprises - platform usage is included.
- **Complete marketplace metrics:** Gravity, BI Gravity, Rank, Initial/Average/Future/Net EPC, Avg $/Sale, Initial $/Sale, Total Rebill, Conversion Rate, Expected Return Rate, Activation Date, Supported Languages, Affiliate Tools URL, and Offer Flags (rebill, upsell, physical, dollar trial, CPA, mobile).
- **Built-in filtering & sorting:** sort natively by `rank`, `gravity`, `bi_gravity`, `popularity`, `average_epc`, `initial_epc`, `future_epc`, `net_epc`, or `conversion_rate`, and filter by keywords, category, language, recurring/rebill status, minimum gravity, or minimum average $/sale.
- **AI Agent & API ready:** clean, predictable JSON schema compatible with REST API calls, webhooks, n8n, Make, and MCP workflows.

### Input parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `includeKeywords` | string | `""` | Search keywords (leave empty for top marketplace offers). |
| `sortField` | string | `"rank"` | Native ClickBank sort order (`rank`, `gravity`, `net_epc`, `conversion_rate`, etc.). |
| `sortDescending` | boolean | `false` | `false` for Rank (#1 first), `true` for highest Gravity/EPC. |
| `categoryFilter` | string | `""` | Substring filter on category or sub-category. |
| `language` | string | `""` | Filter offers by language (`en`, `fr`, `es`, `de`, `it`, `pt`). |
| `rebillOnly` | boolean | `false` | Return only offers with recurring billing enabled. |
| `minGravity` | number | `0` | Minimum Gravity threshold. |
| `minAvgDollarsPerSale` | number | `0` | Minimum average $/sale threshold. |
| `maxResults` | integer | `20` | Maximum number of offers to extract (up to 5,000). |

### Example output

```json
{
  "vendorId": "ENREV",
  "title": "NEW : Energy Revolution System - Conversions Monster !",
  "description": "High-converting green energy offer...",
  "url": "https://theenergyrevolution.net/cb_redirect.php",
  "hoplinkTemplate": "https://YOUR_AFFILIATE_ID.ENREV.hop.clickbank.net",
  "affiliateToolsUrl": "https://theenergyrevolution.net/affiliates",
  "category": "Green Products",
  "subCategory": "Alternative Energy",
  "rank": 2,
  "gravity": 111.13,
  "biGravity": 108.4,
  "averageDollarsPerSale": 52.73,
  "initialDollarsPerSale": 49.0,
  "totalRebill": 0.0,
  "initialEPC": 52.41,
  "averageEPC": 1.85,
  "futureEPC": 0.0,
  "netEPC": 1.72,
  "conversionRate": 3.4,
  "activateDate": "2024-06-15",
  "expectedReturnRate": 4.2,
  "languages": ["en"],
  "flags": {
    "standard": true,
    "physical": false,
    "rebill": false,
    "upsell": true,
    "dollarTrial": false,
    "cpaVisible": false,
    "mobileEnabled": true
  },
  "scrapedAt": "2026-11-30T11:30:00+00:00"
}
```

### Use cases

- **Affiliate marketers & media buyers:** spot rising high-gravity or recurring offers with strong Net EPC and low refund rates.
- **Market & competitive intelligence:** track category shifts, vendor pricing, and rebill structures daily via scheduled runs.
- **Automated dashboards & AI agents:** stream structured JSON directly into Google Sheets, BigQuery, Postgres, or LLM agents via MCP.

### Legal & compliance

This Actor only extracts publicly accessible commercial product catalog metadata from the public ClickBank Marketplace. No login, cookies, or personal user data are collected.

# Actor input Schema

## `includeKeywords` (type: `string`):

Optional search keywords (e.g. 'keto', 'fitness'). Leave empty to fetch top marketplace offers.

## `sortField` (type: `string`):

ClickBank Marketplace sort field.

## `sortDescending` (type: `boolean`):

Use false for rank (1 = best), true for highest gravity, EPC, or conversion rate.

## `categoryFilter` (type: `string`):

Case-insensitive filter matching category or sub-category (e.g. 'Health', 'E-business').

## `language` (type: `string`):

Keep only offers supporting a specific language.

## `rebillOnly` (type: `boolean`):

Keep only offers with recurring billing enabled.

## `minGravity` (type: `number`):

Keep only offers with gravity >= this value.

## `minAvgDollarsPerSale` (type: `number`):

Keep only offers with averageDollarsPerSale >= this value.

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

Maximum number of offers to return.

## Actor input object example

```json
{
  "includeKeywords": "",
  "sortField": "rank",
  "sortDescending": false,
  "categoryFilter": "",
  "language": "",
  "rebillOnly": false,
  "minGravity": 0,
  "minAvgDollarsPerSale": 0,
  "maxResults": 20
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `items` (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 = {
    "includeKeywords": "",
    "sortField": "rank",
    "sortDescending": false,
    "categoryFilter": "",
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("abelfeed/clickbank-marketplace-fast-api").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 = {
    "includeKeywords": "",
    "sortField": "rank",
    "sortDescending": False,
    "categoryFilter": "",
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("abelfeed/clickbank-marketplace-fast-api").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 '{
  "includeKeywords": "",
  "sortField": "rank",
  "sortDescending": false,
  "categoryFilter": "",
  "maxResults": 20
}' |
apify call abelfeed/clickbank-marketplace-fast-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,abelfeed/clickbank-marketplace-fast-api"
        }
    }
}
```

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/m4mrCezPrr7nm5dtY/builds/hokzthua4BPeQrBOW/openapi.json
